home.wxml 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <view class="bg">
  2. <!-- 顶部导航 -->
  3. <view class="navbar" style="top:{{statusBarHeight}}px" bindtap="tosearch">
  4. <view class="page__hd">
  5. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/search.png"></image>
  6. <view class="page__desc">{{word}}</view>
  7. </view>
  8. </view>
  9. <!-- <view class="newyear" bindtap="newyear">新年入口</view> -->
  10. <view class="home">
  11. <view class="swiper-container">
  12. <swiper class="swiper" indicator-dots="{{swiper.indicatorDots}}" current="{{swiperCurrent}}" indicator-color="#fff" indicator-active-color="#eab86a" autoplay="{{swiper.autoplay}}" interval="{{swiper.interval}}">
  13. <block wx:for="{{bannerList}}" wx:key="{{index}}">
  14. <swiper-item>
  15. <image src="{{item.img}}" class="swiperImage" bindtap="toColumn" data-val="{{item}}" />
  16. </swiper-item>
  17. </block>
  18. </swiper>
  19. <!--current="{{swiperCurrent}}"-->
  20. <!--<view class="swiper-dots">
  21. <block wx:for="{{bannerList}}" wx:key="{{index}}">
  22. <view class="swiper-dot {{index == swiperCurrent ? 'swiper-active' : ''}}"></view>
  23. </block>
  24. </view>-->
  25. </view>
  26. <view class="selectitem">
  27. <!--<navigator url="{{item.url}}" hover-class="none" open-type="switchTab" wx:if="{{}}">
  28. </navigator>-->
  29. <view wx:key="{{index}}" bindtap="toviewfunc" data-val="{{item}}" wx:for="{{iconslist}}" wx:if="{{item.id != 19}}" class="item-box">
  30. <image src="{{item.cover}}" class="item-index" />
  31. <view class="item-name"><!-- <i wx:if="{{!item.use_quan}}" style="display: inline-block;background: #F44336;color: #fff;padding: 0px 5px;font-size: 11px;line-height: 35rpx;margin-right: 10rpx;vertical-align: middle;">特惠</i> -->{{item.name}}</view>
  32. </view>
  33. <!-- 员工专区 -->
  34. <view wx:key="{{index}}" bindtap="toviewfunc" data-val="{{item}}" wx:for="{{iconslist}}" wx:if="{{item.id == 19 && info['user']['employ']}}" class="item-box">
  35. <image src="{{item.cover}}" class="item-index" />
  36. <view class="item-name"><!-- <i wx:if="{{!item.use_quan}}" style="display: inline-block;background: #F44336;color: #fff;padding: 0px 5px;font-size: 11px;line-height: 35rpx;margin-right: 10rpx;vertical-align: middle;">特惠</i> -->{{item.name}}</view>
  37. </view>
  38. <!-- <view bindtap="tocentcart" class="item-box">
  39. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/cent.png" class="item-index" />
  40. <view class="item-name">积分专区</view>
  41. </view>
  42. <view bindtap="tolive" class="item-box">
  43. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/zhibo.jpg" class="item-index" />
  44. <view class="item-name">直播</view>
  45. </view> -->
  46. <!-- <view bindtap="todz">
  47. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/shop_apply.png" class="item-index" wx:if="{{userinfo.rank < 2}}"/>
  48. <view class="item-name" wx:if="{{userinfo.rank < 2}}">申请店长</view>
  49. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/shop_zone.png" class="item-index" wx:if="{{userinfo.rank >= 2}}"/>
  50. <view class="item-name" wx:if="{{userinfo.rank >= 2}}">店长专区</view>
  51. </view> -->
  52. <!-- <view bindtap="tofhvd" class="item-box">
  53. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/newicon5.png" class="item-index" />
  54. <view class="item-name">凤凰V雕</view>
  55. </view>
  56. <view bindtap="toabout" class="item-box">
  57. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/about.png" class="item-index" />
  58. <view class="item-name">关于商城</view>
  59. </view>
  60. <view bindtap="topyq" class="item-box">
  61. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/pyq.png" class="item-index" />
  62. <view class="item-name">发圈素材</view>
  63. </view> -->
  64. <!-- 新增 -->
  65. <!-- <view bindtap="togrhl" class="item-box">
  66. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/newicon2.png" class="item-index" />
  67. <view class="item-name">个人护理</view>
  68. </view>
  69. <view bindtap="tojjry" class="item-box">
  70. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/newicon1.png" class="item-index" />
  71. <view class="item-name">家居日用</view>
  72. </view>
  73. <view bindtap="toyszq" class="item-box">
  74. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/yszq.png" class="item-index" />
  75. <view class="item-name">养生食品</view>
  76. </view>
  77. <view bindtap="toygyp" class="item-box">
  78. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/newicon4.png" class="item-index" />
  79. <view class="item-name">一国一品</view>
  80. </view>
  81. <view bindtap="tothzq" class="item-box">
  82. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/navigation_icons/newicon3.png" class="item-index" />
  83. <view class="item-name">特惠专区</view>
  84. </view> -->
  85. </view>
  86. <view class="column" wx:if="{{vershow}}" wx:if="{{firstProject.length > 0}}">
  87. <view class="first-project">
  88. <image src="{{item.cover}}" wx:key="{{index}}" wx:for="{{firstProject}}" bindtap="toColumn" data-val="{{item}}" class="first-project__image" />
  89. <view class="clean"></view>
  90. </view>
  91. <view class="second-project">
  92. <image src="{{item.cover}}" wx:key="{{index}}" wx:for="{{secondProject}}" bindtap="toColumn" data-val="{{item}}" class="second-project__image" />
  93. <view class="clean"></view>
  94. </view>
  95. </view>
  96. <view class="seckill" wx:if="{{nowseckill_data != ''}}">
  97. <!-- new -->
  98. <view class="seckill-top">
  99. <view class="seckill-title">
  100. <view class="seckill-time">
  101. <view wx:if="{{nowseckill_data['state'] === 'seckill'}}">
  102. <view class="time-click">
  103. <!--<view class="time-item time-kuang1">{{msecond}}</view>-->
  104. <view class="time-item time-kuang">{{second}}</view>
  105. <view class="time-item time-color"> : </view>
  106. <view class="time-item time-kuang">{{min}}</view>
  107. <view class="time-item time-color"> : </view>
  108. <view class="time-item time-kuang">{{hour}}</view>
  109. </view>
  110. <view class="time-text">本期剩余时间</view>
  111. </view>
  112. <view wx:if="{{nowseckill_data['state'] === 'preparing'}}">
  113. <!-- <view wx:if="{{nowseckill_data['showtime'] == 12}}" class="time-text" style="font-weight:600;padding-right:0">当天<text style="color:#f85550">中午{{nowseckill_data['showtime']}}点</text>开始 , 敬请期待 ! </view>
  114. <view wx:if="{{nowseckill_data['showtime'] < 12}}" class="time-text" style="font-weight:600;padding-right:0">当天<text style="color:#f85550">早上{{nowseckill_data['showtime']}}点</text>开始 , 敬请期待 ! </view>
  115. <view wx:if="{{nowseckill_data['showtime'] > 12 && nowseckill_data['showtime'] <= 18}}" class="time-text" style="font-weight:600;padding-right:0">当天<text style="color:#f85550">下午{{nowseckill_data['showtime']}}点</text>开始 , 敬请期待 ! </view>
  116. <view wx:if="{{nowseckill_data['showtime'] > 18}}" class="time-text" style="font-weight:600;padding-right:0">当天<text style="color:#f85550">晚上{{nowseckill_data['showtime']}}点</text>开始 , 敬请期待 ! </view> -->
  117. <view class="time-click">
  118. <!--<view class="time-item time-kuang1">{{msecond}}</view>-->
  119. <view class="time-item time-kuang">{{second}}</view>
  120. <view class="time-item time-color"> : </view>
  121. <view class="time-item time-kuang">{{min}}</view>
  122. <view class="time-item time-color"> : </view>
  123. <view class="time-item time-kuang">{{hour}}</view>
  124. </view>
  125. <view class="time-text">距离秒杀开始时间</view>
  126. </view>
  127. </view>
  128. </view>
  129. <view><image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/neverse/seckill.png" class="seckill-img" /></view>
  130. </view>
  131. <!-- old -->
  132. <!-- <view class="seckill-top">
  133. <view class="seckill-title">
  134. <view class="seckill-time">
  135. <view wx:if="{{changeshow === 'seckill'}}">
  136. <view class="time-click">
  137. <view class="time-item time-kuang">{{second}}</view>
  138. <view class="time-item time-color"> : </view>
  139. <view class="time-item time-kuang">{{min}}</view>
  140. <view class="time-item time-color"> : </view>
  141. <view class="time-item time-kuang">{{hour}}</view>
  142. </view>
  143. <view class="time-text">本期剩余时间</view>
  144. </view>
  145. <view wx:if="{{changeshow === 'end'}}">
  146. <view class="time-text" style="font-weight:600;padding-right:0">本期已结束</view>
  147. </view>
  148. <view wx:if="{{changeshow === 'none'}}">
  149. <view class="time-text" style="font-weight:600;padding-right:0">暂无秒杀</view>
  150. </view>
  151. <view wx:if="{{changeshow === 'preparing'}}">
  152. <view wx:if="{{showtime == 12}}" class="time-text" style="font-weight:600;padding-right:0">当天<text style="color:#f85550">中午{{showtime}}点</text>开始 , 敬请期待 ! </view>
  153. <view wx:if="{{showtime < 12}}" class="time-text" style="font-weight:600;padding-right:0">当天<text style="color:#f85550">早上{{showtime}}点</text>开始 , 敬请期待 ! </view>
  154. <view wx:if="{{showtime > 12 && showtime <= 18}}" class="time-text" style="font-weight:600;padding-right:0">当天<text style="color:#f85550">下午{{showtime}}点</text>开始 , 敬请期待 ! </view>
  155. <view wx:if="{{showtime > 18}}" class="time-text" style="font-weight:600;padding-right:0">当天<text style="color:#f85550">晚上{{showtime}}点</text>开始 , 敬请期待 ! </view>
  156. </view>
  157. </view>
  158. </view>
  159. <view><image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/neverse/seckill.png" class="seckill-img" /></view>
  160. </view> -->
  161. <!-- <view class="seckill-scrol">
  162. <scroll-view scroll-x="true" class="time-nav" scroll-into-view="{{toView}}" scroll-left="{{navScrollLeft}}" scroll-with-animation="{{true}}">
  163. <view class="time-part" wx:for="{{seckilltimelist}}" wx:for-index="idx" wx:key="{{idx}}" id="a{{item.date_format}}">
  164. <view class="{{currentTab === item.date_format ?'active':''}}" data-val="{{idx}}" data-current="{{item.state}}" data-showtime="{{item.start_time}}" data-time="{{item.date_format}}" wx:show="{{!change}}" bindtap="switchtime">
  165. <view class="{{currentTab === idx ?'active':''}}" data-val="{{idx}}" data-current="{{item.state}}" data-showtime="{{item.start_time}}" data-time="{{item.date_format}}" wx:show="{{change}}" bindtap="switchtime">
  166. <view class="part-text"><format-time type="formatmonth2" value="{{item.date}}"></format-time></view>
  167. <view class="part-text1">{{item.state_cn}}</view>
  168. <view class="{{currentTab === item.date_format ?'part-bottom':''}}" wx:show="{{!change}}"></view>
  169. <view class="{{currentTab === idx ?'part-bottom':''}}" wx:show="{{change}}"></view>
  170. </view>
  171. </view>
  172. </view>
  173. </scroll-view>
  174. </view> -->
  175. <view>
  176. <!-- <view class="seckill-teambuy" wx:if="{{false}}">
  177. <view class="teambuy-top">
  178. <view class="teambuy-top-left">
  179. <image src="" class="teambuy-buyimg" />
  180. </view>
  181. <view class="teambuy-top-right">
  182. <view class="teambuy-buytext">限时特价团购</view>
  183. <view class="teambuy-buytext1">¥88.88</view>
  184. <view class="teambuy-buytext2">¥128.88</view>
  185. </view>
  186. <view class="clear"></view>
  187. </view>
  188. <view class="teambuy-bottom">
  189. <view class="teambuy-bottom-left">
  190. <view class="teambuy-bottom-title">
  191. 啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦
  192. </view>
  193. <view>
  194. <view>
  195. <image class="teambuy-bottom-shopcar" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/neverse/shopcar.png" />
  196. </view>
  197. <view class="teambuy-bottom-shoptext">
  198. 剩余888份
  199. </view>
  200. <view class="clear"></view>
  201. </view>
  202. </view>
  203. <view class="teambuy-bottom-right">
  204. <view class="teambuy-bottom-btn">立即抢购</view>
  205. </view>
  206. <view class="clear"></view>
  207. </view>
  208. </view> -->
  209. <view class="seckill-project" wx:if="{{killgoodslist.length > 0}}" wx:for="{{killgoodslist}}" wx:key="{{index}}" bindtap="toProject" data-val="{{item.id}}">
  210. <view class="seckill-project-left">
  211. <image class="seckill-project-img" src="{{item.cover}}" />
  212. </view>
  213. <view class="seckill-project-right">
  214. <view class="seckill-project-text1">{{item.name}}</view>
  215. <view class="seckill-project-text2">已售出{{item.sold_count}}件</view>
  216. <view>
  217. <view class="seckill-project-moneypart">
  218. <view class="seckill-moneypart-text">¥{{item.price / 100}}</view>
  219. <view class="seckill-moneypart-text1">¥{{item.seckill_show_price / 100}}</view>
  220. </view>
  221. <view class="seckill-project-btnpart">
  222. <view class="seckill-project-btn" wx:if="{{item.seckill_state === 'seckill' && leftTime > 0 && item.left_count > 0}}">立即抢购</view>
  223. <view class="seckill-project-btn othercolor" wx:if="{{item.seckill_state === 'preparing'}}" bindtap="toProject" data-val="{{item.id}}">准备中...</view>
  224. <view class="seckill-project-btn othercolor1" wx:if="{{item.seckill_state === 'end' || leftTime < 0}}" bindtap="toProject" data-val="{{item.id}}">秒杀结束</view>
  225. <view class="seckill-project-btn othercolor2" wx:if="{{item.seckill_state === 'seckill' && item.left_count <= 0 && leftTime > 0}}" bindtap="toProject" data-val="{{item.id}}">已售罄</view>
  226. </view>
  227. </view>
  228. </view>
  229. </view>
  230. <view class="seckill-no" wx:if="{{killgoodslist.length == 0}}">
  231. <image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/home/no.png" class="seckill-no-img"/>
  232. <!--<view class="seckill-no-text">暂无秒杀活动</view>-->
  233. </view>
  234. </view>
  235. </view>
  236. <!--
  237. <view class="teamshopping" wx:if="{{zhunongList.length}}">
  238. <view class="teamshopping-title"></view>
  239. <view><image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/neverse/teambuy.png" class="teamshopping-titleimg" /></view>
  240. <view class="teamshopping-item" wx:key="{{index}}" wx:for="{{zhunongList}}" data-val="{{item.id}}" data-state="{{item.state}}" bindtap="toZhunong">
  241. <view class="teamshopping-top">
  242. <view class="teamshopping-topleft">
  243. <image src="{{item.thumb_img}}" class="teamshopping-img" />
  244. </view>
  245. <view class="teamshopping-topright">
  246. <view class="circle" wx:if="{{percent[index] <= 50.00 }}">
  247. <view class="circle_left" style="transform:rotate({{0}}deg)">
  248. <view class="clip_left"></view>
  249. </view>
  250. <view class="circle_right" style="transform:rotate({{percent[index] * 3.6 }}deg);background:#eee">
  251. <view class="clip_right"></view>
  252. </view>
  253. <view class="mask">
  254. <text>{{percent[index]}}</text>%
  255. </view>
  256. </view>
  257. <view class="circle" wx:if="{{percent[index] >= 100.00}}">
  258. <view class="circle_left" style="transform:rotate({{(100-50) * 3.6}}deg)">
  259. <view class="clip_left"></view>
  260. </view>
  261. <view class="circle_right" style="transform:rotate({{0}}deg);background:#ff7655">
  262. <view class="clip_right"></view>
  263. </view>
  264. <view class="mask">
  265. <text>{{percent[index]}}</text>%
  266. </view>
  267. </view>
  268. <view class="circle" wx:if="{{percent[index] > 50.00 && percent[index] < 100.00}}">
  269. <view class="circle_left" style="transform:rotate({{(percent[index]-50) * 3.6}}deg)">
  270. <view class="clip_left"></view>
  271. </view>
  272. <view class="circle_right" style="transform:rotate({{0}}deg);background:#ff7655">
  273. <view class="clip_right"></view>
  274. </view>
  275. <view class="mask">
  276. <text>{{percent[index]}}</text>%
  277. </view>
  278. </view>
  279. <view class="end">完成度</view>
  280. <view class="clean"></view>
  281. </view>
  282. <view class="clear"></view>
  283. </view>
  284. <view class="teamshopping-bottom">
  285. <view class="teamshopping-name">{{item.title}}</view>
  286. <view class="teamshopping-moneypart">
  287. <view class="teamshopping-text">单价</view>
  288. <view class="teamshopping-text3">{{item.min_project_way_price / 100}}</view>
  289. <view class="teamshopping-text1">元起</view>
  290. <view class="teamshopping-text2" wx:if="{{item.state !== 2}}">
  291. <text wx:if="{{item.left_copies_min === item.left_copies_max}}">剩余份数 {{item.left_copies_min}}份</text>
  292. <text wx:if="{{item.left_copies_min !== item.left_copies_max && !item.left_copies_min}}">剩余份数 {{item.left_copies_max}}份</text>
  293. <text wx:if="{{item.left_copies_min !== item.left_copies_max && item.left_copies_min}}">剩余份数 {{item.left_copies_min}}~{{item.left_copies_max}}份</text>
  294. </view>
  295. <view class="teamshopping-text2" wx:if="{{item.state === 2}}">
  296. <text wx:if="{{item.min_funding === item.max_funding}}">共团购 {{item.current_funding / item.unit_price}}份</text>
  297. <text wx:if="{{item.min_funding !== item.max_funding}}">共团购 {{item.min_funding / item.unit_price}} ~ {{item.current_funding / item.unit_price}}份</text>
  298. </view>
  299. <view class="project-jizhu" wx:if="{{item.state === 1}}">进行中</view>
  300. <view class="project-no" wx:if="{{item.state === 0}}">未开始</view>
  301. <view class="project-chenggong" wx:if="{{item.state === 2}}">已完成</view>
  302. <view class="clear"></view>
  303. </view>
  304. </view>
  305. </view>
  306. </view>
  307. -->
  308. <!-- <view class="recommend">
  309. <text class="recommend-title">首选商品</text>
  310. <view class="recommend-bg">
  311. <view>
  312. <image class="recommend-image" src="{{recommend.url}}"></image>
  313. <view class="recommend-info">
  314. <text class="recommend-projectTitle ellipsisLn">{{recommend.title}}</text>
  315. <view class="recommend-price">{{recommend.price / 100}}元</view>
  316. <view class="recommend-point">(或{{recommend.point}}提货券)</view>
  317. </view>
  318. <view class="clean"></view>
  319. </view>
  320. <navigator url="../projects/projects" open-type="switchTab" class="recommend-more">查看详情</navigator>
  321. </view>
  322. </view> -->
  323. <!--<view class="projects" wx:if="{{zhunongList.length}}">
  324. <view class="projects-title">————————— <text style="color: #98a4b0">团购优选</text> —————————</view>
  325. <view class="projectbg">
  326. <view class="project1" wx:key="{{index}}" wx:for="{{zhunongList}}" data-val="{{item.id}}" data-state="{{item.state}}" bindtap="toZhunong">
  327. <image class="project-image" src="{{item.thumb_img}}"></image>
  328. <view class="project-describe">
  329. <view class="project-title1">{{item.title}}</view>
  330. <view class="project-count1" wx:if="{{item.state !== 2}}">
  331. <text wx:if="{{item.left_copies_min === item.left_copies_max}}">剩余份数 {{item.left_copies_min}}份</text>
  332. <text wx:if="{{item.left_copies_min !== item.left_copies_max && !item.left_copies_min}}">剩余份数 {{item.left_copies_max}}份</text>
  333. <text wx:if="{{item.left_copies_min !== item.left_copies_max && item.left_copies_min}}">剩余份数 {{item.left_copies_min}}~{{item.left_copies_max}}份</text>
  334. </view>
  335. <view class="project-count1" wx:if="{{item.state === 2}}">
  336. <text wx:if="{{item.min_funding === item.max_funding}}">共团购 {{item.current_funding / item.unit_price}}份</text>
  337. <text wx:if="{{item.min_funding !== item.max_funding}}">共团购 {{item.min_funding / item.unit_price}} ~ {{item.current_funding / item.unit_price}}份</text>
  338. </view>
  339. <view class="project-price1"><text style="color:#bbbbbb;padding-right:30rpx">单价</text><text style="font-size: 35rpx">{{item.min_project_way_price / 100}}</text> 元起</view>
  340. <view class="clean"></view>
  341. </view>
  342. <view class="project-jizhu" wx:if="{{item.state === 1}}">{{item.state_cn}}</view>
  343. <view class="project-no" wx:if="{{item.state === 0}}">{{item.state_cn}}</view>
  344. <view class="project-chenggong" wx:if="{{item.state === 2}}">{{item.state_cn}}</view>
  345. <view class="project-jieshu" wx:if="{{item.state === 3}}">{{item.state_cn}}</view>
  346. <view class="project-tuikuan" wx:if="{{item.state === 4}}">{{item.state_cn}}</view>
  347. <view class="clean"></view>
  348. <view class="project-jindu">
  349. <view class="jindu">进度</view>
  350. <progress style="flex:5;" percent="{{percent[index]}}" stroke-width="10" activeColor="#fe7554"/>
  351. <view class="jindu-percent">{{percent[index]}}%</view>
  352. </view>
  353. </view>
  354. </view>
  355. </view>-->
  356. <!--
  357. <text class="jindu">进度</text>
  358. <progress percent="{{percent[index]}}" stroke-width="10" activeColor="#fe7554"/>
  359. <text class="jindu-percent">{{percent[index]}}%</text>-->
  360. <view class="projects">
  361. <!--<view class="projects-title">————————— <text style="color: #98a4b0">精选推荐</text> —————————</view>-->
  362. <view class="newprojects-title">
  363. <view class="sortlist">
  364. <!-- <view class="sortlist-item" bindtap="sortchangenormal">热门精选</view>
  365. <view class="sortlist-item" bindtap="salesort">销量排行 <image src="../../images/footer/up.png" wx:if="{{sale_sort == 2}}"/><image src="../../images/footer/down.png" wx:if="{{sale_sort == 1}}"/></view>
  366. <view class="sortlist-item" bindtap="pricesort">价格排序 <image src="../../images/footer/up.png" wx:if="{{price_sort == 2}}"/><image src="../../images/footer/down.png" wx:if="{{price_sort == 1}}"/></view> -->
  367. <!-- 新调整 -->
  368. <view class="sortlist-item {{zonesItem.id == currentZones?'sortlist-item-checked' : ''}}" bindtap="selectzones" wx:for='{{zones}}' wx:for-item="zonesItem" data-id='{{zonesItem.id}}'>{{zonesItem.name}}</view>
  369. </view>
  370. </view>
  371. <view><image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/neverse/goods.png" class="newprojects-titleimg" /></view>
  372. <view class="projectbg">
  373. <view wx:key="{{index}}" wx:for="{{productsList}}">
  374. <view wx:if="{{!item.video_state}}" bindtap="toProject" data-val="{{item.id}}">
  375. <view class="project-pack" wx:if="{{item.package}}">
  376. <view class="project-left-pack">
  377. <view class="project-title ellipsisLn" style="min-height: 48rpx;max-height:102">
  378. <i style="display: inline-block;background: #F44336;color: #fff;padding: 0px 5px;font-size: 11px;line-height: 35rpx;margin-right: 10rpx;vertical-align: middle;">{{item.sale_zone_name}}</i>
  379. {{item.name}}
  380. </view>
  381. <view class="project-pack-list">
  382. <view wx:for="{{item.package_list}}" wx:for-item="pack" wx:for-index="ind">
  383. <p wx:if="{{ind < 3}}">{{pack.item_title}} x{{pack.nums}}</p>
  384. <p wx:if="{{item.package_list.length > 3 && ind == 3}}">...</p>
  385. </view>
  386. </view>
  387. <image wx:if="{{item.seckill_state === 'seckill'}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/miaosha.png" class="project-miaosha"/>
  388. <view class="project-price" style="padding-top:0;font-size: 35rpx;"><currency symbol="¥" value="{{item.price}}" />
  389. <view class="project-price" style="padding-top:20rpx;color: #999;text-decoration: line-through;font-size: 23rpx;display: inline;padding-left: 10rpx;"><currency symbol="¥" value="{{item.user_sale_price}}" /></view>
  390. <view class="project-count" style="float: right;padding-top: 0rpx;font-size: 23rpx;">已售{{item.sold_count}}件</view>
  391. </view>
  392. <view class="clear"></view>
  393. </view>
  394. <image class="project-right" src="{{item.cover}}"></image>
  395. <view class="project-out" wx:if="{{item.left_count <= 0}}"></view>
  396. <view class="project-green" wx:if="{{item.is_support_poor === 1}}"></view>
  397. <view class="project-stop" wx:if="{{todaysend < item.deliver_start_time && todaysend > item.deliver_stop_time}}">将于<format-time type="formatmonth2" value="{{item.deliver_start_time}}"></format-time>发货</view>
  398. <view class="clean"></view>
  399. </view>
  400. <view class="project" wx:else>
  401. <view class="project-left">
  402. <view class="project-title ellipsisLn">
  403. <i style="display: inline-block;background: #F44336;color: #fff;padding: 0px 5px;font-size: 11px;line-height: 35rpx;margin-right: 10rpx;vertical-align: middle;">{{item.sale_zone_name}}</i>
  404. {{item.name}}
  405. </view>
  406. <view class="project-count">已售{{item.sold_count}}件</view>
  407. <image wx:if="{{item.seckill_state === 'seckill'}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/miaosha.png" class="project-miaosha-img"/>
  408. <view wx:if="{{item.is_deliver}}" class="project-miaosha">
  409. <span wx:if="{{item.deliver_state == 1}}">预售</span>
  410. <span wx:if="{{item.deliver_state == 2}}">预售</span>
  411. <span wx:if="{{item.deliver_state == 3}}">已售罄</span>
  412. </view>
  413. <view class="project-price" style="padding-top:20rpx;color: #999;text-decoration: line-through;font-size: 23rpx;">零售价:<currency symbol="¥" value="{{item.user_sale_price}}" /><!-- <currency symbol="¥" value="{{item.price}}" wx:if="{{balance === 0 || balance < item.price}}"></currency><text wx:if="{{balance !== 0 && balance >= item.price}}" class="project-point">{{item.price}}提货券</text> --></view>
  414. <view class="project-price" style="float: left;padding-top:10rpx;width:50%;font-size: 35rpx;"><currency symbol="¥" value="{{item.price}}" /><!-- <currency symbol="¥" value="{{item.price}}" wx:if="{{balance === 0 || balance < item.price}}"></currency><text wx:if="{{balance !== 0 && balance >= item.price}}" class="project-point">{{item.price}}提货券</text> --></view>
  415. <!--<image wx:if="{{item.mall_balance_price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/integralpay_icon.png" style="float: right;width: 30rpx;height: 30rpx;margin-left: 5rpx;margin-top: 95rpx;"></image>
  416. <image wx:if="{{item.robo_balance_price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/rabbitpay_icon.png" style="float: right;width: 30rpx;height: 30rpx;margin-top: 94rpx;"></image>
  417. <image wx:if="{{item.price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/weixinpay.png" style="float: right;width: 30rpx;height: 30rpx;margin-top: 94rpx;margin-right: 5rpx;"></image>-->
  418. <view class="clear"></view>
  419. </view>
  420. <image class="project-right" src="{{item.cover}}"></image>
  421. <view class="project-out" wx:if="{{item.left_count <= 0}}"></view>
  422. <view class="project-green" wx:if="{{item.is_support_poor === 1}}"></view>
  423. <view class="project-stop" wx:if="{{todaysend < item.deliver_start_time && todaysend > item.deliver_stop_time}}">将于<format-time type="formatmonth2" value="{{item.deliver_start_time}}"></format-time>发货</view>
  424. <view class="clean"></view>
  425. </view>
  426. </view>
  427. <view wx:else class="project">
  428. <view class="video-box">
  429. <video class="project-video" custom-cache="{{false}}" bindtap='videoTap' data-index="{{index}}" id='video{{index}}' show-fullscreen-btn="{{false}}" enable-progress-gesture="{{false}}" src="{{item.video_url}}" controls="{{false}}" show-center-play-btn='{{false}}'>
  430. <cover-image class="playImg" src="../../images/footer/play.png" wx:if="{{!item.video_play}}"></cover-image>
  431. </video>
  432. <view class="project-title ellipsisLn"><i style="display: inline-block;background: #F44336;color: #fff;padding: 0px 5px;font-size: 11px;line-height: 35rpx;margin-right: 10rpx;vertical-align: middle;">{{item.sale_zone_name}}</i>{{item.name}}</view>
  433. <view class="project-price" style="color: #999;text-decoration: line-through;font-size: 23rpx;">零售价:<currency symbol="¥" value="{{item.user_sale_price}}" /><!-- <currency symbol="¥" value="{{item.price}}" wx:if="{{balance === 0 || balance < item.price}}"></currency><text wx:if="{{balance !== 0 && balance >= item.price}}" class="project-point">{{item.price}}提货券</text> --></view>
  434. <view class="project-price" style="float: left;font-size:35rpx;"><currency symbol="¥" value="{{item.price}}" /><!-- <currency symbol="¥" value="{{item.price}}" wx:if="{{balance === 0 || balance < item.price}}"></currency><text wx:if="{{balance !== 0 && balance >= item.price}}" class="project-point">{{item.price}}提货券</text> --></view>
  435. <view class="project-count">已售{{item.sold_count}}件</view>
  436. <image wx:if="{{item.seckill_state === 'seckill'}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/miaosha.png" class="project-miaosha"/>
  437. <view class="project-out" wx:if="{{item.left_count <= 0}}"></view>
  438. <view class="project-green" wx:if="{{item.is_support_poor === 1}}"></view>
  439. <view class="project-stop" wx:if="{{todaysend < item.deliver_start_time && todaysend > item.deliver_stop_time}}">将于<format-time type="formatmonth2" value="{{item.deliver_start_time}}"></format-time>发货</view>
  440. <view class="clean"></view>
  441. <button bindtap="toProject" data-val="{{item.id}}" class="video-buybtn">立即购买</button>
  442. </view>
  443. </view>
  444. </view>
  445. </view>
  446. </view>
  447. <!--
  448. <image src="../../images/custom/kefu.png" bindtap="toCustom" class="kefu-icon"/>
  449. -->
  450. </view>
  451. <view><text wx:if="{{projects_more}}" style="text-align: center;padding: 10px;color: #999;display: block;margin-bottom: 15px;">正在努力加载...</text></view>
  452. </view>