orderDetail.wxml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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.orderDate}}</view>
  25. <view class="item">订单留言:{{orderInfo.message}}</view>
  26. <view class="item-c">
  27. <view class="l">实付:
  28. <text class="cost">¥{{orderInfo.actualPrice}}</text>
  29. </view>
  30. <view class="r">
  31. <view class="btn active" bindtap="cancelOrder" wx:if="{{handleOption.cancel}}">取消订单</view>
  32. <!-- <view class="btn active" bindtap="confirmOrder" wx:if="{{handleOption.confirm}}">待上门</view> -->
  33. <view class="btn active" bindtap="payOrder" wx:if="{{handleOption.pay}}">去付款</view>
  34. <!-- <view class="btn active" bindtap="deleteOrder" wx:if="{{handleOption.delete}}">删除订单</view> -->
  35. <!-- <view class="btn active" bindtap="refundOrder" wx:if="{{handleOption.refund&&excludeAxb}}">申请退款</view> -->
  36. <view class="btn active" bindtap="aftersaleOrder" wx:if="{{handleOption.aftersale}}">申请售后</view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="order-goods">
  41. <view class="h">
  42. <view class="label">商品信息</view>
  43. <view class="status">{{orderInfo.orderStatusText}}</view>
  44. </view>
  45. <view class="goods">
  46. <view class="item" wx:for="{{orderGoods}}" wx:key="id">
  47. <view class="img">
  48. <image src="{{item.picUrl}}"></image>
  49. </view>
  50. <view class="info">
  51. <view class="t">
  52. <text class="name">{{item.goodsName}}</text>
  53. <text class="number">x{{item.number}}</text>
  54. </view>
  55. <view class="attr">{{item.specifications}}</view>
  56. <view class="price">¥{{item.price}}</view>
  57. <!-- <view class="btn active" wx:if="{{handleOption.comment && (item.comment == 0)}}">
  58. <navigator url="../commentPost/commentPost?orderId={{item.orderId}}&&valueId={{item.goodsId}}&type=0">去评价</navigator>
  59. </view> -->
  60. <view class="btn active" wx:if="{{handleOption.rebuy}}">
  61. <navigator url="../../goods/goods?id={{item.goodsId}}">再次购买</navigator>
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. <view class="order-bottom">
  67. <view class="address">
  68. <view class="t">
  69. <text class="name">{{orderInfo.consignee}}</text>
  70. <text class="mobile">{{orderInfo.mobile}}</text>
  71. </view>
  72. <view class="b">{{orderInfo.address}}</view>
  73. </view>
  74. <view class="total">
  75. <view class="t">
  76. <text class="label">商品合计:</text>
  77. <text class="txt">¥{{orderInfo.goodsPrice}}</text>
  78. </view>
  79. <!-- <view class="t">
  80. <text class="label">运费:</text>
  81. <text class="txt">¥{{orderInfo.freightPrice}}</text>
  82. </view> -->
  83. <view class="t">
  84. <text class="label">优惠:</text>
  85. <text class="txt">¥-{{orderInfo.couponPrice}}</text>
  86. </view>
  87. </view>
  88. <view class="pay-fee">
  89. <text class="label">实付:</text>
  90. <text class="txt">¥{{orderInfo.actualPrice}}</text>
  91. </view>
  92. </view>
  93. </view>
  94. <!--
  95. <view class="order-express" bindtap="expandDetail" wx:if="{{ orderInfo.expNo }}">
  96. <view class="order-express">
  97. <view class="title">
  98. <view class="t">快递公司:{{orderInfo.expName}}</view>
  99. <view class="b">物流单号:{{orderInfo.expNo}}</view>
  100. </view>
  101. <van-icon class="ti" name="arrow" />
  102. </view>
  103. <view class="traces" wx:for="{{expressInfo.Traces}}" wx:key="item" wx:for-item="iitem" wx:if="{{ flag }}">
  104. <view class="trace">
  105. <view class="acceptStation">{{iitem.AcceptStation}}</view>
  106. <view class="acceptTime">{{iitem.AcceptTime}}</view>
  107. </view>
  108. </view>
  109. </view> -->
  110. </view>