flea_index.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. {extend name="default/base/base_home" /}
  2. {block name="mall_main"}
  3. <link href="{$Think.HOME_SITE_ROOT}/css/flea.css" rel="stylesheet" type="text/css" />
  4. <script src="{$Think.PLUGINS_SITE_ROOT}/jquery.SuperSlide.2.1.1.js"></script>
  5. <script>
  6. $(function(){
  7. jQuery("#idContainer2").slide({titCell:"#btnlistID",mainCell:"#KSS_moveBox ul",autoPage:true,effect:"left",autoPlay:true});
  8. jQuery(".scrolldoorFrame").slide({titCell:".scrollUl li",mainCell:".cont .cc",effect:"left",titOnClassName:"sd01"});
  9. });
  10. </script>
  11. <div id="category">
  12. <div class="content">
  13. <ul>
  14. <li>
  15. <div class="items_pic"><i class="iconfont">&#xe60e;</i></div>
  16. <div class="cat_list">
  17. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$shuma.fcindex_id1}">{$shuma.fcindex_name1}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$shuma.fcindex_id2}">{$shuma.fcindex_name2}</a></p>
  18. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$shuma.fcindex_id3}">{$shuma.fcindex_name3}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$shuma.fcindex_id4}">{$shuma.fcindex_name4}</a></p>
  19. </div>
  20. </li>
  21. <li>
  22. <div class="items_pic"><i class="iconfont">&#xe74b;</i></div>
  23. <div class="cat_list">
  24. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$zhuangban.fcindex_id1}">{$zhuangban.fcindex_name1}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$zhuangban.fcindex_id2}">{$zhuangban.fcindex_name2}</a></p>
  25. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$zhuangban.fcindex_id3}">{$zhuangban.fcindex_name3}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$zhuangban.fcindex_id4}">{$zhuangban.fcindex_name4}</a></p>
  26. </div>
  27. </li>
  28. <li>
  29. <div class="items_pic"><i class="iconfont">&#xe60c;</i></div>
  30. <div class="cat_list">
  31. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$jujia.fcindex_id1}">{$jujia.fcindex_name1}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$jujia.fcindex_id2}">{$jujia.fcindex_name2}</a></p>
  32. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$jujia.fcindex_id3}">{$jujia.fcindex_name3}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$jujia.fcindex_id4}">{$jujia.fcindex_name4}</a></p>
  33. </div>
  34. </li>
  35. <li>
  36. <div class="items_pic"><i class="iconfont">&#xe74c;</i></div>
  37. <div class="cat_list">
  38. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$xingqu.fcindex_id1}">{$xingqu.fcindex_name1}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$xingqu.fcindex_id2}">{$xingqu.fcindex_name2}</a></p>
  39. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$xingqu.fcindex_id3}">{$xingqu.fcindex_name3}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$xingqu.fcindex_id4}">{$xingqu.fcindex_name4}</a></p>
  40. </div>
  41. </li>
  42. <li>
  43. <div class="items_pic"><i class="iconfont">&#xe6a2;</i></div>
  44. <div class="cat_list">
  45. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$muying.fcindex_id1}">{$muying.fcindex_name1}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$muying.fcindex_id2}">{$muying.fcindex_name2}</a></p>
  46. <p><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$muying.fcindex_id3}">{$muying.fcindex_name3}</a><a target="_blank" href="{$Think.HOME_SITE_URL}/Fleaclass/index/?cate_input={$muying.fcindex_id4}">{$muying.fcindex_name4}</a></p>
  47. </div>
  48. </li>
  49. </ul>
  50. </div>
  51. </div>
  52. <div class="flea_goods content">
  53. <div id="first_items">
  54. <div id=idContainer2 class=container>
  55. <div id="KinSlideshow" >
  56. {notempty name="loginpic"}
  57. <div id='KSS_moveBox'>
  58. <ul>
  59. {foreach name="loginpic" item="val"}
  60. <li><a href="{if ($val['url'] != '')}{$val.url}{else/}javascript:void(0);{/if}" target="_blank"><img src="{:ds_get_pic(ATTACH_PATH,$val.pic)}"></a></li>
  61. {/foreach}
  62. </ul>
  63. </div>
  64. <div class="KSS_titleBar" style="height: 30px; width: 100%; position: absolute; bottom: 0px; left: 0px; background: rgb(255, 255, 255); opacity: 0.5;"></div>
  65. <div class="KSS_btnBox" style="position:absolute;right:10px;bottom:5px; z-index:100">
  66. <ul id="btnlistID" style="margin:0;padding:0; overflow:hidden">
  67. {foreach name="loginpic" item="val"}
  68. <li>{$key}</li>
  69. {/foreach}
  70. </ul>
  71. </div>
  72. {/notempty}
  73. </div>
  74. </div>
  75. <div class="hotgoods">
  76. <h2><strong class="head_title_1">{$Think.lang.flea_fresh_goods}</strong><i class="head_title_2">{$Think.lang.flea_prompt_words1}</i><a class="more gray2 fn-right" href="{$Think.HOME_SITE_URL}/Fleaclass/index/">{$Think.lang.flea_goods_more}</a></h2>
  77. {notempty name="new_flea_goods"}
  78. <div class="hotgoods_G">
  79. <dl>
  80. <dt class="fn-left">
  81. <div class="pic">
  82. <span class="thumb size100">
  83. <i></i>
  84. <a title="{$new_flea_goods.goods_name}" target="_blank" href="{$Think.HOME_SITE_URL}/Fleagoods/index/?goods_id={$new_flea_goods.goods_id}"><img height="100" width="100" onload="javascript:ResizeImage(this,100,100);" src="{:flea_thumb($new_flea_goods['goods_image'])}" /></a>
  85. </span>
  86. </div>
  87. </dt>
  88. <dd class="fn-left">
  89. {$Think.lang.flea_index_goods_1}{$new_flea_goods.flea_quality}{$Think.lang.flea_as_new}
  90. {$Think.lang.flea_index_goods_2}{$new_flea_goods.goods_name}
  91. </dd>
  92. <dd class="fn-left"><span class="price orange">{$new_flea_goods.goods_store_price}</span>{$Think.lang.flea_index_rmbtransfer}</dd>
  93. <dd class="fn-left"><span class="font-zr">{$Think.lang.flea_transfer}</span></dd>
  94. </dl>
  95. </div>
  96. {/notempty}
  97. </div>
  98. <div class="sell">
  99. <div class="collect">
  100. <h2><strong class="head_title_1">{$Think.lang.flea_love_collect}</strong><i class="head_title_2">{$Think.lang.flea_prompt_words2}</i></h2>
  101. {notempty name="col_flea_goods"}
  102. <div class="collect_goods">
  103. <p class="collect_hot">{$Think.lang.flea_mostwell_goods}</p>
  104. <div class="pic fn-left">
  105. <span class="thumb size76">
  106. <i></i>
  107. <a title="{$col_flea_goods.goods_name}" href="{$Think.HOME_SITE_URL}/Fleagoods/index/?goods_id={$col_flea_goods.goods_id}" target="_blank"><img height="76" width="76" onload="javascript:ResizeImage(this,76,76);" src="{:flea_thumb($col_flea_goods['goods_image'])}" /></a>
  108. </span>
  109. </div>
  110. <div class="collect_info fn-left">
  111. <p class="details"><a class="blue2" target="_blank" href="{$Think.HOME_SITE_URL}/Fleagoods/index/?goods_id={$col_flea_goods.goods_id}">{$col_flea_goods.goods_name}</a></p>
  112. <p>{$Think.lang.flea_all_count}<span>{$col_flea_goods.flea_collect_num}</span>{$Think.lang.flea_many_collect}</p>
  113. <p>{$Think.lang.flea_transfer_price}<span>{$col_flea_goods.goods_store_price}</span>{$Think.lang.flea_index_rmb}</p>
  114. </div>
  115. </div>
  116. {/notempty}
  117. </div>
  118. <div id="buttonContainer"><a href="{$Think.HOME_SITE_URL}/Memberflea/add_goods" class="sell_btn2"><i class="iconfont">&#xe74e;</i>&nbsp;{$Think.lang.flea_sell_spare}</a></div>
  119. </div>
  120. </div>
  121. <div id="fir_items" class="fn-left">
  122. <h2><strong class="head_title_1">{$Think.lang.flea_popular_search}</strong><i class="head_title_2">{$Think.lang.flea_prompt_words3}</i><a href="{$Think.HOME_SITE_URL}/Fleaclass/index/" class="gray2">{$Think.lang.flea_more_hot_goods}</a></h2>
  123. <ul>
  124. {notempty name="new_flea_goods2"}
  125. {php}$i=1;{/php}
  126. {foreach name="new_flea_goods2" item="val" }
  127. <li {if ($i==7||$i==14)}class="cn"{/if}>
  128. <div class="pic">
  129. <span class="thumb size120">
  130. <i></i>
  131. <a target="_blank" title="{$val.goods_name}" href="{$Think.HOME_SITE_URL}/Fleagoods/index/?goods_id={$val.goods_id}"><img height="120" width="120" onload="javascript:ResizeImage(this,120,120);" src="{:flea_thumb($val['goods_image'])}" /></a>
  132. </span>
  133. </div>
  134. <p>{$val.flea_quality}{$Think.lang.flea_as_new}<span class="orange">{$val.goods_store_price}</span>{$Think.lang.flea_index_transfer}</p>
  135. </li>
  136. {php}$i++;{/php}
  137. {/foreach}
  138. {/notempty}
  139. </ul>
  140. </div>
  141. <div class="fn-clear"></div>
  142. <div class="ad">
  143. {if $adv_slide}
  144. {foreach name='adv_slide' item='v'}
  145. <a href="{:url('Advclick/Advclick',['adv_id'=>$v['adv_left']['adv_id']])}" target="_blank" title="">
  146. <img class="lazyload" data-original="{:ds_get_pic(ATTACH_ADV,$v.adv_code)}" style="{$v.adv_style|default=''}">
  147. </a>
  148. {/foreach}
  149. {/if}
  150. </div>
  151. <div id="third_items" class="fn-left">
  152. <h2><strong class="head_title_1">{$Think.lang.flea_onlookers_area}</strong><i class="head_title_2">{$Think.lang.flea_walk}</i><a class="gray2" href="{$Think.HOME_SITE_URL}/Fleaclass/index/">{$Think.lang.flea_more_flea_goods}</a></h2>
  153. <div class="content">
  154. <ul class="look_items">
  155. {notempty name="new_flea_goods3"}
  156. {foreach name="new_flea_goods3" item="val"}
  157. <li class="fn-left">
  158. <div class="pic">
  159. <span class="thumb size125">
  160. <i></i>
  161. <a target="_blank" title="{$val.goods_name}" href="{$Think.HOME_SITE_URL}/Fleagoods/index/?goods_id={$val.goods_id}"><img height="125" width="125" onload="javascript:ResizeImage(this,125,125);" src="{:flea_thumb($val['goods_image'])}" /></a>
  162. </span>
  163. </div>
  164. <p>{$val.flea_quality}{$Think.lang.flea_as_new}<span class="price orange">{$val.goods_store_price}</span>{$Think.lang.flea_index_transfer}</p>
  165. </li>
  166. {/foreach}
  167. {/notempty}
  168. </ul>
  169. </div>
  170. </div>
  171. <div class="fn-clear"></div>
  172. <div id="fourth_items">
  173. <h2><strong class="head_title_1">{$Think.lang.flea_shopping_theme}</strong><i class="head_title_2"></i></h2>
  174. <ul>
  175. {if !empty($adv_four)}
  176. {foreach name='adv_four' item='v'}
  177. <li class="fn-left">
  178. <a href="{:url('Advclick/Advclick',['adv_id'=>$v['adv_left']['adv_id']])}" target="_blank" title="">
  179. <img class="lazyload" data-original="{:ds_get_pic(ATTACH_ADV,$v.adv_code)}" style="{$v.adv_style|default=''}">
  180. </a>
  181. </li>
  182. {/if}
  183. </ul>
  184. </div>
  185. <div class="fn-clear"></div>
  186. <div id="five_items">
  187. <div class="scrolldoorFrame">
  188. <h2><strong class="head_title_1">{$Think.lang.flea_classification_goods}</strong><i class="head_title_2"></i></h2>
  189. <ul class="scrollUl">
  190. {notempty name="show_flea_goods_class_list"}
  191. {php}$i=1;{/php}
  192. {foreach name="show_flea_goods_class_list" item="val" }
  193. <li class="sd0{if $i==1}{$i}{else/}2{/if}" id="m0{php}echo $i++;{/php}"><span>{$val.class_name}</span></li>
  194. {/foreach}
  195. {/notempty}
  196. </ul>
  197. <div class="bor03 cont">
  198. <div class="cc">
  199. {notempty name="show_flea_goods_class_list"}
  200. {php}$i=1;{/php}
  201. {foreach name="show_flea_goods_class_list" item="val" }
  202. {php}$i++;{/php}
  203. <ul>
  204. {foreach name="$val.goods" item="v"}
  205. <li>
  206. <div class="pic">
  207. <span class="thumb size120">
  208. <i></i>
  209. <a target="_blank" title="{$v.goods_name}" href="{$Think.HOME_SITE_URL}/Fleagoods/index/?goods_id={$v.goods_id}"><img height="120" width="120" onload="javascript:ResizeImage(this,120,120);" src="{:flea_thumb($v['goods_image'])}" /></a></span></div>
  210. <p>{$v.flea_quality}{$Think.lang.flea_as_new}&nbsp;&nbsp;&nbsp;<span class="price orange">{:intval($v['goods_store_price'])}</span>{$Think.lang.flea_index_transfer}</p>
  211. </li>
  212. {/foreach}
  213. </ul>
  214. {/foreach}
  215. {/notempty}
  216. </div>
  217. </div>
  218. </div>
  219. </div>
  220. </div>
  221. {/block}