{include file='ebcms@common/header' /}
{php} $cate = \think\Db::name('extend') -> find(input('id')); $data = \think\Db::name('extendfield') -> where('category_id',input('id')) -> order('sort desc,id asc') -> select(); $data = \ebcms\Tree::group($data); {/php}

### {$cate.title}

排序 | 操作 | 标题 | 字段
--- | --- | --- | ---
{foreach name='data' item='items' key='group'}
{$group} | 添加
{foreach name='items' item='vo'}
| {eq name='vo.status' value='1'} {else/} {/eq} | {$vo.title} | {$vo.name}
{/foreach} {/foreach}

{include file='ebcms@common/footer' /}