mineOrderProgress.wxml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <!--pages/mineOrderProgress/mineOrderProgress.wxml-->
  2. <wxs module="filter" src="/utils/filter.wxs"></wxs>
  3. <view class="box-head" style="background-color: #E1F962;">
  4. <view class="box-title">
  5. {{orderInfo.boxName}}
  6. </view>
  7. <view class="time">
  8. <view class="box-time" bindtap="orderDateFun">
  9. <text>订购月份</text>
  10. <view>
  11. <text>{{orderInfo.month}}</text>
  12. <image class="arrowIcon" src="/static/img/arrow_down.png" mode=""/>
  13. </view>
  14. </view>
  15. <text></text>
  16. <view class="box-time" style="margin-left: 64rpx;">
  17. <text>截止时间</text>
  18. <view>{{orderInfo.cutOffTime}}</view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="progress-message">
  23. <view class="progress" wx:for="{{orderInfo.nodeList}}" wx:key="index">
  24. <view class="progress-li">
  25. <block wx:if="{{index==0}}">
  26. <image src="/static/img/finish.png" mode=""/>
  27. <view></view>
  28. </block>
  29. <block wx:elif="{{index==orderInfo.nodeList.length-1}}">
  30. <view></view>
  31. </block>
  32. <block wx:else>
  33. <view></view>
  34. <view></view>
  35. </block>
  36. </view>
  37. <view class="progress-item">
  38. <view class="progress-head">
  39. <text>{{item.nodeName}}</text>
  40. <text>{{filter.nodeTime(item.nodeTime)}}</text>
  41. </view>
  42. <view class="progress-msg">{{item.nodeDes}}
  43. <text wx:if="{{item.nodeAction==3001}}" style="color:#FF5700;">{{item.busiData}}</text>
  44. </view>
  45. <view class="progress-btn" wx:if="{{item.nodeAction==1001&&orderInfo.updateAddressFlag==0}}" bindtap="toChangeAd">更改收货地址</view>
  46. <view class="progress-btn" wx:if="{{item.nodeAction==2001}}" bindtap="checkExpress" data-busi="{{item.busiData}}">查看物流进度</view>
  47. </view>
  48. </view>
  49. <!-- <view class="progress">
  50. <view class="progress-li">
  51. <view style="background: #22C570;border: 8rpx solid #D3F3E2;"></view>
  52. <view></view>
  53. </view>
  54. <view class="progress-item">
  55. <view class="progress-head">
  56. <text>订购成功</text>
  57. <text>03-25 18:20</text>
  58. </view>
  59. <view class="progress-msg">请耐心等待,新鲜的精酿啤酒将会抓紧时间酿制的哦</view>
  60. <view class="progress-btn" bindtap="toChangeAd">更改收货地址</view>
  61. </view>
  62. </view>
  63. <view class="progress">
  64. <view class="progress-li">
  65. <view></view>
  66. <view></view>
  67. </view>
  68. <view class="progress-item">
  69. <view class="progress-head">
  70. <text>已截止订购</text>
  71. <text>03-25 18:20</text>
  72. </view>
  73. <view class="progress-msg">正在抓紧灌装打包, 产品将于截止后的5个工作日内发出哦</view>
  74. </view>
  75. </view>
  76. <view class="progress">
  77. <view class="progress-li">
  78. <view></view>
  79. <view></view>
  80. </view>
  81. <view class="progress-item">
  82. <view class="progress-head">
  83. <text>已发货, 待签收</text>
  84. <text>03-25 18:20</text>
  85. </view>
  86. <view class="progress-msg">你的商品已在运输途中了, 请耐心等候</view>
  87. <view class="progress-btn" bindtap="checkExpress">查看物流进度</view>
  88. </view>
  89. </view>
  90. <view class="progress">
  91. <view class="progress-li">
  92. <image src="/static/img/finish.png" mode=""/>
  93. </view>
  94. <view class="progress-item">
  95. <view class="progress-head">
  96. <text>订单已完成</text>
  97. <text>03-25 18:20</text>
  98. </view>
  99. <view class="progress-msg">本期的盲盒精酿是<text style="color: #FF5700;">金花梨帝国IPA</text></view>
  100. </view>
  101. </view> -->
  102. </view>
  103. <!-- 选择期数 -->
  104. <view class="popover-view" hidden="{{popover_Status}}">
  105. <view class="popover">
  106. <view class="popover-title">
  107. <text>订购信息</text>
  108. <image bindtap="popoverFun" src="/static/img/close2.png" mode=""/>
  109. </view>
  110. <view class="order-head">
  111. <text>{{orderInfo.boxName}}</text>
  112. <!-- <text>申请退款</text> -->
  113. </view>
  114. <view class="date-box">
  115. <view class="order-date" wx:for="{{infoList}}" wx:key="index" bindtap="switchDate" data-bbosid="{{item.bbosId}}">
  116. <text>{{item.month}}期</text>
  117. <text>{{filter.blindBoxStatus(item.status)}}</text>
  118. <image src="/static/img/arrow.png" mode=""/>
  119. </view>
  120. </view>
  121. </view>
  122. </view>