item.html 1.8 KB

123456789101112131415161718192021222324
  1. {foreach name="goods_list" item="goods_info"}
  2. <div class="item">
  3. <div class="scope">
  4. <dl class="goods">
  5. <dt class="goods-thumb"> <a title="{$goods_info.goods_name}" target="_blank" href="{$goods_info.goods_url}"><img src="{$goods_info.image_url_240}" /></a> </dt>
  6. <dd class="goods-name"><span><strong>{$goods_info.xianshi_title}</strong></span> <a target="_blank" href="{$goods_info.goods_url}">{$goods_info.goods_name}</a></dd>
  7. </dl>
  8. <div class="goods-price"><span class="sale">{$Think.lang.sale_price}<em>{:ds_price_format_forlist($goods_info['xianshigoods_price'])}</em>{$Think.lang.ds_yuan}</span><span class="depreciate"><i class="iconfont">&#xe689;</i>{$Think.lang.direct_fall}:¥{$goods_info.down_price}</span></div>
  9. {if (session('is_login') === '1')}
  10. <div class="goods-buy"><a href="javascript:void(0);" dstype="add_cart" data-param="{goods_id:{$goods_info.goods_id}}" class="btn">{$Think.lang.immediate_rush}</a> <span class="raty" data-score="{$goods_info.evaluation_good_star}" style="width: 100px;"></span> <span class="mt5"><a href="{:url('Store/index',['store_id'=>$goods_info.store_id])}">{$goods_info.store_name}</a></span> </div>
  11. {/if}
  12. <ul class="goodseval">
  13. {notempty name="$goodsevallist[$goods_info['goods_id']]"}
  14. {foreach name="$goodsevallist[$goods_info['goods_id']]" item="v" key="k" }
  15. <li>
  16. <div class="user-avatar"> <a target="_blank" data-param="{'id':{$v.geval_frommemberid}}" dstype="mcard"{/if}> <img src="{:get_member_avatar_for_id($v['geval_frommemberid'])}"> </a> </div>
  17. <div class="eval"><i class="iconfont">&#xe752;</i>{$v.geval_content}<i class="iconfont">&#xe751;</i></div>
  18. </li>
  19. {/foreach}
  20. {/notempty}
  21. </ul>
  22. </div>
  23. </div>
  24. {/foreach}