detail.wxml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <!--pages/order/detail/detail.wxml-->
  2. <view class="navBar" style="top: {{btnInfo.top}}px;">
  3. <van-icon name="arrow-left" size="22" bindtap="backBtn" />
  4. <view class="cent" style="height: 80%; width: 1rpx;background-color: #ccc; margin-top: 8rpx;"></view>
  5. <van-icon name="https://636c-cloud1-5g8ctn7636a19591-1309870806.tcb.qcloud.la/home1.png?sign=14e900380d4db495f5094d28c98b0d73&t=1646544154" size="22" bindtap="home" />
  6. </view>
  7. <view class="topBg">
  8. <image src="/image/home/bg.png" class="img-bgs bg"></image>
  9. <view class="title">
  10. {{orderinfo.status_name}}
  11. </view>
  12. <!-- <taskOrder value="3" bind:rightClick="rightClick" /> -->
  13. <view class="zhifu flex" wx:if="{{orderinfo.status==1}}">
  14. <view class="tips">
  15. {{orderinfo.status_name}}
  16. </view>
  17. <view class="price">合计费用:¥{{orderinfo.total_price}}</view>
  18. <view class="footer flex ">
  19. <view class="btn btn-sky" catchtap="pay">支付</view>
  20. <view class="btn btn-border" catchtap="closOrder">取消订单</view>
  21. </view>
  22. </view>
  23. <view class="statusBox">
  24. <view class="b-bottom" wx:if="{{orderinfo.status!=1}}">
  25. <view wx:if="{{orderinfo.order_type==2}}">
  26. <!-- 柜子订单 -->
  27. <block wx:if="{{orderinfo.logistics_status==3}}">
  28. <view wx:for="{{orderinfo.external_title}}" wx:key="index">
  29. <view class="statusTips">
  30. {{logistics1[orderinfo.logistics_status-1].title}}
  31. </view>
  32. <view class="statusTime">
  33. {{logistics1[orderinfo.logistics_status-1].desc}} {{item}} {{logistics1[orderinfo.logistics_status-1].foot}}
  34. </view>
  35. <view wx:if="{{index>=1}}" style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  36. </view>
  37. </block>
  38. <block wx:else>
  39. <view>
  40. <view class="statusTips">
  41. {{logistics1[orderinfo.logistics_status-1].title}}
  42. </view>
  43. <view class="statusTime">
  44. {{logistics1[orderinfo.logistics_status-1].desc}}
  45. </view>
  46. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  47. </view>
  48. </block>
  49. <view class="statusBtn flex">
  50. <view wx:if="{{orderinfo.logistics_status==7}}" class="btn btn-sky" bindtap="goreport" >清洗报告</view>
  51. <view wx:else class="btn btn-sky" bindtap="open" data-no="{{orderinfo.order_type}}" data-network_id="{{orderinfo.network_id}}" data-is_deposit="{{orderinfo.logistics_status==1?1:orderinfo.logistics_status==6?0:''}}">{{orderinfo.logistics_status==1 || orderinfo.logistics_status==6?"扫码开柜":orderinfo.status_name}}</view>
  52. <view class="btn btn-border" bindtap="closOrder" wx:if="{{orderinfo.logistics_status==1}}">取消订单</view>
  53. </view>
  54. </view>
  55. <view wx:if="{{orderinfo.order_type==1}}">
  56. <!-- 代收点订单 -->
  57. <block wx:if="{{orderinfo.logistics_status==3}}">
  58. <view wx:for="{{orderinfo.external_title}}" wx:key="index">
  59. <view class="statusTips">
  60. {{logistics1[orderinfo.logistics_status-1].title}}
  61. </view>
  62. <view class="statusTime">
  63. {{logistics1[orderinfo.logistics_status-1].desc}} {{item}} {{logistics1[orderinfo.logistics_status-1].foot}}
  64. </view>
  65. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  66. </view>
  67. </block>
  68. <block wx:else>
  69. <view>
  70. <view class="statusTips">
  71. {{logistics1[orderinfo.logistics_status-1].title}}
  72. </view>
  73. <view class="statusTime">
  74. {{logistics1[orderinfo.logistics_status-1].desc}}
  75. </view>
  76. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  77. </view>
  78. </block>
  79. <view class="statusBtn flex">
  80. <view class="btn btn-sky" wx:if="{{orderinfo.order_type==1 || orderinfo.order_type==3}}" bindtap="logistic_code" data-no="{{orderinfo.logistic_code}}" data-status="{{orderinfo.logistics_status}}">{{orderinfo.logistics_status==1?"存件码":orderinfo.logistics_status==6?"取件码":"服务中"}}</view>
  81. <view class="btn btn-border" bindtap="closOrder" wx:if="{{orderinfo.logistics_status==1 && orderinfo.order_type==3 && orderinfo.status!=6}}">取消订单</view>
  82. </view>
  83. </view>
  84. <view wx:if="{{orderinfo.order_type==3 }}">
  85. <!-- 上门取送订单 && orderinfo.logistics_status==1-->
  86. <block wx:if="{{orderinfo.logistics_status==3}}">
  87. <view wx:for="{{orderinfo.external_title}}" wx:key="index">
  88. <view class="statusTips">
  89. {{logistics2[orderinfo.logistics_status-1].title}}
  90. </view>
  91. <view class="statusTime">
  92. {{logistics2[orderinfo.logistics_status-1].desc}} {{item}} {{logistics1[orderinfo.logistics_status-1].foot}}
  93. </view>
  94. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  95. </view>
  96. </block>
  97. <block wx:else>
  98. <view>
  99. <view class="statusTips">
  100. {{logistics2[orderinfo.logistics_status-1].title}}
  101. </view>
  102. <view class="statusTime">
  103. {{logistics2[orderinfo.logistics_status-1].desc}}
  104. </view>
  105. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  106. </view>
  107. </block>
  108. <view class="statusBtn flex">
  109. <view class="btn btn-sky" bindtap="logistic_code" data-status="{{orderinfo.logistics_status}}" data-no="{{orderinfo.logistic_code}}">{{orderinfo.logistics_status==1?"存件码":orderinfo.logistics_status==6?"取件码":"服务中"}}</view>
  110. <view class="btn btn-border" bindtap="closOrder" wx:if="{{orderinfo.logistics_status<2}}">取消订单</view>
  111. </view>
  112. </view>
  113. <view wx:if="{{orderinfo.order_type==0}}">
  114. <view class="statusTips">
  115. 未选择物流方式
  116. </view>
  117. <view class="statusTime">
  118. 建议使用一次性包装袋打包衣物
  119. </view>
  120. <view class="statusBtn flex">
  121. <!-- <view class="btn btn-border">取消订单</view> -->
  122. </view>
  123. </view>
  124. </view>
  125. <view class="statusFooter">
  126. <view class="top flex ju-b">
  127. <view class="le">服务网点</view>
  128. <view class="lr flex" bindtap="location">
  129. <image src="/image/icon/navigation.png"></image>
  130. <text>导航</text>
  131. </view>
  132. </view>
  133. <view class="bottom">
  134. <view>{{orderinfo.network.name}}</view>
  135. <view><text style="display: inline-block;margin-right: 4rpx;" wx:for="{{orderinfo.device_no}}" wx:key="index">#{{item}};</text></view>
  136. <view>{{orderinfo.network.address}}</view>
  137. </view>
  138. </view>
  139. </view>
  140. </view>
  141. <view class="contioner">
  142. <view class="tit">购买信息</view>
  143. <view class="payMessage">
  144. <view class="items b-bottom " wx:for="{{orderinfo.order_info}}" wx:key="index">
  145. <view class="le flex ">
  146. <image src="{{item.good.thumb?item.good.thumb:'/image/icon/peijian.png'}}" class="message"></image>
  147. <view class="messageBoxs">
  148. <view class="name">{{item.good.title}}</view>
  149. <view class="flex ju-b">
  150. <view class="num">x{{item.stock}}</view>
  151. <view class="lr">¥{{item.total_price}}</view>
  152. </view>
  153. </view>
  154. </view>
  155. <view class="footer flex " hidden>
  156. <text class="t1">增值服务</text>
  157. <view class="content">
  158. <text>防水处理 <text class="t2">¥20/件 </text> </text>|
  159. <text>塑封包膜 <text class="t2">¥20/件 </text></text>
  160. </view>
  161. <text class="price">¥40</text>
  162. </view>
  163. </view>
  164. <view class="orderMessage b-bottom">
  165. <view class="items flex ju-b ">
  166. <view class="les">订单金额</view>
  167. <view class="lr">¥{{orderinfo.total_price+orderinfo.coupon_money}}</view>
  168. </view>
  169. <view class="items flex ju-b">
  170. <view class="les">运费</view>
  171. <view class="lr">¥{{orderinfo.freight}}</view>
  172. </view>
  173. <!-- <view class="items flex ju-b ">
  174. <view class="les">运费扣减</view>
  175. <view class="lr color">-¥10</view>
  176. </view> -->
  177. <view class="items flex ju-b ">
  178. <view class="les">优惠抵扣</view>
  179. <view class="lr color">-¥{{orderinfo.coupon_money}}</view>
  180. </view>
  181. <!-- <view class="items flex ju-b ">
  182. <view class="les">客服调整</view>
  183. <view class="lr color">-¥10</view>
  184. </view> -->
  185. </view>
  186. <view class="allPrice flex ju-e">
  187. <text>实付</text>
  188. <text class="num">¥{{orderinfo.total_price}}</text>
  189. </view>
  190. </view>
  191. </view>
  192. <view class="contioner">
  193. <view class="tit b-bottom">清洗备注</view>
  194. <view class="remarks">
  195. {{orderinfo.user_remark}}
  196. </view>
  197. </view>
  198. <view class="contioner">
  199. <view class="tit b-bottom">订单信息</view>
  200. <view class="footerBoxs">
  201. <view class="footerItems flex ju-b">
  202. <view class="les">订单编号</view>
  203. <view class="lrs flex">
  204. <text>{{orderinfo.order_no}}</text>
  205. <view class="btn-border btn" bindtap="copy" data-no="{{orderinfo.order_no}}">复制</view>
  206. <!-- <view class="btn-border btn">二维码</view> -->
  207. </view>
  208. </view>
  209. <view class="footerItems flex ju-b">
  210. <view class="les">下单时间</view>
  211. <view class="lrs">{{orderinfo.created_at}}</view>
  212. </view>
  213. <view class="footerItems flex ju-b">
  214. <view class="les">支付方式</view>
  215. <view class="lrs">余额支付</view>
  216. </view>
  217. <view class="footerItems flex ju-b">
  218. <view class="les">支付状态</view>
  219. <view class="lrs">{{orderinfo.status!=1?'已支付':'未支付'}}</view>
  220. </view>
  221. </view>
  222. </view>