detail.wxml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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">取消订单</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 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>
  51. <view class="btn btn-border" bindtap="closOrder" wx:if="{{orderinfo.logistics_status==1}}">取消订单</view>
  52. </view>
  53. </view>
  54. <view wx:if="{{orderinfo.order_type==1}}">
  55. <!-- 代收点订单 -->
  56. <block wx:if="{{orderinfo.logistics_status==3}}">
  57. <view wx:for="{{orderinfo.external_title}}" wx:key="index">
  58. <view class="statusTips">
  59. {{logistics1[orderinfo.logistics_status-1].title}}
  60. </view>
  61. <view class="statusTime">
  62. {{logistics1[orderinfo.logistics_status-1].desc}} {{item}} {{logistics1[orderinfo.logistics_status-1].foot}}
  63. </view>
  64. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  65. </view>
  66. </block>
  67. <block wx:else>
  68. <view>
  69. <view class="statusTips">
  70. {{logistics1[orderinfo.logistics_status-1].title}}
  71. </view>
  72. <view class="statusTime">
  73. {{logistics1[orderinfo.logistics_status-1].desc}}
  74. </view>
  75. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  76. </view>
  77. </block>
  78. <view class="statusBtn flex">
  79. <view class="btn btn-sky" wx:if="{{orderinfo.order_type==1 || orderinfo.order_type==3}}" bindtap="logistic_code" data-no="{{orderinfo.logistic_code}}">{{orderinfo.logistics_status==1?"存件码":orderinfo.logistics_status==6?"取件码":"服务中"}}</view>
  80. <view class="btn btn-border" bindtap="closOrder" wx:if="{{orderinfo.logistics_status==1 && orderinfo.order_type==3 && orderinfo.status!=6}}">取消订单</view>
  81. </view>
  82. </view>
  83. <view wx:if="{{orderinfo.order_type==3 }}">
  84. <!-- 上门取送订单 && orderinfo.logistics_status==1-->
  85. <block wx:if="{{orderinfo.logistics_status==3}}">
  86. <view wx:for="{{orderinfo.external_title}}" wx:key="index">
  87. <view class="statusTips">
  88. {{logistics2[orderinfo.logistics_status-1].title}}
  89. </view>
  90. <view class="statusTime">
  91. {{logistics2[orderinfo.logistics_status-1].desc}} {{item}} {{logistics1[orderinfo.logistics_status-1].foot}}
  92. </view>
  93. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  94. </view>
  95. </block>
  96. <block wx:else>
  97. <view>
  98. <view class="statusTips">
  99. {{logistics2[orderinfo.logistics_status-1].title}}
  100. </view>
  101. <view class="statusTime">
  102. {{logistics2[orderinfo.logistics_status-1].desc}}
  103. </view>
  104. <view style="border: #eae6e6 dashed 1px;margin-bottom: 40rpx;margin-top: 20rpx;"></view>
  105. </view>
  106. </block>
  107. <view class="statusBtn flex">
  108. <view class="btn btn-sky" bindtap="logistic_code" data-no="{{orderinfo.logistic_code}}">{{orderinfo.logistics_status==1?"存件码":orderinfo.logistics_status==6?"取件码":"服务中"}}</view>
  109. <view class="btn btn-border" bindtap="closOrder" wx:if="{{orderinfo.logistics_status<2}}">取消订单</view>
  110. </view>
  111. </view>
  112. <view wx:if="{{orderinfo.order_type==0}}">
  113. <view class="statusTips">
  114. 未选择物流方式
  115. </view>
  116. <view class="statusTime">
  117. 建议使用一次性包装袋打包衣物
  118. </view>
  119. <view class="statusBtn flex">
  120. <!-- <view class="btn btn-border">取消订单</view> -->
  121. </view>
  122. </view>
  123. </view>
  124. <view class="statusFooter">
  125. <view class="top flex ju-b">
  126. <view class="le">服务网点</view>
  127. <view class="lr flex" bindtap="location">
  128. <image src="/image/icon/navigation.png"></image>
  129. <text>导航</text>
  130. </view>
  131. </view>
  132. <view class="bottom">
  133. {{orderinfo.network.name}}
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. <view class="contioner">
  139. <view class="tit">购买信息</view>
  140. <view class="payMessage">
  141. <view class="items b-bottom " wx:for="{{orderinfo.order_info}}" wx:key="index">
  142. <view class="le flex ">
  143. <image src="{{item.good.thumb?item.good.thumb:'/image/icon/peijian.png'}}" class="message"></image>
  144. <view class="messageBoxs">
  145. <view class="name">{{item.good.title}}</view>
  146. <view class="flex ju-b">
  147. <view class="num">x{{item.stock}}</view>
  148. <view class="lr">¥{{item.total_price}}</view>
  149. </view>
  150. </view>
  151. </view>
  152. <view class="footer flex " hidden>
  153. <text class="t1">增值服务</text>
  154. <view class="content">
  155. <text>防水处理 <text class="t2">¥20/件 </text> </text>|
  156. <text>塑封包膜 <text class="t2">¥20/件 </text></text>
  157. </view>
  158. <text class="price">¥40</text>
  159. </view>
  160. </view>
  161. <view class="orderMessage b-bottom">
  162. <view class="items flex ju-b ">
  163. <view class="les">订单金额</view>
  164. <view class="lr">¥{{orderinfo.total_price}}</view>
  165. </view>
  166. <view class="items flex ju-b">
  167. <view class="les">运费</view>
  168. <view class="lr">¥{{orderinfo.freight}}</view>
  169. </view>
  170. <!-- <view class="items flex ju-b ">
  171. <view class="les">运费扣减</view>
  172. <view class="lr color">-¥10</view>
  173. </view>
  174. <view class="items flex ju-b ">
  175. <view class="les">优惠抵扣</view>
  176. <view class="lr color">-¥10</view>
  177. </view>
  178. <view class="items flex ju-b ">
  179. <view class="les">客服调整</view>
  180. <view class="lr color">-¥10</view>
  181. </view> -->
  182. </view>
  183. <view class="allPrice flex ju-e">
  184. <text>实付</text>
  185. <text class="num">¥{{orderinfo.total_price}}</text>
  186. </view>
  187. </view>
  188. </view>
  189. <view class="contioner">
  190. <view class="tit b-bottom">清洗备注</view>
  191. <view class="remarks">
  192. {{orderinfo.user_remark}}
  193. </view>
  194. </view>
  195. <view class="contioner">
  196. <view class="tit b-bottom">订单信息</view>
  197. <view class="footerBoxs">
  198. <view class="footerItems flex ju-b">
  199. <view class="les">订单编号</view>
  200. <view class="lrs flex">
  201. <text>{{orderinfo.order_no}}</text>
  202. <view class="btn-border btn" bindtap="copy" data-no="{{orderinfo.order_no}}">复制</view>
  203. <!-- <view class="btn-border btn">二维码</view> -->
  204. </view>
  205. </view>
  206. <view class="footerItems flex ju-b">
  207. <view class="les">下单时间</view>
  208. <view class="lrs">{{orderinfo.created_at}}</view>
  209. </view>
  210. <view class="footerItems flex ju-b">
  211. <view class="les">支付方式</view>
  212. <view class="lrs">余额支付</view>
  213. </view>
  214. <view class="footerItems flex ju-b">
  215. <view class="les">支付状态</view>
  216. <view class="lrs">{{orderinfo.status!=1?'已支付':'未支付'}}</view>
  217. </view>
  218. </view>
  219. </view>