scan-result.wxml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <view class="container">
  2. <view class="sec-wrap">
  3. <view class="order-status">
  4. <view class="icon-box">
  5. <image wx:if="{{orderDetail.orderInfo.status==-1}}" class="icon" src="/images/order-details/icon-ddgb.png"></image>
  6. <image wx:elif="{{orderDetail.orderInfo.status==0}}" class="icon" src="/images/order-details/icon-ddfk.png"></image>
  7. <image wx:elif="{{orderDetail.orderInfo.status==1}}" class="icon" src="/images/order-details/icon-ddfh.png"></image>
  8. <image wx:elif="{{orderDetail.orderInfo.status==2}}" class="icon" src="/images/order-details/icon-ddsh.png"></image>
  9. <image wx:elif="{{orderDetail.orderInfo.status==3 || orderDetail.orderInfo.status==4}}" class="icon" src="/images/order-details/icon-jycg.png"></image>
  10. </view>
  11. <view class="right-text">
  12. <view class="status red">{{orderDetail.orderInfo.statusStr}}</view>
  13. <view class="des" hidden="true">请于11时59分59秒内付款,超时订单将自动关闭</view>
  14. </view>
  15. </view>
  16. <block wx:if="{{orderDetail.logistics}}">
  17. <view wx:if="{{orderDetail.logisticsTraces}}" class="wuliu-box">
  18. <view class="icon-box">
  19. <image class="icon" src="/images/order-details/icon-wuliu.png"></image>
  20. </view>
  21. <view class="right-text" bindtap="wuliuDetailsTap" data-id="{{orderDetail.orderInfo.id}}">
  22. <view class="order-number">快递单号:{{orderDetail.logistics.trackingNumber}}</view>
  23. <block wx:if="{{orderDetail.logisticsTraces}}">
  24. <view class="wuliu-text">{{orderDetail.logisticsTraces[orderDetail.logisticsTraces.length-1].AcceptStation}}</view>
  25. <view class="wuliu-date">{{orderDetail.logisticsTraces[orderDetail.logisticsTraces.length-1].AcceptTime}}</view>
  26. </block>
  27. </view>
  28. <view class="arrow-right">
  29. <van-icon name="arrow" />
  30. </view>
  31. </view>
  32. <view wx:else class="wuliu-box">
  33. <view class="icon-box">
  34. <image class="icon" src="/images/order-details/icon-wuliu.png"></image>
  35. </view>
  36. <view class="right-text">
  37. <view class="order-number">快递单号:{{orderDetail.logistics.trackingNumber}}</view>
  38. <view class="wuliu-text">暂无物流信息</view>
  39. </view>
  40. </view>
  41. <view class="address-sec">
  42. <view class="icon-box">
  43. <image class="icon" src="/images/order-details/icon-address.png"></image>
  44. </view>
  45. <view class="right-box">
  46. <view class="name-tel">{{orderDetail.logistics.linkMan}} {{orderDetail.logistics.mobile}}</view>
  47. <view class="text">
  48. {{orderDetail.logistics.provinceStr}} {{orderDetail.logistics.cityStr}} {{orderDetail.logistics.areaStr}} {{orderDetail.logistics.address}}
  49. </view>
  50. </view>
  51. </view>
  52. </block>
  53. </view>
  54. <view class="goods-list">
  55. <view class="list-title">商品信息</view>
  56. <form bindsubmit="submitReputation" report-submit="true">
  57. <block wx:for="{{orderDetail.goods}}" wx:key="{{index}}">
  58. <navigator url="/pages/goods-details/index?id={{item.goodsId}}">
  59. <view class="a-goods">
  60. <view class="img-box">
  61. <image src="{{item.pic}}" class="img" />
  62. </view>
  63. <view class="text-box">
  64. <view class="arow arow01">
  65. <view class="goods-name">{{item.goodsName}}</view>
  66. <view class="goods-price">¥ {{item.amount}}</view>
  67. </view>
  68. <view class="arow">
  69. <view class="goods-label">{{item.property}}</view>
  70. <view class="goods-num">x {{item.number}}</view>
  71. </view>
  72. </view>
  73. </view>
  74. </navigator>
  75. </block>
  76. </form>
  77. </view>
  78. <view class="peisong-way" hidden="true">
  79. <view class="row-box">
  80. <view class="row-label">配送方式</view>
  81. <view class="right-text">顺丰快递</view>
  82. </view>
  83. <view class="row-box">
  84. <view class="row-label">留言</view>
  85. <view class="right-text">
  86. <input name="remark" type="text" class="liuyan" placeholder="如需留言请输入" />
  87. </view>
  88. </view>
  89. </view>
  90. <view wx:if="{{orderDetail.goodsCoupons}}" class="goods-info" style="margin-bottom:32rpx;">
  91. <view wx:for="{{orderDetail.goodsCoupons}}" wx:key="{{item.id}}" class="row-box">
  92. <view wx:if="{{item.type == 0}}" class="row-label">优惠券</view>
  93. <view wx:if="{{item.type == 0}}" class="right-text">{{item.coupon}}</view>
  94. <image mode="widthFix" wx:if="{{item.type == 1}}" src="{{item.coupon}}" style="max-width:100%;"></image>
  95. </view>
  96. </view>
  97. <view class="goods-info">
  98. <view class="row-box">
  99. <view class="row-label">商品金额</view>
  100. <view class="right-text">¥ {{orderDetail.orderInfo.amount}}</view>
  101. </view>
  102. <view class="row-box">
  103. <view class="row-label">运费</view>
  104. <view class="right-text">+ ¥ {{orderDetail.orderInfo.amountLogistics}}</view>
  105. </view>
  106. <view class="row-box">
  107. <view class="row-label">应付总额</view>
  108. <view class="right-text">¥ {{orderDetail.orderInfo.amountReal}}</view>
  109. </view>
  110. </view>
  111. </view>
  112. <view wx:if="{{orderDetail.orderInfo.status ==1 || orderDetail.orderInfo.status ==2}}" class="hx-btn" bindtap="doneHx">确认核销</view>