orderDetail.wxml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <view class="container">
  2. <lip-sync />
  3. <auth bindlogin="onShow" />
  4. <view class="order-info">
  5. <view class="item-a">下单时间:{{orderInfo.add_time}}</view>
  6. <view class="item-b">订单编号:{{orderInfo.order_sn}}</view>
  7. <view class="item-c">
  8. <view class="l">实付:<text class="cost">¥{{orderInfo.actual_price}}</text></view>
  9. <view class="r">
  10. <view wx:if="{{orderInfo.handleOption.pay}}">
  11. <view class="btn" bindtap="cancelOrder">取消订单</view>
  12. <view class="btn active" bindtap="payOrder">去付款</view>
  13. </view>
  14. <view wx:elif="{{orderInfo.handleOption.confirm}}">
  15. <!-- <view class="btn" bindtap="cancelOrder">取消订单</view> -->
  16. <view class="btn active" bindtap="confirmOrder">确认收货</view>
  17. </view>
  18. <view wx:else>
  19. <!-- <view class="btn active" bindtap="cancelOrder">取消订单</view> -->
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="order-goods">
  25. <view class="h">
  26. <view class="label">商品信息</view>
  27. <view class="status">{{orderInfo.order_status_text}}</view>
  28. </view>
  29. <view class="goods">
  30. <view class="item" wx:for="{{orderGoods}}" wx:key="{{item.id}}">
  31. <view class="brand">
  32. <view class="brand-top">
  33. <view class="brand-name" data-id="{{item.brandId}}" bindtap="gotoBrand">
  34. <image src="https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/wxmall/images/dianpu.png"></image>
  35. <view>{{item.brandName}}</view>
  36. <image src="https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/wxmall/images/address_right.png"></image>
  37. </view>
  38. <text class="hj">共计{{item.orderGoodsVoList.length}}件商品</text>
  39. </view>
  40. <view class="brand-con" wx:for="{{item.orderGoodsVoList}}" wx:for-index="idx" wx:for-item="sub" wx:key="{{sub.id}}" bindtap="gotoGoods" data-id="{{sub.goods_id}}">
  41. <image mode="aspectFill" class="sub-img" src="{{sub.list_pic_url}}"></image>
  42. <view class="sub-info">
  43. <view>{{sub.goods_name}}</view>
  44. <view>¥{{sub.retail_price}} x {{sub.number}}</view>
  45. </view>
  46. </view>
  47. <view class="btn-look" data-id="{{item.id}}" data-no="{{item.shipping_no}}" wx:if="{{item.shipping_status}}" catchtap="gotoLogti"><text>查看物流</text></view>
  48. </view>
  49. <!-- <view class="img">
  50. <image src="{{item.list_pic_url}}"></image>
  51. </view>
  52. <view class="info">
  53. <view class="t">
  54. <text class="name">{{item.goods_name}}</text>
  55. <text class="number">x{{item.number}}</text>
  56. </view>
  57. <view class="attr">{{item.goods_specifition_name_value||''}}</view>
  58. <view class="price">¥{{item.retail_price}}</view>
  59. </view> -->
  60. </view>
  61. </view>
  62. </view>
  63. <view class="order-bottom">
  64. <view class="address">
  65. <view class="t">
  66. <text class="name">{{orderInfo.consignee}}</text>
  67. <text class="mobile">{{orderInfo.mobile}}</text>
  68. </view>
  69. <view class="b">{{orderInfo.full_region + orderInfo.address}}</view>
  70. </view>
  71. <view class="total">
  72. <view class="t">
  73. <text class="label">商品合计:</text>
  74. <text class="txt">¥{{orderInfo.goods_price}}</text>
  75. </view>
  76. <view class="t">
  77. <text class="label">优惠券:</text>
  78. <text class="txt">¥-{{orderInfo.coupon_price}}</text>
  79. </view>
  80. <view class="t">
  81. <text class="label">运费:</text>
  82. <text class="txt">¥{{orderInfo.freight_price}}</text>
  83. </view>
  84. </view>
  85. <view class="pay-fee">
  86. <text class="label">实付:</text>
  87. <text class="txt">¥{{orderInfo.actual_price}}</text>
  88. </view>
  89. </view>
  90. </view>