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

{notempty name='list'}
商品ID | 商品名称 | 商品价格 | 店铺名称 | 添加时间 | 是否推荐 | 状态
--- | --- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$vo.id} | {$vo.goods_name} | {:config("currency")}{$vo.goods_price} | {$vo.shop_name} | {$vo.addtime|format_datetime} | {if $vo.is_tj == 1} 推荐 {else /} 未推荐 {/if} | {if auth("edit_goods")} 编辑 {/if} {if auth("del_goods")} 删除 {/if} {if $vo.is_tj eq 1} 取消推荐 {elseif $vo.is_tj eq 0} 推 荐 {/if}
{/foreach}

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