Browse Source

修改表单样式

Anyon 3 years ago
parent
commit
abac876111
2 changed files with 8 additions and 8 deletions
  1. 4 4
      app/wechat/view/auto/form.html
  2. 4 4
      app/wechat/view/keys/form.html

+ 4 - 4
app/wechat/view/auto/form.html

@@ -54,9 +54,9 @@
                             {foreach ['1'=>'启用','0'=>'禁用'] as $k=>$v}
                             <label class="think-radio">
                                 <!--{if (!isset($vo.status) and $k eq '1') or (isset($vo.status) and $vo.status eq $k)}-->
-                                <input type="radio" checked name="status" value="{$k}"> {$v}
+                                <input type="radio" checked name="status" value="{$k}" lay-ignore> {$v}
                                 <!--{else}-->
-                                <input type="radio" name="status" value="{$k}"> {$v}
+                                <input type="radio" name="status" value="{$k}" lay-ignore> {$v}
                                 <!--{/if}-->
                             </label>
                             {/foreach}
@@ -69,9 +69,9 @@
                             {foreach $types as $k=>$v}
                             <label class="think-radio">
                                 <!--{if (!isset($vo.type) and $k eq 'text') or (isset($vo.type) and$vo.type eq $k)}-->
-                                <input name="type" checked type="radio" value="{$k}"> {$v}
+                                <input name="type" checked type="radio" value="{$k}" lay-ignore> {$v}
                                 <!--{else}-->
-                                <input name="type" type="radio" value="{$k}"> {$v}
+                                <input name="type" type="radio" value="{$k}" lay-ignore> {$v}
                                 <!--{/if}-->
                             </label>
                             {/foreach}

+ 4 - 4
app/wechat/view/keys/form.html

@@ -55,9 +55,9 @@
                             {foreach ['1'=>'启用','0'=>'禁用'] as $k=>$v}
                             <label class="think-radio">
                                 <!--{if (!isset($vo.status) and $k eq '1') or (isset($vo.status) and $vo.status eq $k)}-->
-                                <input type="radio" checked name="status" value="{$k}"> {$v}
+                                <input type="radio" checked name="status" value="{$k}" lay-ignore> {$v}
                                 <!--{else}-->
-                                <input type="radio" name="status" value="{$k}"> {$v}
+                                <input type="radio" name="status" value="{$k}" lay-ignore> {$v}
                                 <!--{/if}-->
                             </label>
                             {/foreach}
@@ -70,9 +70,9 @@
                             {foreach $types as $k=>$v}
                             <label class="think-radio">
                                 <!--{if (!isset($vo.type) and $k eq 'text') or (isset($vo.type) and$vo.type eq $k)}-->
-                                <input name="type" checked type="radio" value="{$k}"> {$v}
+                                <input name="type" checked type="radio" value="{$k}" lay-ignore> {$v}
                                 <!--{else}-->
-                                <input name="type" type="radio" value="{$k}"> {$v}
+                                <input name="type" type="radio" value="{$k}" lay-ignore> {$v}
                                 <!--{/if}-->
                             </label>
                             {/foreach}