From b9b49dd7737e32147d360e559648dac72bc672b5 Mon Sep 17 00:00:00 2001
From: zq <136432190602163.com>
Date: Wed, 12 Feb 2025 17:16:03 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E8=AE=BA=E6=96=87=E5=A2=9E?=
 =?UTF-8?q?=E5=8A=A0=E5=AD=97=E6=95=B0=E9=80=89=E6=8B=A9=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 home.html         |  4 ++--
 style/js/index.js | 18 ++++++++++++------
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/home.html b/home.html
index bd5d098..c30df66 100644
--- a/home.html
+++ b/home.html
@@ -293,7 +293,7 @@
                         <div class="formItem form_essayWords">
                             <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 words_content" id="textLength">
                             </div>
@@ -1187,7 +1187,7 @@
     </div>
 
     {$access_stats_code}
-    <script src="{$priv_style}/js/index.js?v=1105"></script>
+    <script src="{$priv_style}/js/index.js?v=1106"></script>
 </body>
 
 </html>
\ No newline at end of file
diff --git a/style/js/index.js b/style/js/index.js
index 2784c36..7e170fd 100644
--- a/style/js/index.js
+++ b/style/js/index.js
@@ -178,7 +178,9 @@ $(document).ready(function() {
     $('#educationRight').on('click', '.education input', function () {
         $('#educationRight .education').removeClass('edu_active_select');
         $(this).parent().addClass('edu_active_select');
-        getCurWordsCount()
+        if(check_type == '94'){
+            getCurWordsCount()
+        }
     })
     //首页增值服务相关展示
     let servicedsHtml = ''
@@ -721,8 +723,10 @@ $(document).ready(function() {
         if ($('.form_essayWords').css('display') !== 'none') {
             var wordnums = parseInt($('input[type="radio"][name="wordnums"]:checked').val());
             if (wordnums <= 0 || isNaN(wordnums)) {
-                alert("请选择您的字数");
-                return;
+                if(check_type!= '81'){
+                    alert("请选择您的字数");
+                    return;
+                }
             }
             postData.aiessay_wordnum = wordnums;
         }
@@ -1094,11 +1098,13 @@ $(document).ready(function() {
             $('.form_pptItem').hide()
             $('#formInputSumbtn').html('立即生成')
         }
-        if(t == '97'){
+        if(t == '97' || t == '81'){
             setDomShow(['.form_essayWords'])
             var wordsData = allAiServicesData[check_type]['word_count_list'];
             renderWordsHtml(wordsData)
-            setInputText_length('100')
+            if(t == '97'){
+                setInputText_length('100')
+            }
         }
         // else{
         //     setDomHide(['.form_essayWords','.coreContent'])
@@ -1116,7 +1122,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')// 学历优化
+        changeLiActive(t,'support_core','.coreContent')// 核心内容优化
         window.scrollTo({ top: 200, behavior: 'smooth' })
         // if($('.custom-dropdown').hasClass('disNone') && $('.opt-advise').hasClass('disNone')){}
     });
-- 
1.8.3.1