index.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <div class="editable-page-model editable-page-model-11" style="background-color:{$config_info.back_color|default=''};">
  2. <div class="editable-page-content" style="padding-top:{$config_info.padding_top|default=''};padding-bottom:{$config_info.padding_bottom|default=''};">
  3. <div class="tab_head">
  4. {if $config_info.adv.0.image != ''}
  5. <div class="tab_head_item on">
  6. <span class="tab_head_item_inner"><i class="mod_iconfont" style="background-image:url({$config_info.adv.0.image})"></i></span>
  7. </div>
  8. {else}
  9. <div class="tab_head_item on">
  10. <span class="tab_head_item_inner"><i class="mod_iconfont" style="background:#27a9e3;color:#fff;">90×90<br>下半部分</i></span>
  11. </div>
  12. {/if}
  13. {if isset($config_info.adv.1) && $config_info.adv.1.image != ''}
  14. <div class="tab_head_item">
  15. <span class="tab_head_item_inner"><i class="mod_iconfont" style="background-image:url({$config_info.adv.1.image})"></i></span>
  16. </div>
  17. {else}
  18. <div class="tab_head_item">
  19. <span class="tab_head_item_inner"><i class="mod_iconfont" style="background:#27a9e3;color:#fff;">90×90<br>上半部分</i></span>
  20. </div>
  21. {/if}
  22. </div>
  23. <div class="tab_body">
  24. <div class="tab_body_list">
  25. {foreach name="config_info.adv" item='image' key='i'}
  26. <div class="tab_body_item"{if $i!=0} style="display: none;"{/if}>
  27. {if isset($image.goods_list[0])}
  28. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[0]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[0], 240)}" /><p class="goods_item_tag">{if $image.goods_list.0.goods_advword}“{$image.goods_list.0.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.0.goods_name}</p>
  29. <div class="goods_item_priceg">
  30. <span class="goods_item_price">¥{$image.goods_list.0.goods_price}</span>
  31. <span class="goods_item_g">¥{$image.goods_list.0.goods_marketprice}</span>
  32. </div>
  33. </a>
  34. {else}
  35. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  36. <div class="goods_item_priceg">
  37. <span class="goods_item_price">¥100</span>
  38. <span class="goods_item_g">¥120</span>
  39. </div>
  40. </a>
  41. {/if}
  42. {if isset($image.goods_list[1])}
  43. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[1]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[1], 240)}" /><p class="goods_item_tag">{if $image.goods_list.1.goods_advword}“{$image.goods_list.1.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.1.goods_name}</p>
  44. <div class="goods_item_priceg">
  45. <span class="goods_item_price">¥{$image.goods_list.1.goods_price}</span>
  46. <span class="goods_item_g">¥{$image.goods_list.1.goods_marketprice}</span>
  47. </div>
  48. </a>
  49. {else}
  50. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  51. <div class="goods_item_priceg">
  52. <span class="goods_item_price">¥100</span>
  53. <span class="goods_item_g">¥120</span>
  54. </div>
  55. </a>
  56. {/if}
  57. {if isset($image.goods_list[2])}
  58. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[2]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[2], 240)}" /><p class="goods_item_tag">{if $image.goods_list.2.goods_advword}“{$image.goods_list.2.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.2.goods_name}</p>
  59. <div class="goods_item_priceg">
  60. <span class="goods_item_price">¥{$image.goods_list.2.goods_price}</span>
  61. <span class="goods_item_g">¥{$image.goods_list.2.goods_marketprice}</span>
  62. </div>
  63. </a>
  64. {else}
  65. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  66. <div class="goods_item_priceg">
  67. <span class="goods_item_price">¥100</span>
  68. <span class="goods_item_g">¥120</span>
  69. </div>
  70. </a>
  71. {/if}
  72. {if isset($image.goods_list[3])}
  73. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[3]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[3], 240)}" /><p class="goods_item_tag">{if $image.goods_list.3.goods_advword}“{$image.goods_list.3.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.3.goods_name}</p>
  74. <div class="goods_item_priceg">
  75. <span class="goods_item_price">¥{$image.goods_list.3.goods_price}</span>
  76. <span class="goods_item_g">¥{$image.goods_list.3.goods_marketprice}</span>
  77. </div>
  78. </a>
  79. {else}
  80. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  81. <div class="goods_item_priceg">
  82. <span class="goods_item_price">¥100</span>
  83. <span class="goods_item_g">¥120</span>
  84. </div>
  85. </a>
  86. {/if}
  87. {if isset($image.goods_list[4])}
  88. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[4]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[4], 240)}" /><p class="goods_item_tag">{if $image.goods_list.4.goods_advword}“{$image.goods_list.4.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.4.goods_name}</p>
  89. <div class="goods_item_priceg">
  90. <span class="goods_item_price">¥{$image.goods_list.4.goods_price}</span>
  91. <span class="goods_item_g">¥{$image.goods_list.4.goods_marketprice}</span>
  92. </div>
  93. </a>
  94. {else}
  95. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  96. <div class="goods_item_priceg">
  97. <span class="goods_item_price">¥100</span>
  98. <span class="goods_item_g">¥120</span>
  99. </div>
  100. </a>
  101. {/if}
  102. {if isset($image.goods_list[5])}
  103. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[5]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[5], 240)}" /><p class="goods_item_tag">{if $image.goods_list.5.goods_advword}“{$image.goods_list.5.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.5.goods_name}</p>
  104. <div class="goods_item_priceg">
  105. <span class="goods_item_price">¥{$image.goods_list.5.goods_price}</span>
  106. <span class="goods_item_g">¥{$image.goods_list.5.goods_marketprice}</span>
  107. </div>
  108. </a>
  109. {else}
  110. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  111. <div class="goods_item_priceg">
  112. <span class="goods_item_price">¥100</span>
  113. <span class="goods_item_g">¥120</span>
  114. </div>
  115. </a>
  116. {/if}
  117. {if isset($image.goods_list[6])}
  118. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[6]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[6], 240)}" /><p class="goods_item_tag">{if $image.goods_list.6.goods_advword}“{$image.goods_list.6.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.6.goods_name}</p>
  119. <div class="goods_item_priceg">
  120. <span class="goods_item_price">¥{$image.goods_list.6.goods_price}</span>
  121. <span class="goods_item_g">¥{$image.goods_list.6.goods_marketprice}</span>
  122. </div>
  123. </a>
  124. {else}
  125. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  126. <div class="goods_item_priceg">
  127. <span class="goods_item_price">¥100</span>
  128. <span class="goods_item_g">¥120</span>
  129. </div>
  130. </a>
  131. {/if}
  132. {if isset($image.goods_list[7])}
  133. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[7]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[7], 240)}" /><p class="goods_item_tag">{if $image.goods_list.7.goods_advword}“{$image.goods_list.7.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.7.goods_name}</p>
  134. <div class="goods_item_priceg">
  135. <span class="goods_item_price">¥{$image.goods_list.7.goods_price}</span>
  136. <span class="goods_item_g">¥{$image.goods_list.7.goods_marketprice}</span>
  137. </div>
  138. </a>
  139. {else}
  140. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  141. <div class="goods_item_priceg">
  142. <span class="goods_item_price">¥100</span>
  143. <span class="goods_item_g">¥120</span>
  144. </div>
  145. </a>
  146. {/if}
  147. {if isset($image.goods_list[8])}
  148. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[8]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[8], 240)}" /><p class="goods_item_tag">{if $image.goods_list.8.goods_advword}“{$image.goods_list.8.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.8.goods_name}</p>
  149. <div class="goods_item_priceg">
  150. <span class="goods_item_price">¥{$image.goods_list.8.goods_price}</span>
  151. <span class="goods_item_g">¥{$image.goods_list.8.goods_marketprice}</span>
  152. </div>
  153. </a>
  154. {else}
  155. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  156. <div class="goods_item_priceg">
  157. <span class="goods_item_price">¥100</span>
  158. <span class="goods_item_g">¥120</span>
  159. </div>
  160. </a>
  161. {/if}
  162. {if isset($image.goods_list[9])}
  163. <a class="goods_item" href="{:url('goods/index',['goods_id'=>$image.goods_list[9]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb($image.goods_list[9], 240)}" /><p class="goods_item_tag">{if $image.goods_list.9.goods_advword}“{$image.goods_list.9.goods_advword}”{/if}</p><p class="goods_item_name">{$image.goods_list.9.goods_name}</p>
  164. <div class="goods_item_priceg">
  165. <span class="goods_item_price">¥{$image.goods_list.9.goods_price}</span>
  166. <span class="goods_item_g">¥{$image.goods_list.9.goods_marketprice}</span>
  167. </div>
  168. </a>
  169. {else}
  170. <a class="goods_item"><img class="goods_item_img lazyload" width="180" height="180" data-original="{:goods_thumb()}" /><p class="goods_item_tag">“商品广告语”</p><p class="goods_item_name">商品名称</p>
  171. <div class="goods_item_priceg">
  172. <span class="goods_item_price">¥100</span>
  173. <span class="goods_item_g">¥120</span>
  174. </div>
  175. </a>
  176. {/if}
  177. </div>
  178. {/foreach}
  179. </div>
  180. </div>
  181. </div>
  182. </div>
  183. <script>
  184. if(typeof(loadHtml11)=='undefined'){
  185. function loadHtml11(obj){
  186. obj.find('.editable-page-model-11').slide({mainCell: ".tab_body_list",titCell:".tab_head_item"})
  187. }
  188. }
  189. </script>