|
|
@ -73,6 +73,7 @@ $(document).ready(function() { |
|
|
|
'94':'毕业论文', |
|
|
|
'81':'课程论文', |
|
|
|
'85':'职称论文', |
|
|
|
'97':'期刊范文', |
|
|
|
'62':'开题报告', |
|
|
|
'64':'论文选题', |
|
|
|
'91':'文献综述', |
|
|
@ -155,8 +156,12 @@ $(document).ready(function() { |
|
|
|
if(wordsData){ |
|
|
|
var edu = parseInt($('#educationRight').find('.edu_active_select input').val()); |
|
|
|
// var edu1 = parseInt($('#educationRight').find('input[type="radio"]:checked').val());
|
|
|
|
renderWordsHtml(wordsData[edu]) |
|
|
|
} |
|
|
|
} |
|
|
|
function renderWordsHtml(data){ |
|
|
|
var html1 = '' |
|
|
|
wordsData[edu].forEach(item=>{ |
|
|
|
data.forEach(item=>{ |
|
|
|
html1 += ` <div class="essayWords">
|
|
|
|
<input value="`+ item +`" type="radio" name="wordnums" > |
|
|
|
<div></div> |
|
|
@ -165,7 +170,6 @@ $(document).ready(function() { |
|
|
|
}) |
|
|
|
$('.words_content').html(html1) |
|
|
|
} |
|
|
|
} |
|
|
|
$('.words_content').on('click', '.essayWords input', function () { |
|
|
|
$('.words_content .essayWords').removeClass('essayWords_active'); |
|
|
|
$(this).parent().addClass('essayWords_active'); |
|
|
@ -715,6 +719,7 @@ $(document).ready(function() { |
|
|
|
alert("请选择您的字数"); |
|
|
|
return; |
|
|
|
} |
|
|
|
postData.aiessay_wordnum = wordnums; |
|
|
|
} |
|
|
|
if(check_type == '96'){ |
|
|
|
if (!old_parent_ppt) { |
|
|
@ -795,7 +800,7 @@ $(document).ready(function() { |
|
|
|
...postData |
|
|
|
}, |
|
|
|
success: function (res) { |
|
|
|
if(res.data.user_not_enough_money) { |
|
|
|
if(res.data && res.data.user_not_enough_money) { |
|
|
|
if(check_type !== '94' && check_type !== '82'){ |
|
|
|
if(isPayDialog){ |
|
|
|
$('.pageMask').addClass('hide'); |
|
|
@ -818,6 +823,8 @@ $(document).ready(function() { |
|
|
|
getRechargePayUrl() |
|
|
|
// getRechargeGoods(payInfo, configData);
|
|
|
|
} |
|
|
|
}else{ |
|
|
|
alert(res.info) |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
@ -1042,7 +1049,7 @@ $(document).ready(function() { |
|
|
|
$('.normal_step3').removeClass('step_three') |
|
|
|
$('.payModal_main').html('') |
|
|
|
$('.pay_complete_main').html(payhtml) |
|
|
|
getWordsCount() |
|
|
|
getCurWordsCount() |
|
|
|
}else{ |
|
|
|
setDomHide(['[step="3"]','.btn_result','.step_two','.btn_mast']) |
|
|
|
setDomShow(['[step="2"]','.btn_result_now']) |
|
|
@ -1082,6 +1089,15 @@ $(document).ready(function() { |
|
|
|
$('.form_pptItem').hide() |
|
|
|
$('#formInputSumbtn').html('立即生成') |
|
|
|
} |
|
|
|
if(t == '97'){ |
|
|
|
setDomShow(['.form_essayWords','.coreContent']) |
|
|
|
var wordsData = allAiServicesData[check_type]['word_count_list']; |
|
|
|
renderWordsHtml(wordsData) |
|
|
|
setInputText_length('100') |
|
|
|
} |
|
|
|
// else{
|
|
|
|
// setDomHide(['.form_essayWords','.coreContent'])
|
|
|
|
// }
|
|
|
|
// $("#downdemo").attr('href', '/downreportdemo/type/'+t);
|
|
|
|
//图表公式
|
|
|
|
var table_formula_types = getTableFormulaTypes('support_table_formula_types'); |
|
|
@ -1172,7 +1188,7 @@ $(document).ready(function() { |
|
|
|
}) |
|
|
|
$('.gallery').html(html); |
|
|
|
$('.gallery_img').eq(child_ppt).addClass('ppt_child_active'); |
|
|
|
$('.look_backImg').attr('src',pptUrlList[new_parent_ppt]['bgurl']) |
|
|
|
$('.look_backImg').attr('src',pptUrlList[key]['bgurl']) |
|
|
|
setBackImgUrl(childList[child_ppt],true) |
|
|
|
} |
|
|
|
} |
|
|
@ -1242,12 +1258,12 @@ $(document).ready(function() { |
|
|
|
if ($('.form_pptItem').css('display') == 'none') { |
|
|
|
add_ppt=new_parent_ppt; |
|
|
|
$('#cur_ppt_selectName').html(pptUrlList[add_ppt]['name']) |
|
|
|
payAction() |
|
|
|
}else{ |
|
|
|
old_parent_ppt = new_parent_ppt; |
|
|
|
setPagePPT_active(new_parent_ppt) |
|
|
|
} |
|
|
|
$('.look_PPT_modal').addClass('hide') |
|
|
|
payAction() |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|