|
@@ -56,12 +56,11 @@
|
|
|
<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}
|
|
|
</div>
|
|
|
</label>
|