{extend name='admin@main'} {block name="button"} {if auth("store/goods_cate/add")} {/if} {if auth("store/goods_cate/remove")} {/if} {/block} {block name="content"}
{notempty name='list'} {/notempty} {foreach $list as $key=>$vo} {/foreach}
{include file='goods_cate/index_search'}
分类名称 状态
{$vo.title|default=''} {eq name='vo.status' value='0'}已禁用{else}使用中{/eq}
{$vo.create_at|format_datetime} {if auth("store/goods_cate/edit")} 编 辑 {/if} {if $vo.status eq 1 and auth("store/goods_cate/forbid")} 禁 用 {elseif auth("store/goods_cate/resume")} 启 用 {/if} {if auth("store/goods_cate/remove")} 删 除 {/if}
{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}