superspike_ajax_fetch.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. if(!empty($list)) {
  3. ?>
  4. <volist name="list" id="d">
  5. <li class="al-goods" onclick="location.href='{:U('/goods/'.$d['goods_id'])}'">
  6. <div class="al-item-img">
  7. <img class="al-item-logo" src="<?php $store = M('seller')->where( array('s_id' => $d['store_id']) )->find();echo resize($store['s_logo'], 100, 100); ?>">
  8. <img class="al-item-pic" src="__UPLOAD__/{$d.image}">
  9. <!--ms-if-->
  10. </div>
  11. <div class="al-item-name">
  12. <span>{$d.name}</span>
  13. </div>
  14. <div class="al-item-info">
  15. <div class="al-item-mk">
  16. <div class="al-item-discount">
  17. <div class="al-item-circle"></div>
  18. <?php echo round( ($d['pinprice']/$d['price']) * 10,1); ?>折
  19. </div>
  20. <div class="al-item-price">
  21. <span class="price-icon">¥</span>
  22. <span class="price">{$d.pinprice}</span>
  23. <del class="market-price">¥{$d.price}</del>
  24. <p class="al-item-sales">已团{$d.seller_count}件</p>
  25. </div>
  26. </div>
  27. <div class="al-item-sale">
  28. 马上抢
  29. <img src="__PUBLIC__/pinduoduo/assets/img/rightjian.png">
  30. </div>
  31. <!--ms-if-->
  32. </div>
  33. </li>
  34. </volist>
  35. <?php } ?>