{extend name='main'} {block name="button"} {if auth("add_goods")}
{/if} {/block} {block name="content"}

{notempty name='list'}
分类ID | 分类名称 | 比例 | 简介 | 添加时间 | 状态
--- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$vo.id} | {$vo.name} | {:config("currency")}{$vo.bili} | {$vo.cate_info} | {$vo.addtime|format_datetime} | {if auth("edit_goods")} 编辑 {/if} {if auth("del_goods")} 删除 {/if}
{/foreach}

{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}