index.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <div class="model-22">
  2. <div class="seckill-list-preview marketing-box marketing-box-two marketing-box-3" style="background-color:{$config_info.back_color|default='unset'};">
  3. <div>
  4. <div class="title-wrap title-wrap-3" {if isset($config_info['if_show_title_icon']) && $config_info['if_show_title_icon']==0}style="display:none"{/if}>
  5. <div class="title-left">
  6. <div class="img">
  7. <img src="{if isset($config_info['title_icon']) && $config_info['title_icon']}{$config_info['title_icon']}{else}{$Think.HOME_SITE_ROOT}/images/editable_page/seckill_style3_title.png{/if}">
  8. </div>
  9. </div>
  10. </div>
  11. </div>
  12. <div class="list-wrap">
  13. {if isset($config_info['goods_list']) && !empty($config_info['goods_list'])}
  14. {foreach name='config_info.goods_list' item='goods'}
  15. <div class="item">
  16. <div class="img-wrap">
  17. <img src="{$goods.goods_image}">
  18. </div>
  19. <div class="content">
  20. <div class="top">
  21. <div class="content-desc">{$goods.goods_name}</div>
  22. <div class="mprogress">
  23. <div class="img">
  24. <div class="img-con" style="width:{$goods.order_ratio}%">
  25. </div>
  26. </div>
  27. <div class="num">已抢{$goods.order_ratio}%</div>
  28. </div>
  29. </div>
  30. <div class="bot">
  31. <div class="content-price">
  32. <div>¥
  33. <span>{:floatval($goods.goods_promotion_price)}</span>
  34. </div>
  35. <div class="content-num">¥{:floatval($goods.goods_price)}</div>
  36. </div>
  37. <div class="layui-btn">立即抢购</div>
  38. </div>
  39. </div>
  40. </div>
  41. {/foreach}
  42. {else}
  43. <div class="item">
  44. <div class="img-wrap">
  45. <img src="{:goods_thumb()}">
  46. </div>
  47. <div class="content">
  48. <div class="top">
  49. <div class="content-desc">商品名称</div>
  50. <div class="mprogress">
  51. <div class="img">
  52. <div class="img-con">
  53. </div>
  54. </div>
  55. <div class="num">已抢65.32%</div>
  56. </div>
  57. </div>
  58. <div class="bot">
  59. <div class="content-price">
  60. <div>¥
  61. <span>99.00</span>
  62. </div>
  63. <div class="content-num">¥139.00</div>
  64. </div>
  65. <div class="layui-btn">立即抢购</div>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="item">
  70. <div class="img-wrap">
  71. <img src="{:goods_thumb()}">
  72. </div>
  73. <div class="content">
  74. <div class="top">
  75. <div class="content-desc">商品名称</div>
  76. <div class="mprogress">
  77. <div class="img">
  78. <div class="img-con">
  79. </div>
  80. </div>
  81. <div class="num">已抢65.32%</div>
  82. </div>
  83. </div>
  84. <div class="bot">
  85. <div class="content-price">
  86. <div>¥
  87. <span>99.00</span>
  88. </div>
  89. <div class="content-num">¥139.00</div>
  90. </div>
  91. <div class="layui-btn">立即抢购</div>
  92. </div>
  93. </div>
  94. </div>
  95. <div class="item">
  96. <div class="img-wrap">
  97. <img src="{:goods_thumb()}">
  98. </div>
  99. <div class="content">
  100. <div class="top">
  101. <div class="content-desc">商品名称</div>
  102. <div class="mprogress">
  103. <div class="img">
  104. <div class="img-con">
  105. </div>
  106. </div>
  107. <div class="num">已抢65.32%</div>
  108. </div>
  109. </div>
  110. <div class="bot">
  111. <div class="content-price">
  112. <div>¥
  113. <span>99.00</span>
  114. </div>
  115. <div class="content-num">¥139.00</div>
  116. </div>
  117. <div class="layui-btn">立即抢购</div>
  118. </div>
  119. </div>
  120. </div>
  121. {/if}
  122. </div>
  123. <div class="more">
  124. <span>更多秒杀</span>
  125. <i class="iconfont iconyoujiantou">
  126. </i>
  127. </div>
  128. </div>
  129. </div>