scan-result.wxml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. <wxs module="goodsDetailPage">
  57. module.exports = {
  58. url : function(item) {
  59. if (item.supplyType == 'cps_jd') {
  60. return '/packageCps/pages/goods-details/cps-jd?id=' + item.goodsId
  61. } else if (item.supplyType == 'vop_jd') {
  62. return '/pages/goods-details/vop?id=' + item.yyId + '&goodsId=' + item.id
  63. } else if (item.supplyType == 'cps_pdd') {
  64. return '/packageCps/pages/goods-details/cps-pdd?id=' + item.goodsId
  65. } else if (item.supplyType == 'cps_taobao') {
  66. return '/packageCps/pages/goods-details/cps-taobao?id=' + item.goodsId
  67. } else {
  68. return '/pages/goods-details/index?id=' + item.goodsId
  69. }
  70. }
  71. }
  72. </wxs>
  73. <form bindsubmit="submitReputation" report-submit="true">
  74. <block wx:for="{{orderDetail.goods}}" wx:key="{{index}}">
  75. <navigator url="{{ goodsDetailPage.url(item) }}">
  76. <view class="a-goods">
  77. <view class="img-box">
  78. <image src="{{item.pic}}" class="img" />
  79. </view>
  80. <view class="text-box">
  81. <view class="arow arow01">
  82. <view class="goods-name">{{item.goodsName}}</view>
  83. <view class="goods-price">¥ {{item.amount}}</view>
  84. </view>
  85. <view class="arow">
  86. <view class="goods-label">{{item.property}}</view>
  87. <view class="goods-num">x {{item.number}}</view>
  88. </view>
  89. </view>
  90. </view>
  91. </navigator>
  92. </block>
  93. </form>
  94. </view>
  95. <view class="peisong-way" hidden="true">
  96. <view class="row-box">
  97. <view class="row-label">配送方式</view>
  98. <view class="right-text">顺丰快递</view>
  99. </view>
  100. <view class="row-box">
  101. <view class="row-label">留言</view>
  102. <view class="right-text">
  103. <input name="remark" type="text" class="liuyan" placeholder="如需留言请输入" />
  104. </view>
  105. </view>
  106. </view>
  107. <view wx:if="{{orderDetail.goodsCoupons}}" class="goods-info" style="margin-bottom:32rpx;">
  108. <view wx:for="{{orderDetail.goodsCoupons}}" wx:key="{{item.id}}" class="row-box">
  109. <view wx:if="{{item.type == 0}}" class="row-label">优惠券</view>
  110. <view wx:if="{{item.type == 0}}" class="right-text">{{item.coupon}}</view>
  111. <image mode="widthFix" wx:if="{{item.type == 1}}" src="{{item.coupon}}" style="max-width:100%;"></image>
  112. </view>
  113. </view>
  114. <view class="goods-info">
  115. <view class="row-box">
  116. <view class="row-label">商品金额</view>
  117. <view class="right-text">¥ {{orderDetail.orderInfo.amount}}</view>
  118. </view>
  119. <view class="row-box">
  120. <view class="row-label">运费</view>
  121. <view class="right-text">+ ¥ {{orderDetail.orderInfo.amountLogistics}}</view>
  122. </view>
  123. <view class="row-box">
  124. <view class="row-label">应付总额</view>
  125. <view class="right-text">¥ {{orderDetail.orderInfo.amountReal}}</view>
  126. </view>
  127. </view>
  128. </view>
  129. <view wx:if="{{orderDetail.orderInfo.status ==1 || orderDetail.orderInfo.status ==2}}" class="hx-btn" bindtap="doneHx">确认核销</view>