orderDetail.wxml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <view class="container">
  2. <view class="order-main-top">
  3. <view class="order-main-left">
  4. <view class="order-detail-status">
  5. {{orderInfo.orderStatusText}}
  6. </view>
  7. <view class="order-detail-des">
  8. 服务中有任何问题 请联系客服哦
  9. </view>
  10. </view>
  11. <view class="order-main-right">
  12. <view class="service-times">
  13. <text class="current-times">{{orderInfo.servicedTimes}}</text>/{{orderInfo.serviceTimes}}
  14. </view>
  15. <view class="view-service"
  16. wx:if="{{!(orderInfo.orderStatus==101||orderInfo.orderStatus==102||orderInfo.orderStatus==103)}}" bindtap="viewService">
  17. 查看服务
  18. </view>
  19. </view>
  20. </view>
  21. <view class="order-info">
  22. <view class="item">下单时间:{{orderInfo.addTime}}</view>
  23. <view class="item">订单编号:{{orderInfo.orderSn}}</view>
  24. <view class="item">订单留言:{{orderInfo.message}}</view>
  25. <view class="item-c">
  26. <view class="l">实付:
  27. <text class="cost">¥{{orderInfo.actualPrice}}</text>
  28. </view>
  29. <view class="r" wx:if="{{orderType!=1}}">
  30. <view class="btn active" bindtap="cancelOrder" wx:if="{{handleOption.cancel}}">取消订单</view>
  31. <!-- <view class="btn active" bindtap="confirmOrder" wx:if="{{handleOption.confirm}}">待上门</view> -->
  32. <view class="btn active" bindtap="payOrder" wx:if="{{handleOption.pay}}">去付款</view>
  33. <!-- <view class="btn active" bindtap="deleteOrder" wx:if="{{handleOption.delete}}">删除订单</view> -->
  34. <!-- <view class="btn active" bindtap="refundOrder" wx:if="{{handleOption.refund&&excludeAxb}}">申请退款</view> -->
  35. <view class="btn active" bindtap="aftersaleOrder" wx:if="{{handleOption.aftersale}}">申请售后</view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="order-goods">
  40. <view class="h">
  41. <view class="label">商品信息</view>
  42. <view class="status">{{orderInfo.orderStatusText}}</view>
  43. </view>
  44. <view class="goods">
  45. <view class="item" wx:for="{{orderGoods}}" wx:key="id">
  46. <view class="img">
  47. <image src="{{item.picUrl}}"></image>
  48. </view>
  49. <view class="info">
  50. <view class="t">
  51. <text class="name">{{item.goodsName}}</text>
  52. <text class="number">x{{item.number}}</text>
  53. </view>
  54. <view class="attr">{{item.specifications}}</view>
  55. <view class="price">¥{{item.price}}</view>
  56. <!-- <view class="btn active" wx:if="{{handleOption.comment && (item.comment == 0)}}">
  57. <navigator url="../commentPost/commentPost?orderId={{item.orderId}}&&valueId={{item.goodsId}}&type=0">去评价</navigator>
  58. </view> -->
  59. <view class="btn active" wx:if="{{handleOption.rebuy}}">
  60. <navigator url="../../goods/goods?id={{item.goodsId}}">再次购买</navigator>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="order-bottom">
  66. <view class="address">
  67. <view class="t">
  68. <text class="name">{{orderInfo.consignee}}</text>
  69. <text class="mobile">{{orderInfo.mobile}}</text>
  70. </view>
  71. <view class="b">{{orderInfo.address?orderInfo.address:'无服务地址'}}</view>
  72. </view>
  73. <view class="total">
  74. <view class="t">
  75. <text class="label">商品合计:</text>
  76. <text class="txt">¥{{orderInfo.goodsPrice}}</text>
  77. </view>
  78. <!-- <view class="t">
  79. <text class="label">运费:</text>
  80. <text class="txt">¥{{orderInfo.freightPrice}}</text>
  81. </view> -->
  82. <view class="t">
  83. <text class="label">优惠:</text>
  84. <text class="txt">¥-{{orderInfo.couponPrice}}</text>
  85. </view>
  86. </view>
  87. <view class="pay-fee">
  88. <text class="label">实付:</text>
  89. <text class="txt">¥{{orderInfo.actualPrice}}</text>
  90. </view>
  91. </view>
  92. </view>
  93. <!--
  94. <view class="order-express" bindtap="expandDetail" wx:if="{{ orderInfo.expNo }}">
  95. <view class="order-express">
  96. <view class="title">
  97. <view class="t">快递公司:{{orderInfo.expName}}</view>
  98. <view class="b">物流单号:{{orderInfo.expNo}}</view>
  99. </view>
  100. <van-icon class="ti" name="arrow" />
  101. </view>
  102. <view class="traces" wx:for="{{expressInfo.Traces}}" wx:key="item" wx:for-item="iitem" wx:if="{{ flag }}">
  103. <view class="trace">
  104. <view class="acceptStation">{{iitem.AcceptStation}}</view>
  105. <view class="acceptTime">{{iitem.AcceptTime}}</view>
  106. </view>
  107. </view>
  108. </view> -->
  109. </view>