1
0

orderDetail.wxml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <view class="container">
  2. <view class="order-info2" wx:if="{{wuliu}}">
  3. <view class="list-cell">
  4. <view class="list-cell-bd2">
  5. <view class="list-label strong2"><image src="../../../static/images/service-jyjl.png" class="icon"></image>
  6. {{orderInfo.order_status==0?"待付款":""}}
  7. {{orderInfo.order_status==101?"订单已取消":""}}
  8. {{orderInfo.order_status==201?"订单已付款":""}}
  9. {{orderInfo.order_status==300?"订单已发货":""}}
  10. {{orderInfo.order_status==401 || orderInfo.order_status==402?"订单已退款":""}}
  11. </view>
  12. </view>
  13. </view>
  14. <view>
  15. <view class="list-cell" wx:if="{{orderInfo.order_status==101 || orderInfo.order_status==201 || orderInfo.order_status==300}}">
  16. <view class="list-cell-bd">
  17. <view class="list-label week3">
  18. {{orderInfo.order_status==101?"您的订单已取消":""}}
  19. {{orderInfo.order_status==201?"您的订单已付款":""}}
  20. {{orderInfo.order_status==300?"您的订单已发货":""}}
  21. {{orderInfo.order_status==401 || orderInfo.order_status==402?"您的订单已退款":""}}
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view>
  27. <view class="list-cell" wx:if="{{orderInfo.order_status==0}}" >
  28. <view class="list-cell-bd">
  29. <view class="list-label week3">
  30. 您的订单已提交,请在{{orderInfo.dateformat.min}}{{orderInfo.dateformat?':':''}}{{orderInfo.dateformat.sec}}内完成支付,超时订单自动取消</view>
  31. </view>
  32. </view>
  33. </view>
  34. <navigator open-type='navigate' wx:if="{{orderInfo.order_status==300}}" url="/pages/ucenter/wuliu/wuliu?id={{orderInfo.shipping_no}}&code={{orderInfo.shipping_code}}&orderId={{orderInfo.id}}">
  35. <view class="list-cell">
  36. <view class="list-cell-bd">
  37. <view class="list-label week3">物流信息: {{wuliu.AcceptTime}}</view>
  38. </view>
  39. </view>
  40. <view class="list-cell">
  41. <view class="list-cell-bd">
  42. <view class="list-label week3">{{wuliu.AcceptStation}}</view>
  43. </view>
  44. </view>
  45. </navigator>
  46. </view>
  47. <view class="order-info">
  48. <view class="item-a"><image src="../../../static/images/service-hsdz.png" class="icon"></image> {{orderInfo.consignee}} {{orderInfo.mobile}}</view>
  49. <view class="item-b2">收货地址:{{orderInfo.address}}</view>
  50. </view>
  51. <view class="list-group goods-info">
  52. <view class="list-cell">
  53. <view class="list-cell-bd">
  54. <view class="list-label strong">商品信息</view>
  55. </view>
  56. </view>
  57. <view class="list-cell">
  58. <view class="goods-list">
  59. <view wx:for="{{orderGoods}}" wx:key="{{index}}" class="goods-list-cell">
  60. <view wx:if ='{{currentStoreId != orderInfo.store_id}}'>
  61. <image class="order-image" src="{{item.list_pic_url}}"></image>
  62. <text class="name">{{item.goods_name}}</text>
  63. <text class="num fr">x{{item.number}}</text>
  64. <text class="price fr">¥{{item.retail_price}}</text>
  65. </view>
  66. <navigator open-type='navigate' wx:if = '{{currentStoreId == orderInfo.store_id}}' url='/pages/goods/goods?id={{item.goods_id}}'>
  67. <image class="order-image" src="{{item.list_pic_url}}"></image>
  68. <text class="name">{{item.goods_name}}</text>
  69. <text class="num fr">x{{item.number}}</text>
  70. <text class="price fr">¥{{item.retail_price}}</text>
  71. </navigator>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="list-cell">
  76. <view class="list-cell-bd">
  77. <view class="list-label week">配送费</view>
  78. </view>
  79. <view class="list-cell-ft week">
  80. ¥{{orderInfo.freight_price}}
  81. </view>
  82. </view>
  83. <view class="list-cell" wx:if="{{orderInfo.full_cut_price}}">
  84. <view class="list-cell-bd">
  85. <view class="list-label week orange">满减</view>
  86. </view>
  87. <view class="list-cell-ft week orange">
  88. -¥{{orderInfo.full_cut_price}}
  89. </view>
  90. </view>
  91. <view class="list-cell" wx:if="{{orderInfo.coupon_price}}">
  92. <view class="list-cell-bd">
  93. <view class="list-label week orange">优惠券:{{orderInfo.coupon_name}}</view>
  94. </view>
  95. <view class="list-cell-ft week orange">
  96. -¥{{orderInfo.coupon_price}}
  97. </view>
  98. </view>
  99. <view class="list-cell">
  100. <view class="list-cell-bd">
  101. </view>
  102. <view class="list-cell-ft week">
  103. 合计
  104. <text class="orange">¥{{orderInfo.actual_price}}</text>
  105. <!-- <view class="refund" wx:if="{{ orderInfo.order_status == 201 }}" bindtap="refund">退款</view> -->
  106. <view class="refund" wx:if='{{ orderInfo.order_status==201 && isRefundStatus =="true"}}'>维权申请中</view>
  107. </view>
  108. </view>
  109. </view>
  110. <view class="order-info" wx:if="{{tabIndex != 5}}">
  111. <view class="item-a">下单时间:{{orderInfo.add_time}}</view>
  112. <view class="item-a" wx:if="{{orderInfo.pay_time}}">付款时间:{{orderInfo.pay_time}}</view>
  113. <view class="item-a" wx:if="{{orderInfo.confirm_time}}">成交时间:{{orderInfo.confirm_time}}</view>
  114. <view class="item-b">订单编号:{{orderInfo.order_sn}}</view>
  115. <view class="item-c">
  116. <view class="l">实付:
  117. <text class="cost">¥{{orderInfo.actual_price}}</text>
  118. </view>
  119. </view>
  120. </view>
  121. <view class="order-info" wx:if="{{tabIndex == 5}}">
  122. <view class="item-a">退款时间:{{refundTime}}</view>
  123. <view class="item-b">退款金额:¥{{refundInfo.refundMoney}}</view>
  124. <view class="item-b">申请时间:{{createTime}}</view>
  125. <view class="item-b">退款编号:{{refundInfo.refundId}}</view>
  126. </view>
  127. <view class="list-group2 goods-info" wx:if="{{tabIndex != 5}}">
  128. <view class="list-cell">
  129. <view class="list-cell-bd">
  130. <view class="list-label strong">送达信息</view>
  131. </view>
  132. </view>
  133. <view class="list-cell" wx:if="{{orderInfo.delivery_remark}}">
  134. <view class="list-cell-bd">
  135. <view class="list-label week">期望时间:{{orderInfo.delivery_remark}}</view>
  136. </view>
  137. </view>
  138. <!-- <view class="list-cell">
  139. <view class="list-cell-bd">
  140. <view class="list-label week">收货人:{{orderInfo.consignee}}</view>
  141. </view>
  142. </view>
  143. <view class="list-cell">
  144. <view class="list-cell-bd">
  145. <view class="list-label week">收货地址:{{orderInfo.address}}</view>
  146. </view>
  147. </view> -->
  148. <view class="list-cell">
  149. <view class="list-cell-bd">
  150. <view class="list-label week">留言:{{orderInfo.postscript?orderInfo.postscript:""}}</view>
  151. </view>
  152. </view>
  153. </view>
  154. <!-- <view class="r">
  155. <view class="btn" wx:if="{{ handleOption.cancel==true && orderInfo.order_type == '1'}}" bindtap="cancelOrder">取消订单</view>
  156. <view class="btn" wx:if="{{ handleOption.pay==true && orderInfo.dateformat }}" bindtap="payOrder">去付款 {{orderInfo.dateformat.min}}{{orderInfo.dateformat?':':''}}{{orderInfo.dateformat.sec}}</view>
  157. <view class="btn" wx:if="{{ handleOption.confirm==true }}" bindtap="confirmOrder">确认收货</view>
  158. <view class="btn" wx:if="{{ handleOption.comment==true }}" bindtap="postComment">发表评价</view>
  159. <view class="btn" wx:if="{{ orderInfo.comment_count > 0 }}" bindtap="lookComment">查看评价</view>
  160. </view> -->
  161. <view class="btns" wx:if="{{tabIndex != 5}}">
  162. <view class="cannel" wx:if="{{ handleOption.cancel==true && orderInfo.order_type == '1'}}" bindtap="cancelOrder">取消订单</view>
  163. <view class="save" wx:if="{{ handleOption.pay==true && orderInfo.dateformat}}" bindtap="payOrder">去付款 {{orderInfo.dateformat.min}}{{orderInfo.dateformat?':':''}}{{orderInfo.dateformat.sec}}</view>
  164. <view class="save" wx:if="{{ handleOption.confirm==true}}" bindtap="confirmOrder">确认收货</view>
  165. <view class="save" wx:if="{{ handleOption.comment==true}}" bindtap="postComment">发表评价</view>
  166. <view class="save" wx:if="{{ orderInfo.comment_count > 0}}" bindtap="lookComment">查看评价</view>
  167. </view>
  168. </view>