Browse Source

服务增加功能填入项

pull/11/head
zq 3 months ago
parent
commit
ecac3e3611
  1. 10
      home.html
  2. 9
      style/js/index.js

10
home.html

@ -158,8 +158,8 @@
<form action="" class="my_form"> <form action="" class="my_form">
<div class="formOne opt-block"> <div class="formOne opt-block">
<input id="htmlconfig" type="hidden" content_min_limit="0" <input id="htmlconfig" type="hidden" content_min_limit="0"
support_table_formula_types="61,84,93,94" support_titleMore="85,81,94" support_table_formula_types="61,84,93,94" support_titleMore="85,81,94" support_core="81,85,62,63,97"
support_edu="63,96,82,94" support_pro="82,94" support_pro="94,63"> support_edu="63,62,81,96,82,94" support_pro="62,63,81,82,94" support_pro="94,63">
<input value="3000,5000,8000,10000,15000,20000" type="hidden" id="word_list_str94"> <input value="3000,5000,8000,10000,15000,20000" type="hidden" id="word_list_str94">
<input type="hidden" id="cur_title" value=""> <input type="hidden" id="cur_title" value="">
<input type="hidden" id="cur_title_type" value="0"> <input type="hidden" id="cur_title_type" value="0">
@ -252,7 +252,7 @@
<div class="formItem formItem_pro"> <div class="formItem formItem_pro">
<div class="formLeft"> <div class="formLeft">
选择学历 选择学历
<img class="requiredIcon" src="{$priv_style}/img/required_icon.svg" alt=""> <!-- <img class="requiredIcon" src="{$priv_style}/img/required_icon.svg" alt=""> -->
</div> </div>
<div class="formRight educationRight" id="educationRight"> <div class="formRight educationRight" id="educationRight">
<div class="education"> <div class="education">
@ -334,7 +334,7 @@
<p>将在所生成范文的随机位置插入所选项</p> <p>将在所生成范文的随机位置插入所选项</p>
</div> </div>
</div> </div>
<div class="formItem coreContent " style="display: none;"> <div class="formItem coreContent disNone" >
<div class="formLeft">核心内容</div> <div class="formLeft">核心内容</div>
<div class="formRight textAreaRight"> <div class="formRight textAreaRight">
<textarea name="coreContent" class="coreWordCount" id="coreTextarea" maxlength="200" <textarea name="coreContent" class="coreWordCount" id="coreTextarea" maxlength="200"
@ -464,7 +464,7 @@
$('#edu2').prop('checked', true); $('#edu2').prop('checked', true);
$('#table_and_formulas3').prop('checked', true); $('#table_and_formulas3').prop('checked', true);
$('#table_and_formulas4').prop('checked', true); $('#table_and_formulas4').prop('checked', true);
$('.coreContent').hide() // $('.coreContent').hide()
$('.btn_result_now').hide() $('.btn_result_now').hide()
}); });
}); });

9
style/js/index.js

@ -72,7 +72,7 @@ $(document).ready(function() {
var checkTypeList={ var checkTypeList={
'94':'毕业论文', '94':'毕业论文',
'81':'课程论文', '81':'课程论文',
'85':'职称论文', // '85':'职称论文',
'97':'期刊范文', '97':'期刊范文',
'62':'开题报告', '62':'开题报告',
'64':'论文选题', '64':'论文选题',
@ -1071,10 +1071,10 @@ $(document).ready(function() {
$('.opt-advise').show() $('.opt-advise').show()
} }
if (['81','85'].indexOf(t) !== -1) {// if (['81','85'].indexOf(t) !== -1) {//
$('.coreContent').show(); // $('.coreContent').show();
$('#charCount').html('0/200') $('#charCount').html('0/200')
} else{ } else{
$('.coreContent').hide(); // $('.coreContent').hide();
} }
if(t == '62' ||t == '63'){ if(t == '62' ||t == '63'){
setInputText_length('500') setInputText_length('500')
@ -1093,7 +1093,7 @@ $(document).ready(function() {
$('#formInputSumbtn').html('立即生成') $('#formInputSumbtn').html('立即生成')
} }
if(t == '97'){ if(t == '97'){
setDomShow(['.form_essayWords','.coreContent']) setDomShow(['.form_essayWords'])
var wordsData = allAiServicesData[check_type]['word_count_list']; var wordsData = allAiServicesData[check_type]['word_count_list'];
renderWordsHtml(wordsData) renderWordsHtml(wordsData)
setInputText_length('100') setInputText_length('100')
@ -1114,6 +1114,7 @@ $(document).ready(function() {
changeLiActive(t,'support_titleMore','.normal_recommend_title')// 标题优化 changeLiActive(t,'support_titleMore','.normal_recommend_title')// 标题优化
changeLiActive(t,'support_pro','.custom-dropdown')// 专业优化 changeLiActive(t,'support_pro','.custom-dropdown')// 专业优化
changeLiActive(t,'support_edu','.formItem_pro')// 学历优化 changeLiActive(t,'support_edu','.formItem_pro')// 学历优化
changeLiActive(t,'support_core','.coreContent')// 学历优化
window.scrollTo({ top: 200, behavior: 'smooth' }) window.scrollTo({ top: 200, behavior: 'smooth' })
// if($('.custom-dropdown').hasClass('disNone') && $('.opt-advise').hasClass('disNone')){} // if($('.custom-dropdown').hasClass('disNone') && $('.opt-advise').hasClass('disNone')){}
}); });

Loading…
Cancel
Save