index.wxml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. <!--index.wxml-->
  2. <view class="container">
  3. <view style="display: none; " class="address">
  4. <view class="name" bindtap="goCheckAddress">
  5. <image style="width: 28rpx;height: 36rpx;" src="/static/images/new/map.png" mode="widthFix"></image>
  6. <text class="jz-color address-name">{{addressInfo.address}}</text>
  7. <!-- <text class="shop-name" wx:if="{{addressInfo.shopId!=0&&addressInfo.shopName}}">{{addressInfo.shopName}}</text> -->
  8. <image style="width: 14rpx;height: 24rpx;" src="/static/images/new/arrow-right.png" mode="widthFix"></image>
  9. </view>
  10. <!-- <button class="shar" open-type="share" >
  11. <image src="/static/images/fenxiang.png"> </image>
  12. </button> -->
  13. <!-- <view class="warning" wx:if="{{addressInfo.shopId==0}}">您的地址不在服务范围内,换一个试试</view> -->
  14. </view>
  15. <view class="search">
  16. <!-- <picker mode="selector" style="font-size:32rpx" range="{{citys}}" value="{{cityIndex}}" bindchange="listenerCitySelected">
  17. <view style="width: 160rpx;text-align: center;display: flex;">
  18. <image style="width: 45rpx;height: 45rpx;" src="/static/images/address.png"></image>
  19. <view style="font-size:32rpx">{{city}}</view>
  20. </view>
  21. </picker> -->
  22. <navigator url="/pages/category/search/search" class="input">
  23. <!-- <van-icon name="search" style="color:gray"/> -->
  24. <image style="width: 26rpx;height: 26rpx;margin-right:20rpx;" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/search-new.png" mode="widthFix">
  25. </image>
  26. <text class="txt">搜索商品名称</text>
  27. <!-- 品质保洁,一搜就有 -->
  28. <!-- <text class="txt">商品搜索, 共{{goodsCount}}款好物</text> -->
  29. </navigator>
  30. </view>
  31. <!--<view class="no-login" wx:if="{{!hasLogin}}">
  32. <view class="c">
  33. <text>您还没有登录</text>
  34. <button open-type="getUserInfo" bindgetuserinfo="goLogin">
  35. <image class="wechat" src="/static/images/wechat.png"></image>
  36. 点击授权微信登录
  37. </button>
  38. </view>
  39. </view>-->
  40. <view class='login'>
  41. <swiper class="banner" indicator-dots="{{banner.length>1?true:false}}" autoplay="true" interval="3000" duration="1000" indicator-color="rgba(0, 192, 255, .2)" indicator-active-color="rgba(0, 192, 255)">
  42. <swiper-item wx:for="{{banner}}" wx:key="id">
  43. <block wx:if="{{item.link}}">
  44. <!-- <navigator url="{{item.link}}" > -->
  45. <image bind:tap="tbb" data-url="{{item.link}}" data-name="{{item.name}}" mode="aspectFill" src="{{item.url}}"></image>
  46. <!-- </navigator> -->
  47. </block>
  48. <block wx:else>
  49. <image mode="aspectFill" src="{{item.url}}"></image>
  50. </block>
  51. </swiper-item>
  52. </swiper>
  53. <view class="m-menu">
  54. <!--index拿前5个,最后一个固定所有-->
  55. <navigator url="/pages/category/category?id={{item.id}}" wx:if="{{index<4}}" wx:for="{{channel}}" wx:key="id" class="category-navi">
  56. <view class="category-item">
  57. <image src="{{item.iconUrl}}" ></image>
  58. <!-- <view class="item-name">{{item.name}}</view>
  59. <view class="item-desc">{{item.desc}}</view> -->
  60. </view>
  61. </navigator>
  62. <!-- <navigator class="item" open-type="switchTab" url="/pages/tabBar/catalog/catalog">
  63. <image src="/static/images/quanbufenlei.png" background-size="cover"></image>
  64. <text>全部分类</text>
  65. </navigator> -->
  66. </view>
  67. <!-- 超值周期 优选套餐 -->
  68. <!-- <navigator url="/pages/category/category?id={{item.id}}" wx:if="{{index>=4&&index<=6}}" wx:for="{{channel}}"
  69. wx:key="id">
  70. <view class="hot-item">
  71. <image src="{{item.iconUrl}}" mode="widthFix"></image>
  72. </view>
  73. </navigator> -->
  74. <view class="ad-wrapper">
  75. <navigator url="/pages/category/category?id=1036756" class="hot-item-nav">
  76. <view class="hot-item">
  77. <image src="{{'https://jzmall.lifejingzhi.com/file/jzmall/weixin/ad-02.png?'+randomNum}}"
  78. mode="widthFix"></image>
  79. </view>
  80. </navigator>
  81. <navigator url="/pages/category/category?id=1036038" class="hot-item-nav">
  82. <view class="hot-item">
  83. <image src="{{'https://jzmall.lifejingzhi.com/file/jzmall/weixin/ad-01.png?' +randomNum}}"
  84. mode="widthFix"></image>
  85. </view>
  86. </navigator>
  87. <!-- <image src="{{'https://jzmall.lifejingzhi.com/file/jzmall/weixin/ad-kt.png?' +randomNum}}"
  88. mode="widthFix" class="kt-img" catchtap="goJoin"></image> -->
  89. </view>
  90. <!-- <navigator url="/pages/ucenter/wx/join" >
  91. <view class="hot-item">
  92. <image src="https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/index/coupon.jpg" mode="widthFix"></image>
  93. </view>
  94. </navigator> -->
  95. <!--<view class="m-menu">
  96. <view class="row">
  97. <navigator class="item item-1 shoadow" wx:if="{{channel.length>=1}}" url="/pages/category/category?id={{channel[0].id}}">
  98. <text class="title">{{channel[0].name}}</text>
  99. <text class="subtitle">{{channel[0].keywords}}</text>
  100. <text class="border">上线专场</text>
  101. <image class="image1" src="{{channel[0].iconUrl}}" background-size="cover"></image>
  102. </navigator>
  103. <navigator wx:if="{{channel.length>=2}}" class="item item-2 image-margin shoadow" url="/pages/category/category?id={{channel[1].id}}">
  104. <text class="title">{{channel[1].name}}</text>
  105. <text class="subtitle">{{channel[1].keywords}}</text>
  106. <image class="image2" src="{{channel[1].iconUrl}}" background-size="cover"></image>
  107. </navigator>
  108. <navigator wx:if="{{channel.length>=3}}" class="item item-2 shoadow" url="/pages/category/category?id={{channel[2].id}}">
  109. <text class="title">{{channel[2].name}}</text>
  110. <text class="subtitle">{{channel[2].keywords}}</text>
  111. <image class="image2" src="{{channel[2].iconUrl}}" background-size="cover"></image>
  112. </navigator>
  113. </view>
  114. <view class="row">
  115. <navigator wx:if="{{channel.length>=4}}" class="item item-2 image-margin shoadow" url="/pages/category/category?id={{channel[3].id}}">
  116. <text class="title">{{channel[3].name}}</text>
  117. <text class="subtitle">{{channel[3].keywords}}</text>
  118. <image class="image2" src="{{channel[3].iconUrl}}" background-size="cover"></image>
  119. </navigator>
  120. <navigator wx:if="{{channel.length>=5}}" class="item item-2 image-margin shoadow" url="/pages/category/category?id={{channel[4].id}}">
  121. <text class="title">{{channel[4].name}}</text>
  122. <text class="subtitle">{{channel[4].keywords}}</text>
  123. <image class="image2" src="{{channel[4].iconUrl}}" background-size="cover"></image>
  124. </navigator>
  125. </view>
  126. </view>-->
  127. <!--
  128. <view class="a-section a-coupon" wx:if="{{coupon.length > 0}}">
  129. <view class="h">
  130. <view class="title">
  131. <view>
  132. <navigator url="/pages/coupon/coupon">
  133. <text class="txt">优惠券</text>
  134. </navigator>
  135. </view>
  136. </view>
  137. </view>
  138. <view wx:if="{{coupon.length>0}}" class="b">
  139. <view class="item" wx:for="{{coupon}}" wx:for-index="index" wx:for-item="item" wx:key="id" bindtap="getCoupon" data-index="{{item.id}}">
  140. <view class="tag">{{item.tag}}</view>
  141. <view class="content">
  142. <view class="left">
  143. <view class="discount">{{item.discount}}元</view>
  144. <view class="min"> 满{{item.min}}元使用</view>
  145. </view>
  146. <view class="right">
  147. <view class="name">{{item.name}}</view>
  148. <view class="desc">{{item.desc}}</view>
  149. <view class="time" wx:if="{{item.days != 0}}">有效期:{{item.days}}天</view>
  150. <view class="time" wx:else> 有效期:{{item.startTime}} - {{item.endTime}}</view>
  151. </view>
  152. </view>
  153. </view>
  154. </view>
  155. </view>
  156. <view class="a-section a-groupon" wx:if="{{groupons.length > 0}}">
  157. <view class="h">
  158. <view class="title">
  159. <view>
  160. <navigator url="/pages/groupon/grouponList/grouponList">
  161. <text class="txt">团购专区</text>
  162. </navigator>
  163. </view>
  164. </view>
  165. </view>
  166. <view class="b">
  167. <view class="item" wx:for="{{groupons}}" wx:for-index="index" wx:for-item="item" wx:key="id">
  168. <navigator url="/pages/goods/goods?id={{item.id}}">
  169. <image class="img" src="{{item.picUrl}}" background-size="cover"></image>
  170. <view class="right">
  171. <view class="text">
  172. <view class="header">
  173. <text class="name">{{item.name}}</text>
  174. <van-tag type="primary">{{item.grouponMember}}人成团</van-tag>
  175. </view>
  176. <view class="expire">
  177. <van-tag round type="warning">有效期至 {{item.expireTime}}</van-tag>
  178. </view>
  179. <text class="desc">{{item.brief}}</text>
  180. <view class="price">
  181. <view class="counterPrice">现价:¥{{item.retailPrice}}</view>
  182. <view class="retailPrice">团购价:¥{{item.grouponPrice}}</view>
  183. </view>
  184. </view>
  185. </view>
  186. </navigator>
  187. </view>
  188. </view>
  189. </view>
  190. <view class="a-section a-brand">
  191. <view class="h">
  192. <navigator url="../brand/brand">
  193. <text class="txt">品牌制造商直供</text>
  194. </navigator>
  195. </view>
  196. <view class="b">
  197. <view class="item item-1" wx:for="{{brands}}" wx:key="id">
  198. <navigator url="/pages/brandDetail/brandDetail?id={{item.id}}">
  199. <view class="wrap">
  200. <image class="img" src="{{item.picUrl}}" mode="aspectFill"></image>
  201. <view class="mt">
  202. <text class="brand">{{item.name}}</text>
  203. <text class="price">{{item.floorPrice}}</text>
  204. <text class="unit">元起</text>
  205. </view>
  206. </view>
  207. </navigator>
  208. </view>
  209. </view>
  210. </view> -->
  211. <!-- 新品首发模块 -->
  212. <!-- <view class="a-section a-new" wx:if="{{newGoods.length > 0}}">
  213. <view class="h">
  214. <view style="width:100%;">
  215. <navigator url="../goods/newGoods/newGoods">
  216. <view class="txt1"></view>
  217. <view class="txt"> 新品首发</view>
  218. <view class="txt3"> 更多</view>
  219. </navigator>
  220. </view>
  221. </view>
  222. <view class="b">
  223. <view class="item" wx:for="{{newGoods}}" wx:for-index="index" wx:for-item="item" wx:key="id">
  224. <navigator class="good-nva" url="../goods/goods?id={{item.id}}">
  225. <image class="img" src="{{item.picUrl}}" background-size="cover"></image>
  226. <text class="price">¥{{item.retailPrice}}</text>
  227. <text class="name">{{item.name}}</text>
  228. <text class="brand">{{item.brand.name}}</text>
  229. </navigator>
  230. </view>
  231. </view>
  232. </view> -->
  233. <view class="a-section a-popular" wx:if="{{hotGoods.length > 0}}">
  234. <view class="h">
  235. <view class="popular-title" bindtap="goHotGoods">
  236. <!-- <navigator url="../goods/hotGoods/hotGoods" class="popular-title"> -->
  237. <view class="title-left">
  238. <view class="txt1"></view>
  239. <view class="txt">鲸致推荐</view>
  240. </view>
  241. <view class="title-right">
  242. <text class="sub-color more"> 更多</text>
  243. <van-icon name="arrow" color="#85868A" />
  244. </view>
  245. <!-- </navigator> -->
  246. </view>
  247. </view>
  248. <view class="b">
  249. <view wx:for="{{hotGoods}}" wx:for-index="index" wx:for-item="item" wx:key="id">
  250. <navigator url="/pages/goods/goods?id={{item.id}}" class="popular-item">
  251. <view class="item-img-wrapper">
  252. <!-- <image wx:if="{{item.isNew}}" src="/static/images/new/isnew.png" class="isNew" mode="aspectFill"></image> -->
  253. <image class="img" src="{{item.gallery[0]}}" ></image>
  254. <!-- <view class="item-tag">{{item.categoryName}}</view> -->
  255. </view>
  256. <view class="item-main">
  257. <view class="item-left">
  258. <view style="display: flex;align-items: center;">
  259. <view class="self-tag">推荐</view>
  260. <text class="product-item-name">{{item.name}}</text>
  261. </view>
  262. <text class="sub-color item-brief">{{item.brief}}</text>
  263. </view>
  264. <view style="width: 180rpx;margin-top: 6rpx;">
  265. <view wx:if="{{item.activited||item.counterPrice!=item.retailPrice}}" class="item-right counter-price">
  266. 市场价:¥{{item.counterPrice}}
  267. </view>
  268. <view class="item-right retail-price">
  269. <text wx:if="{{item.activited}}" class="title">大促价:</text>
  270. <text class="unit">¥</text>
  271. <text wx:if="{{!item.activited}}" class="price">{{item.retailPrice}}</text>
  272. <text wx:else="" class="price">{{item.activityPrice}}</text>
  273. </view>
  274. </view>
  275. </view>
  276. <!-- 活动商品 显示样式 -->
  277. <view wx:if="{{item.activited}}" class="activity">
  278. <view class="limit">
  279. <!-- 限时活动 -->
  280. </view>
  281. <view style="display: flex;align-items: center;">
  282. <image class="clock"
  283. src="https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/activity/clock.png"></image>
  284. <view class="time">距离活动仅剩{{item.activityDay}}天</view>
  285. <image class="arrow"
  286. src="https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/activity/arrow.png" />
  287. </view>
  288. </view>
  289. <!-- <view class="item-sub">
  290. <view class="item-left">
  291. <text class="sub-color item-brief">{{item.brief}}</text>
  292. </view>
  293. <view class="item-right member-price" wx:if="{{item.memberPrice!=item.retailPrice}}">
  294. <view class="member-price-tag">会员价</view>
  295. <view class="memberPrice">¥{{item.memberPrice}}</view>
  296. </view>
  297. </view> -->
  298. <!-- <view>
  299. <view class="text">
  300. <text class="name">{{item.name}}</text>
  301. <text class="desc">{{item.brief}}</text>
  302. <text class="price">¥{{item.retailPrice}}</text>
  303. <text class="brand">{{item.brand.name}}</text>
  304. </view>
  305. </view> -->
  306. </navigator>
  307. </view>
  308. </view>
  309. </view>
  310. <!--专题精选-->
  311. <view class="a-section a-topic" wx:if="topics.length > 0" hidden="{{topics.length <= 0}}">
  312. <view class="h">
  313. <view>
  314. <navigator url="/pages/topic/topic">
  315. <text class="txt">专题精选</text>
  316. </navigator>
  317. </view>
  318. </view>
  319. <view class="b">
  320. <view class="list">
  321. <view class="item" wx:for="{{topics}}" wx:for-index="index" wx:for-item="item" wx:key="id">
  322. <navigator url="/pages/topic/topicDetail/topicDetail?id={{item.id}}">
  323. <image class="img" src="{{item.gallery[0]}}" background-size="cover"></image>
  324. <view class="np">
  325. <text class="name">{{item.title}}</text>
  326. <text class="price">¥{{item.price}}元起</text>
  327. </view>
  328. <text class="desc">{{item.subtitle}}</text>
  329. </navigator>
  330. </view>
  331. </view>
  332. <navigator wx:if="topics.length > 0" url="/pages/topic/topic" class="t">
  333. <view class="txt">更多其他专题 ></view>
  334. </navigator>
  335. </view>
  336. <!--旧格式专题
  337. <view class="b">
  338. <scroll-view scroll-x class="list">
  339. <view class="item" wx:for="{{topics}}" wx:for-index="index" wx:for-item="item" wx:key="id">
  340. <navigator url="../topicDetail/topicDetail?id={{item.id}}">
  341. <image class="img" src="{{item.picUrl}}" background-size="cover"></image>
  342. <view class="np">
  343. <text class="name">{{item.title}}</text>
  344. <text class="price">¥{{item.price}}元起</text>
  345. </view>
  346. <text class="desc">{{item.subtitle}}</text>
  347. </navigator>
  348. </view>
  349. </scroll-view>
  350. <navigator url="/pages/category/category?id={{item.id}}" class="t">
  351. <view class="txt">{{'更多其他专题 >'}}</view>
  352. </navigator>
  353. </view>-->
  354. </view>
  355. <!-- 关于鲸致 -->
  356. <view class="about-jz">
  357. <view class="popular-title">
  358. <view class="title-left">
  359. <view class="devide-bar"></view>
  360. <view class="title-text">关于鲸致生活</view>
  361. </view>
  362. </view>
  363. <view class="company-yj">
  364. <view class="yj-left">
  365. <view class="yj-head">愿景</view>
  366. <view>共建家政行业</view>
  367. <view>健康生态</view>
  368. </view>
  369. <view class="yj-right">
  370. <view class="com-sm">
  371. <view class="sm-head">使命</view>
  372. <view>让家政服务品质更高!让从业人员生活更美好!</view>
  373. </view>
  374. <view class="com-sm com-jzg">
  375. <view class="sm-head">价值观</view>
  376. <view>诚信 共赢 尊重 团结 敬业 客户第一 </view>
  377. </view>
  378. </view>
  379. </view>
  380. <!-- <view class="jz-feature">
  381. <view class="feature-item">
  382. <text>家庭服务</text>
  383. <text>知名品牌</text>
  384. </view>
  385. <view class="devide-line"></view>
  386. <view class="feature-item">
  387. <text>标准服务</text>
  388. <text>细致可见</text>
  389. </view>
  390. <view class="devide-line"></view>
  391. <view class="feature-item">
  392. <text>100万+</text>
  393. <text>家庭客户</text>
  394. </view>
  395. <view class="devide-line"></view>
  396. <view class="feature-item">
  397. <text>专业培训</text>
  398. <text>品质保证</text>
  399. </view>
  400. <view class="devide-line"></view>
  401. <view class="feature-item">
  402. <text>中国平安</text>
  403. <text>保险保障</text>
  404. </view>
  405. </view> -->
  406. <!-- poster="https://jzmall.lifejingzhi.com/file/jzmall-dy/video-poster.png" -->
  407. <!-- <video class="jz-video" play-btn-position="bottom" src="https://media.lifejingzhi.com/sv/19c50f70-18f14278f8c/19c50f70-18f14278f8c.mp4" autoplay="{{false}}" show-play-btn="{{true}}" loop="{{false}}" controls object-fit="cover"></video> -->
  408. <view class="com-bottom-wrapper">
  409. <view class="bx-line">
  410. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/mall-uni/icon-bx.png"
  411. ></image>
  412. <view class="bx-head">中国平安承保</view>
  413. <view>全程保障 · 放心购买 · 服务无忧</view>
  414. </view>
  415. <view class="jz-about">
  416. <view class="about-item">
  417. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about1.png"
  418. class="about-img"></image>
  419. <view class="middle-text">家庭服务</view>
  420. <view class="small-text">一站式家政服务</view>
  421. </view>
  422. <view class="about-item">
  423. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about4.png"
  424. class="about-img"></image>
  425. <view class="middle-text">专业培训</view>
  426. <view class="small-text">服务品质有保障</view>
  427. </view>
  428. <view class="about-item">
  429. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about2.png"
  430. class="about-img"></image>
  431. <view class="middle-text">标准服务</view>
  432. <view class="small-text">可视化验收标准</view>
  433. </view>
  434. <view class="about-item">
  435. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about3.png"
  436. class="about-img"></image>
  437. <view class="middle-text">值得信赖</view>
  438. <view class="small-text">200万+家庭客户</view>
  439. </view>
  440. <!-- <view class="about-item">
  441. <image mode="aspectFill" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-about5.png"
  442. class="about-img"></image>
  443. <view class="middle-text">保险保障</view>
  444. <view class="small-text">中国平安更保险</view>
  445. </view> -->
  446. </view>
  447. </view>
  448. <view class="jz-logo-wrapper">
  449. <image mode="widthFix" src="https://jzmall.lifejingzhi.com/file/jzmall-dy/jzsh-slogan.png" class="jz-logo"></image>
  450. </view>
  451. <!-- <view class="service-tel sub-color">
  452. <view>客服热线:</view>
  453. <view bindtap="callPhone" class="phone-wrapper">
  454. <text>400-921-8987</text>
  455. <van-icon class="right-icon" name="phone-o" />
  456. </view>
  457. </view>
  458. <view class="jz-company">上海宅洁仕网络科技有限公司</view> -->
  459. </view>
  460. <!--
  461. <view class="a-section a-topic" wx:if="topics.length > 0" hidden="{{topics.length <= 0}}">
  462. <view class="h">
  463. <view>
  464. <navigator url="/pages/topic/topic">
  465. <text class="txt">专题精选</text>
  466. </navigator>
  467. </view>
  468. </view>
  469. <view class="b">
  470. <scroll-view scroll-x class="list">
  471. <view class="item" wx:for="{{topics}}" wx:for-index="index" wx:for-item="item" wx:key="id">
  472. <navigator url="../topicDetail/topicDetail?id={{item.id}}">
  473. <image class="img" src="{{item.picUrl}}" background-size="cover"></image>
  474. <view class="np">
  475. <text class="name">{{item.title}}</text>
  476. <text class="price">¥{{item.price}}元起</text>
  477. </view>
  478. <text class="desc">{{item.subtitle}}</text>
  479. </navigator>
  480. </view>
  481. </scroll-view>
  482. </view>
  483. </view>
  484. <view class="good-grid" wx:for="{{floorGoods}}" wx:key="id">
  485. <view class="h">
  486. <text>{{item.name}}</text>
  487. </view>
  488. <view class="b">
  489. <block wx:for="{{item.goodsList}}" wx:for-index="iindex" wx:for-item="iitem" wx:key="id">
  490. <view class="item {{iindex % 2 == 0 ? '' : 'item-b'}}">
  491. <navigator url="../goods/goods?id={{iitem.id}}" class="a">
  492. <image class="img" src="{{iitem.picUrl}}" background-size="cover"></image>
  493. <text class="name">{{iitem.name}}</text>
  494. <text class="price">¥{{iitem.retailPrice}}</text>
  495. </navigator>
  496. </view>
  497. </block>
  498. </view>
  499. <navigator url="/pages/category/category?id={{item.id}}" class="t">
  500. <view class="txt">{{'更多'+item.name+'好物 >'}}</view>
  501. </navigator>
  502. </view>-->
  503. </view>
  504. <!--广告-->
  505. <!-- <view class="adv" bindtap='goinviteFriends'>
  506. <view style="width:100%;height:100%">
  507. <image src="/static/images/active/xyhxd.jpg" style="width:100%;height:100%" />
  508. </view>
  509. </view> -->
  510. <!--弹窗 蒙城-->
  511. <view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModalStatus}}"></view>
  512. <!--弹窗-->
  513. <view class="modalDlg" wx:if="{{showModalStatus}}">
  514. <view class="huode">未使用优惠券</view>
  515. <view class="youhuiquan">{{couponsData.length}}张优惠券</view>
  516. <view class="table">
  517. <view class="line" wx:for="{{couponsData}}" wx:key="item" bindtap="gocoupon">
  518. <view class="left">
  519. <view style="font-size:36rpx;margin-top:20rpx">
  520. <span wx:if="{{item.voucherType==1}}">¥{{item.discount}}</span>
  521. <span wx:if="{{item.voucherType==2}}">{{item.discount/10}}折</span>
  522. </view>
  523. <view style="display: block;font-size:19rpx;">
  524. <!--{{item.name}}-->
  525. <span wx:if="{{item.voucherType==1}}">立减券</span>
  526. <span wx:if="{{item.voucherType==2}}">折扣券</span>
  527. </view>
  528. <view class="ljsy">立即使用</view>
  529. </view>
  530. <view class="right">
  531. <view class="mz">{{item.desc}}</view>
  532. <view class="sj">有效期致 {{item.endTime}}</view>
  533. </view>
  534. </view>
  535. </view>
  536. <button bindtap="gocoupon">立即使用</button>
  537. <view bindtap="guanbicoupon" class="guanbi">×</view>
  538. </view>
  539. <!-- 客服电话 -->
  540. <!-- <view class="phone-btn" bindtap="callPhone">
  541. <van-icon class="right-icon" name="phone-o" />
  542. </view> -->
  543. <contact-mov pageX="460" pageY="1000"></contact-mov>
  544. </view>