wupengfei 1 年間 前
コミット
3a44bcf7d2
2 ファイル変更15 行追加28 行削除
  1. 1 1
      .idea/workspace.xml
  2. 14 27
      application/admin/view/official/platform-set.html

+ 1 - 1
.idea/workspace.xml

@@ -365,7 +365,7 @@
       <workItem from="1688455154865" duration="9184000" />
       <workItem from="1688518183305" duration="6273000" />
       <workItem from="1688604602203" duration="6094000" />
-      <workItem from="1688693622642" duration="10613000" />
+      <workItem from="1688693622642" duration="11256000" />
     </task>
     <servers />
   </component>

+ 14 - 27
application/admin/view/official/platform-set.html

@@ -18,33 +18,20 @@
             </select>
         </label>
 
-        <div class="layui-form-item layui-row layui-col-space15">
-            <label class="layui-col-xs2 relative">
-                <span class="color-green">注销开关<input checked type="radio"  style="display:none !important;" hidden readonly name=""  value="" lay-ignore></span>
-                <div>
-                    {if sysconf("logout_switch") eq 1}
-                    <input checked type="radio"  name="logout_switch"  value="1" title="开">
-                    <input  type="radio" name="logout_switch"  value="0" title="关">
-                    {else/}
-                    <input  type="radio"  name="logout_switch"  value="1" title="开">
-                    <input checked type="radio" name="logout_switch"  value="0" title="关">
-                    {/if}
-                </div>
-            </label>
-            <label class="layui-col-xs2 relative">
-                <span class="color-green">会员等级开关<input checked type="radio"  style="display:none !important;" hidden readonly name=""  value="" lay-ignore></span>
-                <div>
-                    {if sysconf("level_switch") eq 1}
-                    <input checked type="radio"  name="level_switch"  value="1" title="开">
-                    <input  type="radio" name="level_switch"  value="0" title="关">
-                    {else/}
-                    <input  type="radio"  name="level_switch"  value="1" title="开">
-                    <input checked type="radio" name="level_switch"  value="0" title="关">
-                    {/if}
-                </div>
-            </label>
-        </div>
-
+        <label class="layui-form-item block relative">
+            <span class="color-green margin-right-10">注销开关</span><span class="nowrap color-desc">LogoutSwitch</span>
+            <select name="logout_switch" class="layui-select">
+                <option value="0" >关闭</option>
+                <option value="1" {if sysconf("logout_switch") eq 1}selected{/if}>开启</option>
+            </select>
+        </label>
+        <label class="layui-form-item block relative">
+            <span class="color-green margin-right-10">会员等级开关</span><span class="nowrap color-desc">LevelSwitch</span>
+            <select name="level_switch" class="layui-select">
+                <option value="0" >关闭</option>
+                <option value="1" {if sysconf("level_switch") eq 1}selected{/if}>开启</option>
+            </select>
+        </label>
 
         <label class="layui-form-item block relative">
             <span class="color-green margin-right-10">平台名称</span><span class="nowrap color-desc">AppName</span>