placeOrder.wxml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <view class="topBox" id="topBox">
  2. <view class="title flex" bindtap="addressDetail">
  3. <text>中央美术学院9号楼洗衣房1号柜</text>
  4. <van-icon name="arrow" size="15" color="#191C27" />
  5. </view>
  6. <view class="footer flex ju-b">
  7. <view class="le">
  8. <view class="address">
  9. <text>洪山区茅店山西路4号创星汇科技…</text>
  10. <text>|距离40m</text>
  11. </view>
  12. <view class="tips">
  13. <text class="tag">已满柜</text>
  14. <text>24h开放·支持上门</text>
  15. </view>
  16. </view>
  17. <view class="lr">
  18. <swiper class="swiperBox" indicator-dots indicator-color="#D7D7D7" indicator-active-color="#4699FF">
  19. <swiper-item class="flex ju-c">
  20. <image src="/image/icon/navigation.png"></image>
  21. <text>导航</text>
  22. </swiper-item>
  23. <swiper-item class="flex ju-c">
  24. <image src="/image/icon/kaigui.png"></image>
  25. <text>开柜</text>
  26. </swiper-item>
  27. </swiper>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="scrollBox" id="scrollBox">
  32. <scroll-view scroll-x>
  33. <image src="/image/order/houwaitao.png" class="show" wx:for="{{5}}"></image>
  34. </scroll-view>
  35. </view>
  36. <van-notice-bar mode="closeable" left-icon="/image/icon/message.png" bind:close="closeNews" text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" />
  37. <view class="contioner flex al-s" style="height: {{height}}px;">
  38. <view class="slidebar">
  39. <scroll-view scroll-y>
  40. <view class="sliderItem b-bottom {{activeKey == index?'active':''}}" wx:for="{{navList}}" wx:key="*this" bindtap="changeActive" data-activeKey="{{index}}">
  41. {{item.tit}}
  42. </view>
  43. </scroll-view>
  44. </view>
  45. <view class="listBox">
  46. <scroll-view scroll-y>
  47. <view class="title flex">
  48. <text>活动</text>
  49. <view class="line"></view>
  50. </view>
  51. <view class="box">
  52. <view class="items flex b-bottom" wx:for="{{shoppingList}}" wx:key="{{item.id}}">
  53. <view class="le">
  54. <image src="/image/order/houwaitao.png" class="picture"></image>
  55. </view>
  56. <view class="lr">
  57. <view class="message flex ju-b">
  58. <view class="tit">薄上衣(春夏装)</view>
  59. <view class="num flex ju-b">
  60. <view>
  61. <text class="price">¥<text class="number">{{item.price}}</text></text>
  62. <text class="oldPrice">¥9</text>
  63. </view>
  64. <view class="btn-sky btn flex ju-c" wx:if="{{item.num == 0}}" bindtap="shoppingPlus" data-item="{{item}}">
  65. <van-icon name="plus" size="12" />
  66. </view>
  67. <view class="flex" wx:else>
  68. <view class="btn-border btn flex ju-c" bindtap="shoppingMinus" data-item="{{item}}" >
  69. <van-icon name="minus" size="12" color="#191C27" />
  70. </view>
  71. <view class="nums">
  72. {{item.num}}
  73. </view>
  74. <view class="btn-sky btn flex ju-c" bindtap="shoppingPlus" data-item="{{item}}">
  75. <van-icon name="plus" size="12" />
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. </scroll-view>
  84. </view>
  85. </view>
  86. <view class="footerBox flex ju-c" id="footerBar">
  87. <view class="btnBox flex ju-b">
  88. <view class="le flex" bindtap="btnShow">
  89. <view class="box" >
  90. <image src="/image/icon/box.png"></image>
  91. <dot num="{{carNum}}" wx:if="{{carNum > 0}}" offset="{{[-8,-15]}}" radius="50%" height="36rpx" width="36rpx" color="#F12C20"></dot>
  92. </view>
  93. <text class="tips" hidden="{{carList.length != 0}}">尚未选择服务</text>
  94. <text class="pricce" hidden="{{carList.length == 0}}">
  95. <text>¥</text>
  96. <text class="num">{{carPrice}}</text>
  97. </text>
  98. </view>
  99. <view class="lr {{carList.length > 0 ? 'btn-sky' : 'gray'}}" bindtap="getOrder">
  100. 下单洗衣
  101. </view>
  102. </view>
  103. </view>
  104. <van-popup show="{{ show }}" position="bottom" bind:close="btnShow" round close-on-click-overlay>
  105. <view class="carBox">
  106. <view class="tit flex ju-b">
  107. <view class="le">
  108. 已选服务({{carNum}})
  109. </view>
  110. <view class="lr flex" bindtap="clearCarAll">
  111. <image src="/image/icon/del.png" class="del"></image>
  112. <text>清空</text>
  113. </view>
  114. </view>
  115. <view class="box">
  116. <scroll-view scroll-y>
  117. <view class="items flex b-bottom" wx:for="{{carList}}" wx:key="{{index}}">
  118. <view class="le">
  119. <image src="/image/order/houwaitao.png" class="picture"></image>
  120. </view>
  121. <view class="lr">
  122. <view class="message flex ju-b">
  123. <view class="name">薄上衣(春夏装)</view>
  124. <view class="num flex ju-b">
  125. <view>
  126. <text class="price">¥<text class="number">{{item.price}}</text></text>
  127. <text class="oldPrice">¥9</text>
  128. </view>
  129. <view class="flex">
  130. <view class="btn-border btn flex ju-c" bindtap="carMinus" data-item="{{item}}">
  131. <van-icon name="minus" size="12" color="#191C27" />
  132. </view>
  133. <view class="nums">
  134. {{item.num}}
  135. </view>
  136. <view class="btn-sky btn flex ju-c" bindtap="carPlus" data-item="{{item}}">
  137. <van-icon name="plus" size="12" />
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. </view>
  143. </view>
  144. </scroll-view>
  145. </view>
  146. </view>
  147. </van-popup>
  148. <van-popup z-index="300" show="{{ detailsShow }}" position="bottom" bind:close="addressDetail" close-icon="/image/icon/close.png" round close-on-click-overlay closeable>
  149. <view class="details">
  150. <view class="title">
  151. 中央美术学院9号楼洗衣房1号柜这里展示全部完整柜子信息
  152. </view>
  153. <view class="tag">
  154. 可存衣
  155. </view>
  156. <view class="grayText">
  157. 地址:洪山区茅店山西路4号创星汇科技园洪山区茅店山西路4号创星汇科技园
  158. </view>
  159. <view class="grayText">
  160. 电话:027-98987654
  161. </view>
  162. <view class="grayText">
  163. 营业时间:24h开放
  164. </view>
  165. <view class="grayText">
  166. 配送:支持上门
  167. </view>
  168. </view>
  169. </van-popup>