xuhy
2023-05-17 566c44cc5712ab9c997424ee5a5438e0a81a016e
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>