orderDetail.wxml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <view class="container">
  2. <view class="order-info">
  3. <view class="item">下单时间:{{orderInfo.addTime}}</view>
  4. <view class="item">订单编号:{{orderInfo.orderSn}}</view>
  5. <view class="item">订单留言:{{orderInfo.message}}</view>
  6. <view class="item-c">
  7. <view class="l">实付:
  8. <text class="cost">¥{{orderInfo.actualPrice}}</text>
  9. </view>
  10. <view class="r">
  11. <view class="btn active" bindtap="cancelOrder" wx:if="{{handleOption.cancel}}">取消订单</view>
  12. <view class="btn active" bindtap="payOrder" wx:if="{{handleOption.pay}}">去付款</view>
  13. <view class="btn active" bindtap="confirmOrder" wx:if="{{handleOption.confirm}}">确认收货</view>
  14. <view class="btn active" bindtap="deleteOrder" wx:if="{{handleOption.delete}}">删除订单</view>
  15. <view class="btn active" bindtap="refundOrder" wx:if="{{handleOption.refund}}">申请退款</view>
  16. <view class="btn active" bindtap="aftersaleOrder" wx:if="{{handleOption.aftersale}}">申请售后</view>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="order-goods">
  21. <view class="h">
  22. <view class="label">商品信息</view>
  23. <view class="status">{{orderInfo.orderStatusText}}</view>
  24. </view>
  25. <view class="goods">
  26. <view class="item" wx:for="{{orderGoods}}" wx:key="id">
  27. <view class="img">
  28. <image src="{{item.picUrl}}"></image>
  29. </view>
  30. <view class="info">
  31. <view class="t">
  32. <text class="name">{{item.goodsName}}</text>
  33. <text class="number">x{{item.number}}</text>
  34. </view>
  35. <view class="attr">{{item.specifications}}</view>
  36. <view class="price">¥{{item.price}}</view>
  37. <view class="btn active" wx:if="{{handleOption.comment && (item.comment == 0)}}">
  38. <navigator url="../../commentPost/commentPost?orderId={{item.orderId}}&&valueId={{item.goodsId}}&type=0">去评价</navigator>
  39. </view>
  40. <view class="btn active" wx:if="{{handleOption.rebuy}}">
  41. <navigator url="../../goods/goods?id={{item.goodsId}}">再次购买</navigator>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="order-bottom">
  47. <view class="address">
  48. <view class="t">
  49. <text class="name">{{orderInfo.consignee}}</text>
  50. <text class="mobile">{{orderInfo.mobile}}</text>
  51. </view>
  52. <view class="b">{{orderInfo.address}}</view>
  53. </view>
  54. <view class="total">
  55. <view class="t">
  56. <text class="label">商品合计:</text>
  57. <text class="txt">¥{{orderInfo.goodsPrice}}</text>
  58. </view>
  59. <view class="t">
  60. <text class="label">运费:</text>
  61. <text class="txt">¥{{orderInfo.freightPrice}}</text>
  62. </view>
  63. <view class="t">
  64. <text class="label">优惠:</text>
  65. <text class="txt">¥-{{orderInfo.couponPrice}}</text>
  66. </view>
  67. </view>
  68. <view class="pay-fee">
  69. <text class="label">实付:</text>
  70. <text class="txt">¥{{orderInfo.actualPrice}}</text>
  71. </view>
  72. </view>
  73. </view>
  74. <view class="order-express" bindtap="expandDetail" wx:if="{{ orderInfo.expNo }}">
  75. <view class="order-express">
  76. <view class="title">
  77. <view class="t">快递公司:{{orderInfo.expName}}</view>
  78. <view class="b">物流单号:{{orderInfo.expNo}}</view>
  79. </view>
  80. <van-icon class="ti" name="arrow" />
  81. </view>
  82. <view class="traces" wx:for="{{expressInfo.Traces}}" wx:key="item" wx:for-item="iitem" wx:if="{{ flag }}">
  83. <view class="trace">
  84. <view class="acceptStation">{{iitem.AcceptStation}}</view>
  85. <view class="acceptTime">{{iitem.AcceptTime}}</view>
  86. </view>
  87. </view>
  88. </view>
  89. </view>