index.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {extend name="default/base/base_home" /}
  2. {block name="mall_main"}
  3. <script src="{$Think.PLUGINS_SITE_ROOT}/jquery.countdown.js"></script>
  4. <div class="dsh-pintuan w1200">
  5. {notempty name="pintuan_list"}
  6. <div class="goods-list clearfix">
  7. <ul>
  8. {foreach name="pintuan_list" item="value"}
  9. <li>
  10. <div class="goods-pic">
  11. <img class="lazyload item-img" data-original="{$value.pintuan_image}" title="{$value.pintuan_goods_name}" src="{$Think.HOME_SITE_ROOT}/images/loading.gif" alt="{$value.pintuan_goods_name}" />
  12. <span class="item-shadow"><img src="{$Think.HOME_SITE_URL}/qrcode?url={$value.pintuan_url}"> 扫我拼团</span>
  13. </div>
  14. <div class="goods-name">{$value.pintuan_goods_name}</div>
  15. <p>
  16. <span class="limit-num"><i class="iconfont">&#xe701;</i>{$value.pintuan_limit_number}人团</span>已组团{$value.pintuan_count}件
  17. </p>
  18. <p>
  19. <em class="goods-price">{:ds_price_format_forlist($value['pintuan_zhe_price'])}</em>
  20. <em class="zhe-price">{:ds_price_format_forlist($value['pintuan_goods_price'])}</em>
  21. <em class="countdown" data-time="{$value.pintuan_end_time|date='Y-m-d H:i:s'}">
  22. 距结束<span class="days">00</span>天&nbsp;<span class="hours">01</span>:<span class="minutes">56</span>:<span class="seconds">23</span>
  23. </em>
  24. </p>
  25. </li>
  26. {/foreach}
  27. </ul>
  28. </div>
  29. <div class="pagination">{$show_page|raw}</div>
  30. {else /}
  31. <div class="no_results">{$Think.lang.pintuan_no_record}</div>
  32. {/notempty}
  33. </div>
  34. <script type="text/javascript">
  35. //倒计时JS
  36. $(".countdown").each(function(){
  37. $(this).countdown();
  38. });
  39. </script>
  40. {/block}