index.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. <div class="editable-page-model editable-page-model-10" 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="content-wrapper">
  4. <div class="fresh_categorys_col one">
  5. <div class="fresh_category_acts">
  6. {if isset($config_info.back_image_l) && $config_info.back_image_l != ''}
  7. <div class="fresh_category_act1" style="position:relative" style="background: url({$config_info.back_image_l|default=''}) 0 0 no-repeat;">
  8. {else}
  9. <div class="fresh_category_act1" style="position:relative"><div style="background:#e1e1e1;color:#fff;position:absolute;top:0;bottom:0;left:0;right:0;font-size: 30px;font-weight: bold;text-align: center;padding-top: 100px;">200×300</div>
  10. {/if}
  11. <h4 class="fresh_category_title">{$config_info.title_big_l|default='大标题'}</h4>
  12. <p class="fresh_category_subtitle">{$config_info.title_small_l|default='小标题'}</p>
  13. <div class="fresh_category_keys" style="position: relative;">
  14. {if isset($config_info.gc_list_l[0])}
  15. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_l.0.gc_id])}" target="_blank">{$config_info.gc_list_l.0.gc_name}</a>
  16. {else}
  17. <a class="fresh_category_keys_item">商品分类</a>
  18. {/if}
  19. {if isset($config_info.gc_list_l[1])}
  20. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_l.1.gc_id])}" target="_blank">{$config_info.gc_list_l.1.gc_name}</a>
  21. {else}
  22. <a class="fresh_category_keys_item">商品分类</a>
  23. {/if}
  24. {if isset($config_info.gc_list_l[2])}
  25. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_l.2.gc_id])}" target="_blank">{$config_info.gc_list_l.2.gc_name}</a>
  26. {else}
  27. <a class="fresh_category_keys_item">商品分类</a>
  28. {/if}
  29. {if isset($config_info.gc_list_l[3])}
  30. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_l.3.gc_id])}" target="_blank">{$config_info.gc_list_l.3.gc_name}</a>
  31. {else}
  32. <a class="fresh_category_keys_item">商品分类</a>
  33. {/if}
  34. {if isset($config_info.gc_list_l[4])}
  35. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_l.4.gc_id])}" target="_blank">{$config_info.gc_list_l.4.gc_name}</a>
  36. {else}
  37. <a class="fresh_category_keys_item">商品分类</a>
  38. {/if}
  39. </div>
  40. </div>
  41. {if isset($config_info['adv_right_l']['link']) && isset($config_info['adv_right_l']['image'])}
  42. <div class="fresh_category_act3">
  43. <a href="{$config_info['adv_right_l']['link']|default=''}" target="_blank"><img class="fresh_category_act3_img lazyload" data-original="{$config_info['adv_right_l']['image']|default=''}" alt="" title="" /></a>
  44. </div>
  45. {else}
  46. <div class="fresh_category_act3">
  47. <a><div class="fresh_category_act3_img lazyload" style="background:#e1e1e1;color:#fff;font-size: 30px;font-weight: bold;text-align: center;padding-top: 100px;height: 100%;box-sizing: border-box;">395×300</div></a>
  48. </div>
  49. {/if}
  50. </div>
  51. <div class="clearfix"></div>
  52. <div class="fresh_category_goods goods">
  53. {if isset($config_info.gc_list_l[0])}
  54. <div class="goods_item">
  55. <a class="goods_item_link" href="{:url('goods/index',['goods_id'=>$config_info.gc_list_l[0]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb($config_info.gc_list_l[0], 240)}" /><p class="goods_item_name">{$config_info.gc_list_l.0.goods_name}</p></a>
  56. <p class="goods_item_price">¥{$config_info.gc_list_l[0].goods_price}</p>
  57. </div>
  58. {else}
  59. <div class="goods_item">
  60. <a class="goods_item_link"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb()}" /><p class="goods_item_name">商品名称</p></a>
  61. <p class="goods_item_price">¥100</p>
  62. </div>
  63. {/if}
  64. {if isset($config_info.gc_list_l[1])}
  65. <div class="goods_item">
  66. <a class="goods_item_link" href="{:url('goods/index',['goods_id'=>$config_info.gc_list_l[1]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb($config_info.gc_list_l[1], 240)}" /><p class="goods_item_name">{$config_info.gc_list_l.1.goods_name}</p></a>
  67. <p class="goods_item_price">¥{$config_info.gc_list_l[1].goods_price}</p>
  68. </div>
  69. {else}
  70. <div class="goods_item">
  71. <a class="goods_item_link"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb()}" /><p class="goods_item_name">商品名称</p></a>
  72. <p class="goods_item_price">¥100</p>
  73. </div>
  74. {/if}
  75. {if isset($config_info.gc_list_l[2])}
  76. <div class="goods_item">
  77. <a class="goods_item_link" href="{:url('goods/index',['goods_id'=>$config_info.gc_list_l[2]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb($config_info.gc_list_l[2], 240)}" /><p class="goods_item_name">{$config_info.gc_list_l.2.goods_name}</p></a>
  78. <p class="goods_item_price">¥{$config_info.gc_list_l[2].goods_price}</p>
  79. </div>
  80. {else}
  81. <div class="goods_item">
  82. <a class="goods_item_link"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb()}" /><p class="goods_item_name">商品名称</p></a>
  83. <p class="goods_item_price">¥100</p>
  84. </div>
  85. {/if}
  86. </div>
  87. <div class="clearfix"></div>
  88. <div class="fresh_category_brands brands">
  89. {if isset($config_info.brand_list_l[0])}
  90. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_l[0].brand_id))}" target="_blank">
  91. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_l[0].brand_pic)}" />
  92. </a>
  93. {else}
  94. <a class="brands_item">
  95. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  96. </a>
  97. {/if}
  98. {if isset($config_info.brand_list_l[1])}
  99. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_l[1].brand_id))}" target="_blank">
  100. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_l[1].brand_pic)}" />
  101. </a>
  102. {else}
  103. <a class="brands_item">
  104. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  105. </a>
  106. {/if}
  107. {if isset($config_info.brand_list_l[2])}
  108. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_l[2].brand_id))}" target="_blank">
  109. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_l[2].brand_pic)}" />
  110. </a>
  111. {else}
  112. <a class="brands_item">
  113. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  114. </a>
  115. {/if}
  116. {if isset($config_info.brand_list_l[3])}
  117. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_l[3].brand_id))}" target="_blank">
  118. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_l[3].brand_pic)}" />
  119. </a>
  120. {else}
  121. <a class="brands_item">
  122. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  123. </a>
  124. {/if}
  125. {if isset($config_info.brand_list_l[4])}
  126. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_l[4].brand_id))}" target="_blank">
  127. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_l[4].brand_pic)}" />
  128. </a>
  129. {else}
  130. <a class="brands_item">
  131. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  132. </a>
  133. {/if}
  134. </div>
  135. </div>
  136. <div class="fresh_categorys_col two">
  137. <div class="fresh_category_acts">
  138. {if isset($config_info.back_image_r) && $config_info.back_image_r != ''}
  139. <div class="fresh_category_act1" style="position:relative" style="background: url({$config_info.back_image_l|default=''}) 0 0 no-repeat;">
  140. {else}
  141. <div class="fresh_category_act1" style="position:relative"><div style="background:#e1e1e1;color:#fff;position:absolute;top:0;bottom:0;left:0;right:0;font-size: 30px;font-weight: bold;text-align: center;padding-top: 100px;">200×300</div>
  142. {/if}
  143. <h4 class="fresh_category_title">{$config_info.title_big_r|default='大标题'}</h4>
  144. <p class="fresh_category_subtitle">{$config_info.title_small_r|default='小标题'}</p>
  145. <div class="fresh_category_keys" style="position: relative;">
  146. {if isset($config_info.gc_list_r[0])}
  147. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_r.0.gc_id])}" target="_blank">{$config_info.gc_list_r.0.gc_name}</a>
  148. {else}
  149. <a class="fresh_category_keys_item">商品分类</a>
  150. {/if}
  151. {if isset($config_info.gc_list_r[1])}
  152. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_r.1.gc_id])}" target="_blank">{$config_info.gc_list_r.1.gc_name}</a>
  153. {else}
  154. <a class="fresh_category_keys_item">商品分类</a>
  155. {/if}
  156. {if isset($config_info.gc_list_r[2])}
  157. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_r.2.gc_id])}" target="_blank">{$config_info.gc_list_r.2.gc_name}</a>
  158. {else}
  159. <a class="fresh_category_keys_item">商品分类</a>
  160. {/if}
  161. {if isset($config_info.gc_list_r[3])}
  162. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_r.3.gc_id])}" target="_blank">{$config_info.gc_list_r.3.gc_name}</a>
  163. {else}
  164. <a class="fresh_category_keys_item">商品分类</a>
  165. {/if}
  166. {if isset($config_info.gc_list_r[4])}
  167. <a class="fresh_category_keys_item" href="{:url('Search/index',['cate_id'=>$config_info.gc_list_r.4.gc_id])}" target="_blank">{$config_info.gc_list_r.4.gc_name}</a>
  168. {else}
  169. <a class="fresh_category_keys_item">商品分类</a>
  170. {/if}
  171. </div>
  172. </div>
  173. {if isset($config_info['adv_right_r']['link']) && isset($config_info['adv_right_r']['image'])}
  174. <div class="fresh_category_act3">
  175. <a href="{$config_info['adv_right_r']['link']|default=''}" target="_blank"><img class="fresh_category_act3_img lazyload" data-original="{$config_info['adv_right_r']['image']|default=''}" alt="" title="" /></a>
  176. </div>
  177. {else}
  178. <div class="fresh_category_act3">
  179. <a><div class="fresh_category_act3_img lazyload" style="background:#e1e1e1;color:#fff;font-size: 30px;font-weight: bold;text-align: center;padding-top: 100px;height: 100%;box-sizing: border-box;">395×300</div></a>
  180. </div>
  181. {/if}
  182. </div>
  183. <div class="clearfix"></div>
  184. <div class="fresh_category_goods goods">
  185. {if isset($config_info.gc_list_r[0])}
  186. <div class="goods_item">
  187. <a class="goods_item_link" href="{:url('goods/index',['goods_id'=>$config_info.gc_list_r[0]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb($config_info.gc_list_r[0], 240)}" /><p class="goods_item_name">{$config_info.gc_list_r.0.goods_name}</p></a>
  188. <p class="goods_item_price">¥{$config_info.gc_list_r[0].goods_price}</p>
  189. </div>
  190. {else}
  191. <div class="goods_item">
  192. <a class="goods_item_link"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb()}" /><p class="goods_item_name">商品名称</p></a>
  193. <p class="goods_item_price">¥100</p>
  194. </div>
  195. {/if}
  196. {if isset($config_info.gc_list_r[1])}
  197. <div class="goods_item">
  198. <a class="goods_item_link" href="{:url('goods/index',['goods_id'=>$config_info.gc_list_l[1]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb($config_info.gc_list_r[1], 240)}" /><p class="goods_item_name">{$config_info.gc_list_r.1.goods_name}</p></a>
  199. <p class="goods_item_price">¥{$config_info.gc_list_r[1].goods_price}</p>
  200. </div>
  201. {else}
  202. <div class="goods_item">
  203. <a class="goods_item_link"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb()}" /><p class="goods_item_name">商品名称</p></a>
  204. <p class="goods_item_price">¥100</p>
  205. </div>
  206. {/if}
  207. {if isset($config_info.gc_list_r[2])}
  208. <div class="goods_item">
  209. <a class="goods_item_link" href="{:url('goods/index',['goods_id'=>$config_info.gc_list_l[2]['goods_id']])}" target="_blank"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb($config_info.gc_list_r[2], 240)}" /><p class="goods_item_name">{$config_info.gc_list_r.2.goods_name}</p></a>
  210. <p class="goods_item_price">¥{$config_info.gc_list_r[2].goods_price}</p>
  211. </div>
  212. {else}
  213. <div class="goods_item">
  214. <a class="goods_item_link"><img class="goods_item_img lazyload" width="150" height="150" data-original="{:goods_thumb()}" /><p class="goods_item_name">商品名称</p></a>
  215. <p class="goods_item_price">¥100</p>
  216. </div>
  217. {/if}
  218. </div>
  219. <div class="clearfix"></div>
  220. <div class="fresh_category_brands brands">
  221. {if isset($config_info.brand_list_r[0])}
  222. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_r[0].brand_id))}" target="_blank">
  223. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_r[0].brand_pic)}" />
  224. </a>
  225. {else}
  226. <a class="brands_item">
  227. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  228. </a>
  229. {/if}
  230. {if isset($config_info.brand_list_r[1])}
  231. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_r[1].brand_id))}" target="_blank">
  232. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_r[1].brand_pic)}" />
  233. </a>
  234. {else}
  235. <a class="brands_item">
  236. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  237. </a>
  238. {/if}
  239. {if isset($config_info.brand_list_r[2])}
  240. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_r[2].brand_id))}" target="_blank">
  241. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_r[2].brand_pic)}" />
  242. </a>
  243. {else}
  244. <a class="brands_item">
  245. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  246. </a>
  247. {/if}
  248. {if isset($config_info.brand_list_r[3])}
  249. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_r[3].brand_id))}" target="_blank">
  250. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_r[3].brand_pic)}" />
  251. </a>
  252. {else}
  253. <a class="brands_item">
  254. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  255. </a>
  256. {/if}
  257. {if isset($config_info.brand_list_r[4])}
  258. <a class="brands_item" href="{:url('Brand/brand_goods',array('brand_id'=>$config_info.brand_list_r[4].brand_id))}" target="_blank">
  259. <img class="brands_item_img lazyload" data-original="{:brand_image($config_info.brand_list_r[4].brand_pic)}" />
  260. </a>
  261. {else}
  262. <a class="brands_item">
  263. <img class="brands_item_img lazyload" data-original="{:goods_thumb()}" />
  264. </a>
  265. {/if}
  266. </div>
  267. </div>
  268. <div class="clearfix"></div>
  269. </div>
  270. </div>
  271. </div>
  272. </div>