index.wxml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. <navbar parameter="{{parameter}}" logoUrl="{{logoUrl}}"></navbar>
  2. <view class="indexs">
  3. <view class="indexTip" style="top:{{navH+13}}rpx" hidden="{{hideTip}}">
  4. <view class="tip acea-row row-between-wrapper">
  5. <view class="text"
  6. >点击“<image src="/images/spot.png"></image>”添加到我的小程序, 微信首页下拉即可访问美天旺。</view
  7. >
  8. <view class="iconfont icon-guanbi1" bindtap="closeTip"></view>
  9. </view>
  10. </view>
  11. <Tabs color="#fff" active="{{activeTabIndex}}" bind:click="onTapCategoryTabItem">
  12. <Tab title="主场">
  13. <view class="wrapper">
  14. <!-- banner 图 -->
  15. <view class="slider-banner banner">
  16. <swiper
  17. indicator-dots="true"
  18. autoplay="{{autoplay}}"
  19. circular="{{circular}}"
  20. interval="3000"
  21. duration="500"
  22. indicator-color="rgba(0,0,0,0.2)"
  23. indicator-active-color="#ff3366"
  24. >
  25. <swiper-item wx:for="{{banner}}" wx:key="index">
  26. <navigator url="{{item.url ? item.url : ''}}" class="pictrue acea-row row-middle" hover-class="none">
  27. <image src="{{item.pic}}" class="slide-image"></image>
  28. </navigator>
  29. </swiper-item>
  30. </swiper>
  31. </view>
  32. <!-- 菜单按钮 -->
  33. <view class="nav acea-row">
  34. <block wx:for="{{menus}}" wx:key="index">
  35. <navigator
  36. url="{{item.url ? item.url : ''}}"
  37. wx:if="{{item.show == '1'}}"
  38. class="item"
  39. open-type="switchTab"
  40. hover-class="none"
  41. >
  42. <view class="pictrue">
  43. <image src="{{item.pic}}"></image>
  44. </view>
  45. <view>{{ item.name }}</view>
  46. </navigator>
  47. <navigator url="{{item.url ? item.url : ''}}" wx:else class="item" hover-class="none">
  48. <view class="pictrue">
  49. <image src="{{item.pic}}"></image>
  50. </view>
  51. <view>{{ item.name }}</view>
  52. </navigator>
  53. </block>
  54. </view>
  55. <!-- 新闻/跑马灯 -->
  56. <view class="news acea-row row-between-wrapper" wx:if="{{itemNew.length}}">
  57. <view class="pictrue">
  58. <image src="/images/news.png"></image>
  59. </view>
  60. <view class="swiperTxt">
  61. <swiper
  62. indicator-dots="{{indicatorDots}}"
  63. autoplay="{{autoplay}}"
  64. interval="2500"
  65. duration="{{duration}}"
  66. vertical="true"
  67. circular="true"
  68. >
  69. <block wx:for="{{itemNew}}" wx:key="index">
  70. <swiper-item catchtouchmove="catchTouchMove">
  71. <navigator
  72. wx:if="{{item.show == '1'}}"
  73. url="{{item.url}}"
  74. open-type="switchTab"
  75. class="acea-row row-between-wrapper"
  76. hover-class="none"
  77. >
  78. <view class="text acea-row row-between-wrapper">
  79. <view class="label border2" wx:if="{{item.id < 5 }}">最新</view>
  80. <view class="newsTitle line1">{{item.info}}</view>
  81. </view>
  82. <!-- <view class='iconfont icon-xiangyou'></view> -->
  83. </navigator>
  84. <navigator
  85. wx:else
  86. open-type="navigate"
  87. url="{{item.url}}"
  88. class="acea-row row-between-wrapper"
  89. hover-class="none"
  90. >
  91. <view class="text acea-row row-between-wrapper">
  92. <view class="label border2" wx:if="{{item.id%2 == 0}}">最新</view>
  93. <view class="newsTitle line1">{{item.info}}</view>
  94. </view>
  95. <!-- <view class='iconfont icon-xiangyou'></view> -->
  96. </navigator>
  97. </swiper-item>
  98. </block>
  99. </swiper>
  100. </view>
  101. </view>
  102. <!-- 优惠券领取
  103. <view class="scroll-coupon" wx:if="{{getCouponList.length}}">
  104. <scroll-view class="scroll-view_x" enable-flex scroll-x style="width:auto;overflow:hidden;">
  105. <view class="item {{item.is_use ? 'on' : ''}}"
  106. data-index="{{index}}"
  107. bindtap="receiveCoupon"
  108. wx:for="{{getCouponList}}"
  109. wx:key='index'>
  110. <image src="/images/label01.png" class="lable" wx:if='{{item.is_use === true}}'></image>
  111. <image src="/images/label02.png" class="lable" wx:elif='{{item.is_use === 2}}'></image>
  112. <view class="coupon-slide acea-row row-center-wrapper">
  113. <view class="money">
  114. ¥<text class="num">{{ item.coupon_price }}</text>
  115. </view>
  116. <view>
  117. <view class="minPrice">
  118. 满¥<text class="num">{{ item.use_min_price }}</text>可用
  119. </view>
  120. <view class="time">
  121. {{ item.start_time ? item.start_time + "-" : ""}}{{ item.end_time }}
  122. </view>
  123. </view>
  124. </view>
  125. </view>
  126. <view class="more"><navigator url="/pages/user_get_coupon/index" hover-class="none">领取更多</navigator></view>
  127. </scroll-view>
  128. </view>
  129. -->
  130. <!-- 活动区域图片
  131. <view class="activity" wx:if="{{activity.length}}">
  132. <view class="title"><image src="/images/title.png"></image></view>
  133. <view class="activityCon acea-row row-between-wrapper">
  134. <navigator url="{{item.link ? item.link : ''}}" class="left"
  135. style="{{'background-image: url(' + item.pic + ');'}}"
  136. hover-class="none" wx:for="{{activity}}" wx:if="{{index == 1}}" wx:key='index'>
  137. <view class="name">{{ item.title }}</view>
  138. <view class="info">{{ item.info }}</view>
  139. <view class='timeCon'>
  140. <text class='num'>{{countDownHour}}</text> :
  141. <text class='num'>{{countDownMinute}}</text> :
  142. <text class='num'>{{countDownSecond}}</text>
  143. </view>
  144. </navigator >
  145. <view class="right acea-row row-column-between">
  146. <navigator url="{{item.link ? item.link : ''}}"
  147. class="item" style="background-image: url('{{item.pic}}')"
  148. wx:for="{{activity}}" wx:key='index' hover-class="none" wx:if="{{index == 0 || index == 2}}">
  149. <view class="name">{{ item.title }}</view>
  150. <view class="info">{{ item.info }}</view>
  151. </navigator >
  152. </view>
  153. </view>
  154. </view>
  155. -->
  156. <!-- 直播列表 -->
  157. <view class="liveBroadcast" wx:if="{{liveList.length || liveInfo.roomid}}">
  158. <view class="publicTitle acea-row row-center-wrapper">
  159. <image src="/images/tv.png"></image>
  160. <navigator hover-class="none" url="/pages/first-new-product/index?type=3" class="more">更多 > </navigator>
  161. </view>
  162. <navigator
  163. wx:if="{{liveInfo.roomid}}"
  164. hover-class="none"
  165. url="plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id={{liveInfo.roomid}}"
  166. class="broadcast time"
  167. >
  168. <view class="pictrue">
  169. <image src="{{liveInfo.share_img}}"></image>
  170. <view class="label" wx:if="{{liveInfo.live_status == 101}}"
  171. ><text class="iconfont icon-zhibo"></text>直播中</view
  172. >
  173. <view class="label" wx:if="{{liveInfo.live_status == 103}}"
  174. ><text class="iconfont icon-zhibojieshux"></text>已结束</view
  175. >
  176. <view class="label" wx:if="{{liveInfo.live_status == 102}}"
  177. ><text class="iconfont icon-shijian"></text>直播时间 {{liveInfo._start_time}}</view
  178. >
  179. </view>
  180. <view class="text line1">{{liveInfo.name}}</view>
  181. </navigator>
  182. <view class="list" wx:if="{{liveList.length}}">
  183. <scroll-view class="scroll-view_x" scroll-x style="width: auto; overflow: hidden">
  184. <navigator
  185. hover-class="none"
  186. wx:for="{{liveList}}"
  187. wx:key="index"
  188. url="plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id={{item.roomid}}"
  189. class="item"
  190. >
  191. <view class="pictrue">
  192. <image src="{{item.share_img}}"></image>
  193. <view class="label" wx:if="{{item.live_status == 101}}"
  194. ><text class="iconfont icon-zhibo"></text>直播中</view
  195. >
  196. <view class="label" wx:if="{{item.live_status == 103}}"
  197. ><text class="iconfont icon-zhibojieshux"></text>已结束</view
  198. >
  199. <view class="label" wx:if="{{item.live_status == 102}}"
  200. ><text class="iconfont icon-shijian"></text>直播时间 {{item._start_time}}</view
  201. >
  202. </view>
  203. <view class="text line1">{{item.name}}</view>
  204. </navigator>
  205. </scroll-view>
  206. </view>
  207. </view>
  208. <!-- 秒杀,屏蔽
  209. <view class="flashSale" wx:if="{{seckillCont}}">
  210. <view class="title acea-row row-between row-bottom">
  211. <view class="left acea-row row-middle">
  212. <view class="pictrue">
  213. <image src="/images/buyTitle.png"></image>
  214. </view>
  215. <view class="text">
  216. <view>top sellers</view>
  217. <view class="chinese">拼手速抢惊喜 每日更新</view>
  218. </view>
  219. </view>
  220. <view class="right acea-row row-middle">
  221. <view class="item">
  222. <text class="iconfont icon-xuanzhong"></text>限时低价
  223. </view>
  224. <view class="item">
  225. <text class="iconfont icon-xuanzhong"></text>正品保证
  226. </view>
  227. </view>
  228. </view>
  229. <view class="pictrueBg"><image src="/images/timeBg.png"></image></view>
  230. <view class="timeItem">
  231. <scroll-view class="scroll-view_x" scroll-x scroll-with-animation scroll-left="{{scrollLeft}}">
  232. <view class="timeLen item {{killIndex==index?'on':''}}" data-index="{{index}}" bindtap="setTime" wx:for="{{timeList}}" wx:key='index'>
  233. <view class="time">{{ item.time }}</view>
  234. <view class="stateCon acea-row row-center-wrapper">
  235. <view class="state acea-row row-center-wrapper">
  236. {{ item.state }}
  237. </view>
  238. </view>
  239. </view>
  240. </scroll-view>
  241. </view>
  242. <view class="list">
  243. <scroll-view class="scroll-view_x acea-row" scroll-x style="width:auto;overflow:hidden;">
  244. <view class="item" wx:for="{{seckillList}}" wx:for-item="itemSeckill" wx:key='index'>
  245. <view class="pictrue" bindtap="goDetail" data-id="{{itemSeckill.id}}">
  246. <image src="{{itemSeckill.image}}"></image>
  247. <view class="bar">
  248. <view class="pos">
  249. <view class="num acea-row row-center-wrapper" style="width:{{itemSeckill.percent}}%;"></view>
  250. <view class="stock">已抢{{itemSeckill.percent}}%</view>
  251. </view>
  252. </view>
  253. </view>
  254. <view class="text">
  255. <view class="name line1">{{ itemSeckill.title }}</view>
  256. <view class="ot-money">
  257. ¥{{ itemSeckill.ot_price }}
  258. </view>
  259. <view class="money font-color">
  260. ¥<text class="num">{{ itemSeckill.price }}</text>
  261. </view>
  262. </view>
  263. </view>
  264. </scroll-view>
  265. </view>
  266. </view>
  267. -->
  268. <!-- 首发新品推荐图片
  269. <navigator
  270. url="{{lovely[0].link ? lovely[0].link : ''}}"
  271. class="advert"
  272. hover-class="none"
  273. wx:if="{{lovely.length}}">
  274. <image src="{{lovely[0].img}}"></image>
  275. </navigator>
  276. -->
  277. <!-- 不使用后台的首发新品图片
  278. <view class='advert' wx:if="{{newGoodsBananr}}">
  279. <block>
  280. <image src='{{newGoodsBananr}}'></image>
  281. </block>
  282. </view>
  283. -->
  284. <view class="newProducts" wx:if="{{info.firstList.length > 0}}">
  285. <!-- 首发新品 banner 固定图片 -->
  286. <view class="publicTitle acea-row row-center-wrapper">
  287. <image src="/images/newsTitle.png"></image>
  288. <navigator hover-class="none" url="/pages/first-new-product/index?type=3" class="more">更多 > </navigator>
  289. </view>
  290. <!-- 首发新品轮播图 -->
  291. <view class="newSwiper">
  292. <swiper
  293. autoplay="{{autoplay}}"
  294. circular="{{circular}}"
  295. interval="{{intervalNew}}"
  296. duration="{{durationNew}}"
  297. previous-margin="110px"
  298. next-margin="110px"
  299. bindchange="bindchange"
  300. >
  301. <swiper-item wx:for="{{info.firstList}}" wx:key="index">
  302. <view
  303. bindtap="goDetailType"
  304. data-items="{{item}}"
  305. class="item {{avtiveIndex===index?'active':'quiet'}}"
  306. >
  307. <image src="{{item.image}}" mode="widthFix"></image>
  308. <text
  309. class="pictrue_log_medium pictrue_log_class"
  310. wx:if="{{item.activity && item.activity.type ==='1'}}"
  311. >秒杀</text
  312. >
  313. <text
  314. class="pictrue_log_medium pictrue_log_class"
  315. wx:if="{{item.activity && item.activity.type === '2'}}"
  316. >砍价</text
  317. >
  318. <text
  319. class="pictrue_log_medium pictrue_log_class"
  320. wx:if="{{item.activity && item.activity.type === '3'}}"
  321. >拼团</text
  322. >
  323. </view>
  324. </swiper-item>
  325. </swiper>
  326. <view class="text" wx:for="{{info.firstList}}" wx:key="index">
  327. <view wx:if="{{index === avtiveIndex}}">
  328. <view class="name line1">{{ item.store_name }}</view>
  329. <view class="money font-color"> ¥<text class="num">{{ item.price }}</text> </view>
  330. </view>
  331. </view>
  332. </view>
  333. </view>
  334. <view class="recommend" wx:if="{{info.bastList.length || info.bastBanner.length}}">
  335. <!-- 精品推荐 banner 客户端固定 -->
  336. <view class="publicTitle acea-row row-center-wrapper">
  337. <image src="/images/boutiqueTitle.png"></image>
  338. <navigator hover-class="none" url="/pages/first-new-product/index?type=1" class="more">更多 > </navigator>
  339. </view>
  340. <!-- 精品推荐配图轮播 -->
  341. <view class="slider-banner recommendSwiper" wx:if="{{info.bastBanner.length}}">
  342. <swiper
  343. autoplay="true"
  344. indicator-dots="true"
  345. circular="{{circular}}"
  346. interval="3000"
  347. duration="500"
  348. indicator-color="rgba(0,0,0,0.2)"
  349. indicator-active-color="#ff3366"
  350. >
  351. <swiper-item wx:for="{{info.bastBanner}}" wx:key="index">
  352. <navigator url="{{item.url ? item.url : ''}}" class="pictrue acea-row row-middle" hover-class="none">
  353. <image src="{{item.img}}"></image>
  354. </navigator>
  355. </swiper-item>
  356. </swiper>
  357. </view>
  358. <!-- 精品推荐 产品列表 -->
  359. <view class="publicList acea-row row-between-wrapper">
  360. <view bindtap="goDetailType" data-items="{{item}}" class="item" wx:for="{{info.bastList}}" wx:key="index">
  361. <view class="pictrue">
  362. <image src="{{item.image}}"></image>
  363. <text
  364. class="pictrue_log_medium pictrue_log_class"
  365. wx:if="{{item.activity && item.activity.type ==='1'}}"
  366. >秒杀</text
  367. >
  368. <text
  369. class="pictrue_log_medium pictrue_log_class"
  370. wx:if="{{item.activity && item.activity.type === '2'}}"
  371. >砍价</text
  372. >
  373. <text
  374. class="pictrue_log_medium pictrue_log_class"
  375. wx:if="{{item.activity && item.activity.type === '3'}}"
  376. >拼团</text
  377. >
  378. </view>
  379. <view class="text">
  380. <view class="name line1">{{ item.store_name }}</view>
  381. <view class="acea-row row-between-wrapper">
  382. <view>
  383. <view class="money font-color"> ¥<text class="num">{{ item.price }}</text> </view>
  384. <!-- <view class="ot-money">¥{{ item.ot_price }}</view> -->
  385. </view>
  386. <view class="cart acea-row row-center-wrapper">
  387. <text class="iconfont icon-mzshopping"></text>
  388. </view>
  389. </view>
  390. </view>
  391. </view>
  392. </view>
  393. </view>
  394. <!-- 精品推荐 -->
  395. <view class="hotList" wx:if="{{likeInfo.length}}">
  396. <!-- 热门榜单 banner 客户端固定 -->
  397. <view class="publicTitle acea-row row-center-wrapper">
  398. <image src="/images/hotTitle.png"></image>
  399. <navigator url="/pages/first-new-product/index?type=2" class="more" hover-class="none">更多 > </navigator>
  400. </view>
  401. <view class="list acea-row">
  402. <navigator
  403. url="/pages/goods_details/index?id={{item.id}}"
  404. class="item"
  405. wx:for="{{likeInfo}}"
  406. wx:key="index"
  407. >
  408. <view class="pictrue">
  409. <image src="{{item.image}}"></image>
  410. <image src="/images/one01.png" class="icon" wx:if="{{index === 0}}"></image>
  411. <image src="/images/two02.png" class="icon" wx:if="{{index === 1}}"></image>
  412. <image src="/images/three03.png" class="icon" wx:if="{{index === 2}}"></image>
  413. </view>
  414. <view class="text">
  415. <view class="name line1">{{ item.store_name }}</view>
  416. <view class="money font-color">
  417. ¥<text class="num">{{ item.price }}</text>
  418. <!-- <text class="ot-money">¥{{ item.ot_price }}</text> -->
  419. </view>
  420. </view>
  421. </navigator>
  422. </view>
  423. </view>
  424. <view class="promotion" wx:if="{{benefit.length}}">
  425. <!-- 促销单品 banner -->
  426. <view class="publicTitle acea-row row-center-wrapper">
  427. <image src="/images/promotionTitle.png"></image>
  428. <navigator url="/pages/promotional-items/index" class="more" hover-class="none">更多 ></navigator>
  429. </view>
  430. <view class="publicList acea-row row-between-wrapper">
  431. <view bindtap="goDetailType" data-items="{{item}}" class="item" wx:for="{{benefit}}" wx:key="index">
  432. <view class="pictrue">
  433. <image src="{{item.image}}"></image>
  434. <text
  435. class="pictrue_log_medium pictrue_log_class"
  436. wx:if="{{item.activity && item.activity.type ==='1'}}"
  437. >秒杀</text
  438. >
  439. <text
  440. class="pictrue_log_medium pictrue_log_class"
  441. wx:if="{{item.activity && item.activity.type === '2'}}"
  442. >砍价</text
  443. >
  444. <text
  445. class="pictrue_log_medium pictrue_log_class"
  446. wx:if="{{item.activity && item.activity.type === '3'}}"
  447. >拼团</text
  448. >
  449. </view>
  450. <view class="text">
  451. <view class="name line1">{{ item.store_name }}</view>
  452. <view class="acea-row row-between-wrapper">
  453. <view>
  454. <view class="money font-color">
  455. ¥<text class="num">{{ item.price }}</text><text class="label bg-color">疯抢</text>
  456. </view>
  457. <view class="ot-money">¥{{ item.ot_price }}</view>
  458. </view>
  459. <view class="cart acea-row row-center-wrapper">
  460. <text class="iconfont icon-mzshopping"></text>
  461. </view>
  462. </view>
  463. </view>
  464. </view>
  465. </view>
  466. </view>
  467. <view class="recommendList" wx:if="{{hotProducts.length > 0}}">
  468. <!-- 海量精品 为您推荐 banner -->
  469. <view class="title">
  470. <image src="/images/becommendTitle.png"></image>
  471. </view>
  472. <view class="publicList acea-row row-between-wrapper">
  473. <view bindtap="goDetailType" data-items="{{item}}" wx:for="{{hotProducts}}" wx:key="index" class="item">
  474. <view class="pictrue">
  475. <image src="{{item.image}}"></image>
  476. <text
  477. class="pictrue_log_medium pictrue_log_class"
  478. wx:if="{{item.activity && item.activity.type ==='1'}}"
  479. >秒杀</text
  480. >
  481. <text
  482. class="pictrue_log_medium pictrue_log_class"
  483. wx:if="{{item.activity && item.activity.type === '2'}}"
  484. >砍价</text
  485. >
  486. <text
  487. class="pictrue_log_medium pictrue_log_class"
  488. wx:if="{{item.activity && item.activity.type === '3'}}"
  489. >拼团</text
  490. >
  491. </view>
  492. <view class="text">
  493. <view class="name line1">{{ item.store_name }}</view>
  494. <view class="acea-row row-between-wrapper">
  495. <view>
  496. <view class="money font-color"> ¥<text class="num">{{ item.price }}</text> </view>
  497. </view>
  498. <view class="cart acea-row row-center-wrapper">
  499. <text class="iconfont icon-mzshopping"></text>
  500. </view>
  501. </view>
  502. </view>
  503. </view>
  504. <view class="loadingicon acea-row row-center-wrapper" wx:if="{{hotProducts.length > 0}}">
  505. <text class="loading iconfont icon-jiazai" hidden="{{recommend.loading==false}}"></text>
  506. {{recommend.loadTitle}}
  507. </view>
  508. </view>
  509. </view>
  510. </view>
  511. </Tab>
  512. <Tab wx:for="{{prodCates.children}}" title="{{item.cate_name}}" wx:key="index">
  513. <!--黑洞星球活动-->
  514. <view wx:if="{{item.id === CATE_BLACKHOLE_ID}}">
  515. <Mine bind:onNeedLogin="onNeedLogin" id="mine"></Mine>
  516. </view>
  517. <!-- 其他活动 -->
  518. <view wx:else class="wrapper">
  519. <!-- 活动商品列表 -->
  520. <view class="classifyList acea-row row-between-wrapper">
  521. <view style="height: {{item.aboveShowRowIndex * rowHeight}}rpx;"></view>
  522. <view
  523. bindtap="goDetailType"
  524. data-items="{{productItem}}"
  525. class="item"
  526. wx:for="{{item.products}}"
  527. wx:for-item="productItem"
  528. wx:key="index"
  529. wx:if="{{productItem.isShow}}"
  530. >
  531. <view class="pictrue">
  532. <image src="{{productItem.image}}"></image>
  533. <text class="picture_plugin pictrue_log_class" wx:if="{{show_benefit}}">{{productItem.reputation}}</text>
  534. <text
  535. class="pictrue_log_medium pictrue_log_class"
  536. wx:if="{{productItem.activity && productItem.activity.type ==='1'}}"
  537. >秒杀</text
  538. >
  539. <text
  540. class="pictrue_log_medium pictrue_log_class"
  541. wx:if="{{productItem.activity && productItem.activity.type === '2'}}"
  542. >砍价</text
  543. >
  544. <text
  545. class="pictrue_log_medium pictrue_log_class"
  546. wx:if="{{productItem.activity && productItem.activity.type === '3'}}"
  547. >拼团</text
  548. >
  549. </view>
  550. <view class="text">
  551. <view class="name line1">{{ productItem.store_name }}</view>
  552. <view class="money font-color"> ¥<span class="num">{{ productItem.price }}</span> </view>
  553. <view class="acea-row row-between-wrapper">
  554. <!--view class="vipMoney" wx:if="{{productItem.vip_price && productItem.vip_price > 0}}">
  555. ¥{{ productItem.vip_price }}
  556. <image src="/images/vip.png"></image>
  557. </view-->
  558. <view class="sales">已售{{ productItem.sales }}件</view>
  559. </view>
  560. </view>
  561. </view>
  562. <view style="height: {{item.belowShowRowNum * rowHeight}}rpx;"></view>
  563. <view class="loadingicon acea-row row-center-wrapper">
  564. <text class="loading iconfont icon-jiazai" hidden="{{item.loading==false}}"></text>
  565. {{item.loadTitle}}
  566. </view>
  567. </view>
  568. <!-- 推荐产品展示 -->
  569. <view class="noCommodity" wx:if="{{productList.length==0 && where.page > 1}}">
  570. <view class="pictrue">
  571. <image src="/images/noShopper.png"></image>
  572. </view>
  573. <recommend host_product="{{hotProducts}}"></recommend>
  574. </view>
  575. </view>
  576. </Tab>
  577. </Tabs>
  578. </view>
  579. <!-- coupon-window window='{{window}}' couponList="{{couponList}}" bind:onClose="onClose"></coupon-window -->
  580. <authorize
  581. wx:if="{{ !isShowMine }}"
  582. bind:onLoadFun="onLoadFun"
  583. isGoIndex="{{isGoIndex}}"
  584. isHidden="{{isHidden}}"
  585. isAuto="{{isAuto}}"
  586. ></authorize>