<?php if(!empty($goods_list) && is_array($goods_list)){?>
<ul class="goods-list">
    <?php foreach($goods_list as $key=>$val){?>
    <li>
        <div class="goods-thumb"><img src="<?php echo thumb($val, 240);?>"/></div>
        <dl class="goods-info">
            <dt><a href="{:url('/Home/Goods/index',['goods_id'=>$val.goods_id])}" target="_blank"><?php echo $val['goods_name'];?></a> </dt>
            <dd>销售价格：{$Think.lang.currency}<?php echo $val['goods_price'];?>
        </dl>
        <a nctype="a_choose_goods" data-param="{gid:<?php echo $val['goods_id'];?>, gname:'<?php echo $val['goods_name'];?>', gimage:'<?php echo thumb($val, '60');?>', gimage240:'<?php echo thumb($val, '240');?>', gurl:'<?php echo url('/Home/Goods/index',['goods_id'=>$val['goods_id']]);?>', gprice:'<?php echo $val['goods_price'];?>'}" href="javascript:void(0);" class="dssc-btn-mini dssc-btn-green"><i class="icon-plus"></i>添加商品</a> </li>
    <?php } ?>
</ul>
<div class="pagination">{$show_page}</div>
<?php } else { ?>
<div class="norecord">{$Think.lang.no_record}</div>
<?php } ?>
