<div class="title">
<h3>推广商品</h3></div>
<div class="content" nc_type="current_display_mode">
  {notempty name="goods_list"}
  <ul class="nch-booth-list squares">
    {foreach name="goods_list" item="value"}
    <li nctype_goods="{$value.goods_id}" nctype_store="{$value.store_id}">
        <div class="goods-pic">
          <a href="{:url('goods/index',['goods_id'=>$value.goods_id])}" target="_blank" title="{$value.goods_name}">
            <img src="{:thumb($value)}" title="{$value.goods_name}" alt="{$value.goods_name}" />
          </a>
        </div>
      <?php if (config('groupbuy_allow') && $value['goods_promotion_type'] == 1) {?>
      <div class="goods-promotion"><span>抢购商品</span></div>
      <?php } elseif (config('promotion_allow') && $value['goods_promotion_type'] == 2)  {?>
      <div class="goods-promotion"><span>限时折扣</span></div>
      <?php }?>
      <div class="goods-name"><a href="{:url('goods/index',['goods_id'=>$value.goods_id])}" target="_blank" title="{$value.goods_jingle}">{$value.goods_name}</a></div>
      <div class="goods-price" title="商品价格{$Think.lang.ds_colon}{$Think.lang.currency}{$value.goods_promotion_price}">{$Think.lang.currency}{$value.goods_promotion_price}</div>
    </li>
   {/foreach}
  </ul>
  {/notempty}
</div>