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

{notempty name='list'}
商品ID | 商品分类 | 商品名称 | 商品价格 | 添加时间 | 状态
--- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$vo.id} | {$cateList[$vo.cid]|default=''} | {$vo.goods_name} | {$Think.lang.hbfh}{$vo.goods_price} | {$vo.addtime|format_datetime} | {if auth("edit_goods")} 编辑 {/if} {if auth("del_goods")} 删除 {/if}
{/foreach}

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