detail.wxml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <!--pages/order/detail/detail.wxml-->
  2. <view class="navBar" style="top: {{btnInfo.top +5}}px;">
  3. <van-icon name="arrow-left" size="25" bindtap="backBtn" />
  4. </view>
  5. <view class="topBg">
  6. <image src="/image/home/bg.png" class="img-bgs bg"></image>
  7. <view class="title">
  8. {{orderinfo.status_name}}
  9. </view>
  10. <taskOrder value="3" bind:rightClick="rightClick" />
  11. <view class="zhifu flex" wx:if="{{orderinfo.status==1}}">
  12. <view class="tips">
  13. 订单提交成功,请及时支付
  14. </view>
  15. <view class="price">合计费用:¥{{orderinfo.total_price}}</view>
  16. <view class="footer flex ">
  17. <view class="btn btn-sky">支付</view>
  18. <view class="btn btn-border">取消订单</view>
  19. </view>
  20. </view>
  21. <view class="statusBox">
  22. <view class="b-bottom" wx:if="{{orderinfo.status!=1}}">
  23. <view wx:if="{{orderinfo.order_type==2}}">
  24. <view class="statusTips">
  25. 请您打包好待清洗衣物,前往服务点存衣
  26. </view>
  27. <view class="statusTime">
  28. 建议使用一次性包装袋打包衣物
  29. </view>
  30. <view class="statusBtn flex">
  31. <view class="btn btn-sky" bindtap="open" data-no="{{orderinfo.order_type}}">扫码开柜</view>
  32. <view class="btn btn-border">取消订单</view>
  33. </view>
  34. </view>
  35. <view wx:if="{{orderinfo.order_type==1}}">
  36. <view class="statusTips">
  37. 请您打包好待清洗衣物,前往代收点存衣
  38. </view>
  39. <view class="statusTime">
  40. 建议使用一次性包装袋打包衣物
  41. </view>
  42. <view class="statusBtn flex">
  43. <view class="btn btn-sky">存衣码</view>
  44. <view class="btn btn-border">取消订单</view>
  45. </view>
  46. </view>
  47. <view wx:if="{{orderinfo.order_type==3}}">
  48. <view class="statusTips">
  49. 请您打包好待清洗衣物,等待工作人人员上门取衣
  50. </view>
  51. <view class="statusTime">
  52. 建议使用一次性包装袋打包衣物
  53. </view>
  54. <view class="statusBtn flex">
  55. <view class="btn btn-sky">取件码</view>
  56. <view class="btn btn-border">取消订单</view>
  57. </view>
  58. </view>
  59. <view wx:if="{{orderinfo.order_type==0}}">
  60. <view class="statusTips">
  61. 未选择物流方式
  62. </view>
  63. <view class="statusTime">
  64. 建议使用一次性包装袋打包衣物
  65. </view>
  66. <view class="statusBtn flex">
  67. <view class="btn btn-border">取消订单</view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="statusFooter">
  72. <view class="top flex ju-b">
  73. <view class="le">服务网点</view>
  74. <view class="lr flex" bindtap="location">
  75. <image src="/image/icon/navigation.png"></image>
  76. <text>导航</text>
  77. </view>
  78. </view>
  79. <view class="bottom">
  80. {{orderinfo.network.name}}
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="contioner">
  86. <view class="tit">购买信息</view>
  87. <view class="payMessage">
  88. <view class="items b-bottom " wx:for="{{orderinfo.order_info}}">
  89. <view class="le flex ">
  90. <image src="{{item.good.thumb?item.good.thumb:'/image/icon/peijian.png'}}" class="message"></image>
  91. <view class="messageBoxs">
  92. <view class="name">{{item.good.title}}</view>
  93. <view class="flex ju-b">
  94. <view class="num">x{{item.stock}}</view>
  95. <view class="lr">¥{{item.total_price}}</view>
  96. </view>
  97. </view>
  98. </view>
  99. <view class="footer flex ">
  100. <text class="t1">增值服务</text>
  101. <view class="content">
  102. <text>防水处理 <text class="t2">¥20/件 </text> </text>|
  103. <text>塑封包膜 <text class="t2">¥20/件 </text></text>
  104. </view>
  105. <text class="price">¥40</text>
  106. </view>
  107. </view>
  108. <view class="orderMessage b-bottom">
  109. <view class="items flex ju-b ">
  110. <view class="les">订单金额</view>
  111. <view class="lr">¥{{orderinfo.total_price}}</view>
  112. </view>
  113. <view class="items flex ju-b">
  114. <view class="les">运费</view>
  115. <view class="lr">¥{{orderinfo.freight}}</view>
  116. </view>
  117. <!-- <view class="items flex ju-b ">
  118. <view class="les">运费扣减</view>
  119. <view class="lr color">-¥10</view>
  120. </view>
  121. <view class="items flex ju-b ">
  122. <view class="les">优惠抵扣</view>
  123. <view class="lr color">-¥10</view>
  124. </view>
  125. <view class="items flex ju-b ">
  126. <view class="les">客服调整</view>
  127. <view class="lr color">-¥10</view>
  128. </view> -->
  129. </view>
  130. <view class="allPrice flex ju-e">
  131. <text>实付</text>
  132. <text class="num">¥{{orderinfo.total_price}}</text>
  133. </view>
  134. </view>
  135. </view>
  136. <view class="contioner">
  137. <view class="tit b-bottom">清洗备注</view>
  138. <view class="remarks">
  139. {{orderinfo.user_remark}}
  140. </view>
  141. </view>
  142. <view class="contioner">
  143. <view class="tit b-bottom">订单信息</view>
  144. <view class="footerBoxs">
  145. <view class="footerItems flex ju-b">
  146. <view class="les">订单编号</view>
  147. <view class="lrs flex">
  148. <text>{{orderinfo.order_no}}</text>
  149. <view class="btn-border btn" bindtap="copy" data-no="{{orderinfo.order_no}}">复制</view>
  150. <!-- <view class="btn-border btn">二维码</view> -->
  151. </view>
  152. </view>
  153. <view class="footerItems flex ju-b">
  154. <view class="les">下单时间</view>
  155. <view class="lrs">{{orderinfo.created_at}}</view>
  156. </view>
  157. <view class="footerItems flex ju-b">
  158. <view class="les">支付方式</view>
  159. <view class="lrs">余额支付</view>
  160. </view>
  161. <view class="footerItems flex ju-b">
  162. <view class="les">支付状态</view>
  163. <view class="lrs">{{orderinfo.status!=1?'已支付':'未支付'}}</view>
  164. </view>
  165. </view>
  166. </view>