1
0

orderDetail.wxml 8.2 KB

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