|
@@ -55,16 +55,18 @@
|
|
|
<label class="layui-col-xs12 relative">
|
|
|
<span class="color-green" required>类别</span>
|
|
|
<div id="cate" lay-filter="cate">
|
|
|
- {if !isset($vo.id)}
|
|
|
- {foreach $catelist as $key=>$v}
|
|
|
- <input type="radio" name="cate" value="{$v.id}" lay-filter="cate" title="{$v.name}">
|
|
|
- {/foreach}
|
|
|
-
|
|
|
- {else}
|
|
|
- {foreach $catelist as $key=>$v}
|
|
|
- <input type="radio" lay-filter="cate" name="cate" {if $v.id eq $vo.cate}checked{/if} value="{$v.id}" title="{$v.name}">
|
|
|
- {/foreach}
|
|
|
- {/if}
|
|
|
+ <input type="radio" name="cate" value="3" lay-filter="cate" title="123">-->
|
|
|
+ <input type="radio" name="cate" value="4" lay-filter="cate" title="456">-->
|
|
|
+
|
|
|
+ <!-- {if !isset($vo.id)}-->
|
|
|
+<!-- {foreach $catelist as $key=>$v}-->
|
|
|
+<!-- <input type="radio" name="cate" value="{$v.id}" lay-filter="cate" title="{$v.name}">-->
|
|
|
+<!-- {/foreach}-->
|
|
|
+<!-- {else}-->
|
|
|
+<!-- {foreach $catelist as $key=>$v}-->
|
|
|
+<!-- <input type="radio" lay-filter="cate" name="cate" {if $v.id eq $vo.cate}checked{/if} value="{$v.id}" title="{$v.name}">-->
|
|
|
+<!-- {/foreach}-->
|
|
|
+<!-- {/if}-->
|
|
|
</div>
|
|
|
</label>
|
|
|
</div>
|