mitao
2025-04-01 f6c489c55260a130aa540559f57f6369c0bf54c3
cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_imgAll.html
@@ -28,6 +28,9 @@
            <input hidden id="s8" value="${c8.isOpen}">
            @}
            <input hidden id="s9" value="${worldCupStores}">
            @if(c10!=null){
            <input hidden id="s10" value="${c10.isOpen}">
            @}
            <div class="row">
                <div class="col-lg-6" style="">
                    <div class="form-group" style="margin-left: 96px">
@@ -265,7 +268,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="r10" value="1">开启 <input type="radio" name="r10" value="0">关闭
                        </label>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">排序:</label>
                        <div class="col-sm-9">
                            @if(c10==null){
                            <input class="form-control"  style="width: 200px;"  type="text" id="px10" value="">
                            @}
                            @if(c10!=null){
                            <input class="form-control"  style="width: 200px;"  type="text" id="px10" value="${c10.sort}">
                            @}
                        </div>
                    </div>
                    @if(c10==null){
                    <#avatar id="c10" name="背景图" />
                    @}
                    @if(c10!=null){
                    <#avatar id="c10" name="背景图" avatarImg="${c10.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"/>
@@ -339,7 +368,12 @@
                OBJradio[i].checked=true//修改选中状态
            }
        }
        var OBJradio=document.getElementsByName("r10")
        for(i=0;i<OBJradio.length;i++){//循环查找这个radio
            if($("#s10").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