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

{notempty name='list'}
ID | 视频名称 | 封面图 | 访问量 | 是否热门 | 操作
--- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$vo.id} | {$vo.goods_name} |  | {$vo.dianji} | {if $vo.home == 2} 是 {else /} 否 {/if} | {if auth("edit_goods")} 编辑 {/if}
{/foreach}

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