<div class="nch-module nch-module-style01">
  <div class="title">
    <h3>热门推荐</h3>
  </div>
  <div class="content">
    {notempty name="goods_list"}
    <ul class="v_module_recommend">
      {foreach name="goods_list" item="value"}
      <li>
        <div class="goods-pic"><a href="{:url('goods/index',['goods_id'=>$value.goods_id])}" target="_blank"><img alt="{$value.goods_name}"  src="{:thumb($value)}"></a> </div>
        <dl class="goods-info">
          <dt>
            <a href="{:url('goods/index',['goods_id'=>$value.goods_id])}" title="{$value.goods_name}" target="_blank">
            <?php if (config('groupbuy_allow') && $value['goods_promotion_type'] == 1) {?>
            <span>抢购商品</span>
            <?php } elseif (config('promotion_allow') && $value['goods_promotion_type'] == 2)  {?>
            <span>限时折扣</span>
            <?php }?>
              {$value.goods_name}
          </a>
          </dt>
          <dd class="goods-price">商城价：<em>{$Think.lang.currency}{$value.goods_promotion_price}</em></dd>
          <dd class="buy-btn"><a href="{:url('goods/index',['goods_id'=>$value.goods_id])}" target="_blank">立即抢购</a></dd>
        </dl>
      </li>
     {/foreach}
    </ul>
   {/notempty}
  </div>
</div>
