{php} $sortUrl = url('manager.category/sort'); $delUrl = url('manager.category/del'); {/php} {layout name="manager/layout" /}
{if $power_add}
新增栏目
{/if}
{empty name="items"} 无记录 {else /} {foreach $items as $item} {if isset($item['children'])} {/if} {/foreach}
封面 栏目 类型 前台展示 列表页模板 详情页模板 每页数量 操作
{if !empty($item['src']) && file_exists('.' . $item['src'])} {/if} {$item.title} {$item.modelName} {$item.state?'是':'否'} {$item.template_list??''} {$item.template_detail??''} {$item.number}
{foreach $item['children'] as $child} {/foreach}
{if !empty($child['src']) && file_exists('.' . $child['src'])} {/if} {$child.title} {$child.modelName} {$child.state?'是':'否'} {$child.template_list??''} {$child.template_detail??''} {$child.number}
{if isset($child['children']) && !empty($child['children'])} {foreach $child['children'] as $c} {/foreach} {/if}
{if !empty($c['src']) && file_exists('.' . $c['src'])} {/if} {$c.title} {$c.modelName} {$c.state?'是':'否'} {$c.template_list??''} {$c.template_detail??''} {$c.number}
{/empty}