无关风月
13 小时以前 4c9035836c18886883d3f69d8443c53d15b068fc
cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_imgAll.html
@@ -31,6 +31,9 @@
            @if(c10!=null){
            <input hidden id="s10" value="${c10.isOpen}">
            @}
            @if(c11!=null){
            <input hidden id="s11" value="${c11.isOpen}">
            @}
            <div class="row">
                <div class="col-lg-6" style="">
                    <div class="form-group" style="margin-left: 96px">
@@ -295,6 +298,33 @@
                    @}
                </div>
            </div>
            <div style="font-size: x-large;">会员卡板块</div>
            <div class="form-group">
                <div class="col-lg-6" style="">
                    <div class="form-group" style="margin-left: 96px">
                        <label class="col-sm-3 control-label" >
                            会员卡:<input type="radio" name="r11" value="1">开启 <input type="radio" name="r11" value="0">关闭
                        </label>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">排序:</label>
                        <div class="col-sm-9">
                            @if(c11==null){
                            <input class="form-control"  style="width: 200px;"  type="text" id="px11" value="">
                            @}
                            @if(c11!=null){
                            <input class="form-control"  style="width: 200px;"  type="text" id="px11" value="${c11.sort}">
                            @}
                        </div>
                    </div>
                    @if(c11==null){
                    <#avatar id="c111" name="背景图" />
                    @}
                    @if(c11!=null){
                    <#avatar id="c111" name="背景图" avatarImg="${c11.backgroundImage}"/>
                    @}
                </div>
            </div>
            <div style="font-size: x-large;">首页其他板块设置</div>
            <#button name="添加" icon="fa-plus" clickFun="TCompetition.openAddTCompetition(id)"/>
            <#button name="编辑" icon="fa-edit" clickFun="TCompetition.openTCompetitionDetail1()" space="true"/>
@@ -374,6 +404,12 @@
                OBJradio[i].checked=true//修改选中状态
            }
        }
        var OBJradio=document.getElementsByName("r11")
        for(i=0;i<OBJradio.length;i++){//循环查找这个radio
            if($("#s11").val()==OBJradio[i].value){//判断是否与radio的值相同
                OBJradio[i].checked=true//修改选中状态
            }
        }
        // for (let i = 0; i < $('input[name="isOpen"]').length; i++) {
        //     var OBJradio=document.getElementsByName("r9")
        //     for(i=0;i<OBJradio.length;i++){//循环查找这个radio