Browse Source

Merge pull request 'zq-1224-ppt' (#11) from zq-1224-ppt into master

Reviewed-on: #11
pull/13/head
zhangqi 3 months ago
parent
commit
83e9231e50
  1. 16
      home.html
  2. 11
      style/js/index.js

16
home.html

@ -116,7 +116,7 @@
</li> -->
<li type="97" check_flag='aiqikan'>
<img src="{$priv_style}/img/zhichenglunwen.png" alt="" class="li_icon">
<span>期刊范</span>
<span>职称论</span>
<img src="{$priv_style}/img/select_icon.svg" alt="" class="select_icon">
</li>
<li type="62" check_flag="aiktbg">
@ -158,8 +158,8 @@
<form action="" class="my_form">
<div class="formOne opt-block">
<input id="htmlconfig" type="hidden" content_min_limit="0"
support_table_formula_types="61,84,93,94" support_titleMore="85,81,94"
support_edu="63,96,82,94" support_pro="82,94" support_pro="94,63">
support_table_formula_types="61,84,93,94" support_titleMore="85,81,94" support_core="81,85,62,63,97"
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 type="hidden" id="cur_title" value="">
<input type="hidden" id="cur_title_type" value="0">
@ -252,7 +252,7 @@
<div class="formItem formItem_pro">
<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 class="formRight educationRight" id="educationRight">
<div class="education">
@ -334,13 +334,13 @@
<p>将在所生成范文的随机位置插入所选项</p>
</div>
</div>
<div class="formItem coreContent " style="display: none;">
<div class="formItem coreContent disNone" >
<div class="formLeft">核心内容</div>
<div class="formRight textAreaRight">
<textarea name="coreContent" class="coreWordCount" id="coreTextarea" maxlength="200"
placeholder="请写出需要在论文中包含的要点。"></textarea>
<div id="charCount" class="char-count">0/200</div>
<!-- {literal} -->
{literal}
<script>
const maxLength = 200; // 设置最大字数限制
$('#coreTextarea').on('input', function () {
@ -351,7 +351,7 @@
}
});
</script>
<!-- {/literal} -->
{/literal}
</div>
</div>
<div class="form_pptItem " style="display: none;">
@ -464,7 +464,7 @@
$('#edu2').prop('checked', true);
$('#table_and_formulas3').prop('checked', true);
$('#table_and_formulas4').prop('checked', true);
$('.coreContent').hide()
// $('.coreContent').hide()
$('.btn_result_now').hide()
});
});

11
style/js/index.js

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

Loading…
Cancel
Save