orderDetail.wxml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. <navigator open-type='navigate' url="/pages/goods/goods?id={{item.goods_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. </navigator>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="list-cell">
  70. <view class="list-cell-bd">
  71. <view class="list-label week">配送费</view>
  72. </view>
  73. <view class="list-cell-ft week">
  74. ¥{{orderInfo.freight_price}}
  75. </view>
  76. </view>
  77. <view class="list-cell" wx:if="{{orderInfo.full_cut_price}}">
  78. <view class="list-cell-bd">
  79. <view class="list-label week orange">满减</view>
  80. </view>
  81. <view class="list-cell-ft week orange">
  82. -¥{{orderInfo.full_cut_price}}
  83. </view>
  84. </view>
  85. <view class="list-cell" wx:if="{{orderInfo.coupon_price}}">
  86. <view class="list-cell-bd">
  87. <view class="list-label week orange">优惠券:{{orderInfo.coupon_name}}</view>
  88. </view>
  89. <view class="list-cell-ft week orange">
  90. -¥{{orderInfo.coupon_price}}
  91. </view>
  92. </view>
  93. <view class="list-cell">
  94. <view class="list-cell-bd">
  95. </view>
  96. <view class="list-cell-ft week">
  97. 合计
  98. <text class="orange">¥{{orderInfo.actual_price}}</text>
  99. </view>
  100. </view>
  101. </view>
  102. <view class="order-info">
  103. <view class="item-a">下单时间:{{orderInfo.add_time}}</view>
  104. <view class="item-b">订单编号:{{orderInfo.order_sn}}</view>
  105. <view class="item-c">
  106. <view class="l">实付:
  107. <text class="cost">¥{{orderInfo.actual_price}}</text>
  108. </view>
  109. </view>
  110. </view>
  111. <view class="list-group2 goods-info">
  112. <view class="list-cell">
  113. <view class="list-cell-bd">
  114. <view class="list-label strong">送达信息</view>
  115. </view>
  116. </view>
  117. <view class="list-cell" wx:if="{{orderInfo.delivery_remark}}">
  118. <view class="list-cell-bd">
  119. <view class="list-label week">期望时间:{{orderInfo.delivery_remark}}</view>
  120. </view>
  121. </view>
  122. <!-- <view class="list-cell">
  123. <view class="list-cell-bd">
  124. <view class="list-label week">收货人:{{orderInfo.consignee}}</view>
  125. </view>
  126. </view>
  127. <view class="list-cell">
  128. <view class="list-cell-bd">
  129. <view class="list-label week">收货地址:{{orderInfo.address}}</view>
  130. </view>
  131. </view> -->
  132. <view class="list-cell">
  133. <view class="list-cell-bd">
  134. <view class="list-label week">留言:{{orderInfo.postscript?orderInfo.postscript:""}}</view>
  135. </view>
  136. </view>
  137. </view>
  138. <!-- <view class="r">
  139. <view class="btn" wx:if="{{ handleOption.cancel==true && orderInfo.order_type == '1'}}" bindtap="cancelOrder">取消订单</view>
  140. <view class="btn" wx:if="{{ handleOption.pay==true && orderInfo.dateformat }}" bindtap="payOrder">去付款 {{orderInfo.dateformat.min}}{{orderInfo.dateformat?':':''}}{{orderInfo.dateformat.sec}}</view>
  141. <view class="btn" wx:if="{{ handleOption.confirm==true }}" bindtap="confirmOrder">确认收货</view>
  142. <view class="btn" wx:if="{{ handleOption.comment==true }}" bindtap="postComment">发表评价</view>
  143. <view class="btn" wx:if="{{ orderInfo.comment_count > 0 }}" bindtap="lookComment">查看评价</view>
  144. </view> -->
  145. <view class="btns">
  146. <view class="cannel" wx:if="{{ handleOption.cancel==true && orderInfo.order_type == '1'}}" bindtap="cancelOrder">取消订单</view>
  147. <view class="save" wx:if="{{ handleOption.pay==true && orderInfo.dateformat }}" bindtap="payOrder">去付款 {{orderInfo.dateformat.min}}{{orderInfo.dateformat?':':''}}{{orderInfo.dateformat.sec}}</view>
  148. <view class="save" wx:if="{{ handleOption.confirm==true }}" bindtap="confirmOrder">确认收货</view>
  149. <view class="save" wx:if="{{ handleOption.comment==true }}" bindtap="postComment">发表评价</view>
  150. <view class="save" wx:if="{{ orderInfo.comment_count > 0 }}" bindtap="lookComment">查看评价</view>
  151. </view>
  152. </view>