orderDetail.wxml 4.1 KB

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