From 566c44cc5712ab9c997424ee5a5438e0a81a016e Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 17 五月 2023 18:49:38 +0800
Subject: [PATCH] BUG修改

---
 management/guns-admin/src/main/webapp/WEB-INF/view/system/tCommercial/tCommercial_add.html |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tCommercial/tCommercial_add.html b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tCommercial/tCommercial_add.html
index a4c010c..5c21d93 100644
--- a/management/guns-admin/src/main/webapp/WEB-INF/view/system/tCommercial/tCommercial_add.html
+++ b/management/guns-admin/src/main/webapp/WEB-INF/view/system/tCommercial/tCommercial_add.html
@@ -90,7 +90,7 @@
                                     <input id="sort" name="sort" type="number" style="height: 30px" maxlength="4"  placeholder="请输入排序" required="required">
                                 </div>
                             </div>
-                            <div class="initialLevel col-sm-12 control-label form-group"  >
+                            <div class="initialLevel col-sm-12 control-label form-group" id="detailContent" >
                                 <div class="initialLevel col-sm-6 control-label form-group"  >
                                     <span style="color:red">*</span>
                                     <label class="control-label" >详情内容:&emsp;</label>
@@ -125,10 +125,12 @@
         if(this.value == 1){
             $("#jumpTypeIsShow").show()
             $("#jumpUrlIsShow").show()
+            $("#detailContent").show()
         }
         if(this.value == 0){
             $("#jumpTypeIsShow").hide()
             $("#jumpUrlIsShow").hide()
+            $("#detailContent").hide()
         }
     })
     //监听下拉菜单的变动操作
@@ -144,9 +146,11 @@
     $("#jumpType").change(function(){
         if(this.value == 1){
             $("#jumpUrlIsShow").hide()
+            $("#detailContent").show()
         }
         if(this.value == 2){
             $("#jumpUrlIsShow").show()
+            $("#detailContent").hide()
         }
     })
 </script>

--
Gitblit v1.7.1