From a15dc7f737c48073d11c4c5676f273d536534ad1 Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Fri, 7 Feb 2025 16:37:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=8D=E5=8A=A1=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=8F=8A=E9=80=89=E6=8B=A9ppt=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home.html | 51 +++++++++++++++++++++++++--------------------- style/img/kaitibaogao.png | Bin 0 -> 1320 bytes style/js/index.js | 42 ++++++++++++++++++++++++++------------ 3 files changed, 57 insertions(+), 36 deletions(-) create mode 100644 style/img/kaitibaogao.png diff --git a/home.html b/home.html index e8df747..b92621e 100644 --- a/home.html +++ b/home.html @@ -109,13 +109,18 @@ 专升本计划书 --> -
  • + +
  • + + 期刊范文 +
  • - + 开题报告
  • @@ -285,26 +290,6 @@ placeholder="请输入相关的辅助信息,帮助论文生成的更加准确!(非必填)"> -
    论文字数 @@ -349,6 +334,26 @@

    将在所生成范文的随机位置插入所选项

    + {$access_stats_code} - + \ No newline at end of file diff --git a/style/img/kaitibaogao.png b/style/img/kaitibaogao.png new file mode 100644 index 0000000000000000000000000000000000000000..e27686f1fc9a5528529082b0689200629d99c222 GIT binary patch literal 1320 zcmV+@1=sqCP)Px#1am@3R0s$N2z&@+hyVZt(n&-?R9J+CAej+qHi1c$FeaAt73I$Y8_&EpQ-6Vj3InhpyEvJ8LkMTI@ zxMuWQ;%moy$v8kE$-FlTl78$mi?1cwr+|u}kV>(W#+@Y+(@HQ(0!cV0BSmS;&Y*ek z&1=eNq6lN_X(PP=Vq7KX8{GrNa`61% zZ?v%t)kUOO4nWlJBYWOP@BNOpA0nl3WOx_4c74+-3nEY$hN&aq)}i)q5P{Yz%>4+B zWoT8vts#?#k@0D0Rj^+80GT)dLzCc?V0;?f2I_A>VFYcjftrZ9WY0+x+T9D7uoSL zq8?hi6P=>$8UXUcu=g0W9->!H!`h8NKffh#Lad5Q+p%UoMQ>lgESwJjmd257`;oC} zWa>4fG#=!5at8O0&r!FQS%jkJ-isn*Ih`Y?ons@g{duS_L2I?sQ~)an#Zk0f1@!`O z@xG87g8T>+%V={2ZLJXY5W8GI;@GCmhTf8y?^i_6oz!lAHW@PU_1Kfa0%y$c=of^0}ep7EAlWzHn19LE?H6e$Ji{^wf(|1Y z8pqyu63Gpr#=~DYi>c11+HktJWTYUh&OvG+>~u1`8*6NT*OyKl#;?xDktS}@$vWr( z&|UCbU_7v#v=*SP)h-LOb{+rbY%s!&i+}e*-@%pYnkfKbQ8kwF|NH`mry{7~9^>Ix zu0>$n8s3d_$?EUuYiys!Q_x2okTw#$vFQ3DtS_cVYW#VVd61p!MD_a#?;@TBoXL2H z>u%1Ta3RBFr%S#qrJQ3q-a_2E`g+x|jXCAp7Ag|Fo)3Bt=-cVyx)F2B@fLE$=Eab? e`g*n6=Inot2iNN-^#LgW0000{ - html1 += `
    - -
    - -
    ` - }) - $('.words_content').html(html1) + renderWordsHtml(wordsData[edu]) } } + function renderWordsHtml(data){ + var html1 = '' + data.forEach(item=>{ + html1 += `
    + +
    + +
    ` + }) + $('.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() })