orderDetail.wxml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 class="btn" bindtap="cancelOrder">取消订单</view>
  9. <view class="btn active" bindtap="payOrder">去付款</view>
  10. </view>
  11. </view>
  12. </view>
  13. <view class="order-goods">
  14. <view class="h">
  15. <view class="label">商品信息</view>
  16. <view class="status">{{orderInfo.order_status_text}}</view>
  17. </view>
  18. <view class="goods">
  19. <view class="item" wx:for="{{orderGoods}}" wx:key="{{item.id}}">
  20. <view class="img">
  21. <image src="{{item.list_pic_url}}"></image>
  22. </view>
  23. <view class="info">
  24. <view class="t">
  25. <text class="name">{{item.goods_name}}</text>
  26. <text class="number">x{{item.number}}</text>
  27. </view>
  28. <view class="attr">{{item.goods_specifition_name_value}}</view>
  29. <view class="price">¥{{item.retail_price}}</view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="order-bottom">
  35. <view class="address">
  36. <view class="t">
  37. <text class="name">{{orderInfo.consignee}}</text>
  38. <text class="mobile">{{orderInfo.mobile}}</text>
  39. </view>
  40. <view class="b">{{orderInfo.full_region + orderInfo.address}}</view>
  41. </view>
  42. <view class="total">
  43. <view class="t">
  44. <text class="label">商品合计:</text>
  45. <text class="txt">¥{{orderInfo.goods_price}}</text>
  46. </view>
  47. <view class="t">
  48. <text class="label">运费:</text>
  49. <text class="txt">¥{{orderInfo.freight_price}}</text>
  50. </view>
  51. </view>
  52. <view class="pay-fee">
  53. <text class="label">实付:</text>
  54. <text class="txt">¥{{orderInfo.actual_price}}</text>
  55. </view>
  56. </view>
  57. </view>