{extend name="$base" /} {block name="resources"} {/block} {block name="lunbo"} {php} $banner_list = api('System.Shop.advDetail', ['ap_keyword' => 'PC_DISCOUNT_SWIPER', 'export_type' => 'data']); {/php}
{notempty name='$banner_list["data"]'}

{foreach name="$banner_list['data']['advs']" item="vo" key="k"}
{/foreach}

{foreach name="$banner_list['data']['advs']" item="vo" key="k"}
{if $vo['adv_image'] == ''} {else/} {if is_url($vo['adv_url'])} {else/} {/if} {/if}
{/foreach}
{/notempty}
{/block} {block name="main"} {php} $page = input('page', 1); $discount_list = api("System.Goods.goodsDiscountList",['page_index' => $page]); $discount_list = $discount_list['data']; $page_count = $discount_list['page_count']; $total_count = $discount_list['total_count']; {/php} {notempty name="$discount_list['data']"}

{volist name="$discount_list['data']" id="vo"}
- {if $vo['pic_cover_mid']} {else /} {/if}

  #### {$vo.goods_name}

  {$vo.display_price} ￥{$vo.price}
  限时秒杀 抢先提醒
  立即抢购
{/volist}

{else/} {/notempty} {/block} {block name="script"}
{/block}