|
@@ -35,48 +35,6 @@
|
|
|
</div>
|
|
|
|
|
|
|
|
|
- <div class="layui-form-item layui-row layui-col-space15">
|
|
|
- <label class="layui-col-xs9 relative">
|
|
|
- <span class="color-green">分类</span>
|
|
|
- </label>
|
|
|
- <div class="layui-inline" style="top: -15px;margin-bottom: -25px">
|
|
|
- <div class="layui-input-inline">
|
|
|
- <select name="first_classify" lay-filter ="first_classify">
|
|
|
- <option value="0">请选择</option>
|
|
|
- {if !empty($cate_tree)}
|
|
|
- {foreach $cate_tree as $ck=>$cv}
|
|
|
- {if isset($vo.first_classify) && $vo.first_classify == $cv['id'] }
|
|
|
- <option selected data-cl_key="{$ck}" value="{$cv['id']}">{$cv['title']}</option>
|
|
|
- {else}
|
|
|
- <option data-cl_key="{$ck}" value="{$cv['id']}">{$cv['title']}</option>
|
|
|
- {/if}
|
|
|
- {/foreach}
|
|
|
- {/if}
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <div class="layui-input-inline">
|
|
|
- <select name="second_classify" lay-filter ="second_classify">
|
|
|
- <option value="0">请选择</option>
|
|
|
- {if !empty($cate_tree)}
|
|
|
- {foreach $cate_tree as $ck=>$cv}
|
|
|
- {if isset($vo.first_classify) && $vo.first_classify == $cv['id'] }
|
|
|
- {if isset($cv['children'])}
|
|
|
- {foreach $cv['children'] as $cln}
|
|
|
- {if isset($vo.second_classify) && $vo.second_classify == $cln['id'] }
|
|
|
- <option selected value="{$cln['id']}">{$cln['title']}</option>
|
|
|
- {else}
|
|
|
- <option value="{$cln['id']}">{$cln['title']}</option>
|
|
|
- {/if}
|
|
|
- {/foreach}
|
|
|
- {/if}
|
|
|
- {/if}
|
|
|
- {/foreach}
|
|
|
- {/if}
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
|
|
|
<div class="layui-form-item layui-row layui-col-space15">
|
|
|
<label class="layui-col-xs9 relative">
|