detail.wxml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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: {{btnInfo.top-7}}px; width: 1px;background-color: #ccc; margin-top: 8px;"></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-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. {{orderinfo.network.name}}
  135. </view>
  136. </view>
  137. </view>
  138. </view>
  139. <view class="contioner">
  140. <view class="tit">购买信息</view>
  141. <view class="payMessage">
  142. <view class="items b-bottom " wx:for="{{orderinfo.order_info}}" wx:key="index">
  143. <view class="le flex ">
  144. <image src="{{item.good.thumb?item.good.thumb:'/image/icon/peijian.png'}}" class="message"></image>
  145. <view class="messageBoxs">
  146. <view class="name">{{item.good.title}}</view>
  147. <view class="flex ju-b">
  148. <view class="num">x{{item.stock}}</view>
  149. <view class="lr">¥{{item.total_price}}</view>
  150. </view>
  151. </view>
  152. </view>
  153. <view class="footer flex " hidden>
  154. <text class="t1">增值服务</text>
  155. <view class="content">
  156. <text>防水处理 <text class="t2">¥20/件 </text> </text>|
  157. <text>塑封包膜 <text class="t2">¥20/件 </text></text>
  158. </view>
  159. <text class="price">¥40</text>
  160. </view>
  161. </view>
  162. <view class="orderMessage b-bottom">
  163. <view class="items flex ju-b ">
  164. <view class="les">订单金额</view>
  165. <view class="lr">¥{{orderinfo.total_price}}</view>
  166. </view>
  167. <view class="items flex ju-b">
  168. <view class="les">运费</view>
  169. <view class="lr">¥{{orderinfo.freight}}</view>
  170. </view>
  171. <!-- <view class="items flex ju-b ">
  172. <view class="les">运费扣减</view>
  173. <view class="lr color">-¥10</view>
  174. </view>
  175. <view class="items flex ju-b ">
  176. <view class="les">优惠抵扣</view>
  177. <view class="lr color">-¥10</view>
  178. </view>
  179. <view class="items flex ju-b ">
  180. <view class="les">客服调整</view>
  181. <view class="lr color">-¥10</view>
  182. </view> -->
  183. </view>
  184. <view class="allPrice flex ju-e">
  185. <text>实付</text>
  186. <text class="num">¥{{orderinfo.total_price}}</text>
  187. </view>
  188. </view>
  189. </view>
  190. <view class="contioner">
  191. <view class="tit b-bottom">清洗备注</view>
  192. <view class="remarks">
  193. {{orderinfo.user_remark}}
  194. </view>
  195. </view>
  196. <view class="contioner">
  197. <view class="tit b-bottom">订单信息</view>
  198. <view class="footerBoxs">
  199. <view class="footerItems flex ju-b">
  200. <view class="les">订单编号</view>
  201. <view class="lrs flex">
  202. <text>{{orderinfo.order_no}}</text>
  203. <view class="btn-border btn" bindtap="copy" data-no="{{orderinfo.order_no}}">复制</view>
  204. <!-- <view class="btn-border btn">二维码</view> -->
  205. </view>
  206. </view>
  207. <view class="footerItems flex ju-b">
  208. <view class="les">下单时间</view>
  209. <view class="lrs">{{orderinfo.created_at}}</view>
  210. </view>
  211. <view class="footerItems flex ju-b">
  212. <view class="les">支付方式</view>
  213. <view class="lrs">余额支付</view>
  214. </view>
  215. <view class="footerItems flex ju-b">
  216. <view class="les">支付状态</view>
  217. <view class="lrs">{{orderinfo.status!=1?'已支付':'未支付'}}</view>
  218. </view>
  219. </view>
  220. </view>