{extend name="admin/base" /} {block name="resources"/}
{/block} {block name="right_tab"}
- 添加商品分类
{/block} {block name="main"}

| 排序 | 商品分类 | 商品分类简称 | 关联类型 | 是否显示 | 操作
--- | --- | --- | --- | --- | --- | ---
{foreach name="category_list" item="v1"}
{if condition="$v1['child_list'] neq array()"} {/if} |  |  |  | {$v1['attr_name']} | {$v1['is_visible'] ? '是' : '否'} | 修改 删除
{foreach name="v1['child_list']" item="v2"}
{if condition="$v2['child_list'] neq array()"} {/if} |  | |—— |  | {$v2['attr_name']} | {$v2['is_visible'] ? '是' : '否'} | 修改 删除
{foreach name="v2['child_list']" item="v3"}
|  | |—— |  | {$v3['attr_name']} | {$v3['is_visible'] ? '是' : '否'} | 修改 删除
{/foreach} {/foreach} {/foreach}

{/block} {block name="script"}
{/block}