deposit.wxml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!--pages/order/deposit/deposit.wxml-->
  2. <view class="topBox flex ju-b">
  3. <view class="le">
  4. <view class="tit"> {{network.title}}</view>
  5. <view class="adr m-top-20"> {{network.address}}</view>
  6. </view>
  7. <view class="lr">
  8. <navigator url="/pages/order/placeOrder/placeOrder?network_id={{network.id>0?network.id:network_id}}">
  9. <image src="/image/icon/order.png" class="icon"></image>
  10. <view>返回下单</view>
  11. </navigator>
  12. </view>
  13. </view>
  14. <!-- <van-notice-bar left-icon="/image/icon/message.png" text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" /> -->
  15. <view class="itemBoxs" wx:for="{{orderList}}" wx:key="*this">
  16. <view class="titBoxs b-bottom flex ju-b">
  17. <view class="le">订单编号: {{item.order_no}}</view>
  18. <!-- or skyBlue or gray -->
  19. </view>
  20. <view class="contioner">
  21. <view class="messageBoxs">
  22. <view class="tips">{{logisticsStatus[item.logistics_status-1]}}</view>
  23. <view class="m-top-15 time">{{item.created_at}}</view>
  24. </view>
  25. <view class="centerBoxs flex ju-b">
  26. <scroll-view scroll-x>
  27. <view class="flex ju-b" wx:if="{{item.order_info.length < 2}}">
  28. <view>
  29. <view class="le flex">
  30. <image src="{{item.order_info[0].good.thumb?item.order_info[0].good.thumb:'/image/order/houwaitao.png'}}" class="clothes"></image>
  31. <view class="name">{{item.order_info[0].good.title}}</view>
  32. </view>
  33. </view>
  34. </view>
  35. <view wx:else class="flex">
  36. <view class="imgBoxs" wx:for="{{item.order_info}}" wx:for-item="i" wx:for-index="idx" wx:key="index">
  37. <image src="{{i.good.thumb?i.good.thumb:'/image/order/houwaitao.png'}}" class="clothes"></image>
  38. <view class="nums">共{{i.stock}}件</view>
  39. </view>
  40. </view>
  41. </scroll-view>
  42. <view class="lr {{item.order_info.length < 2 ? '' : 'showModel'}}">
  43. <view class="price"><text class="small">¥</text>{{item.total_price}}</view>
  44. <view class="num">共{{item.stock}}件</view>
  45. </view>
  46. </view>
  47. <view class="footerBoxs flex ju-e" wx:if="{{!is_something }}">
  48. <view class="btn bg" bindtap="onClose" data-no="{{item.order_no}}" data-type="{{item.logistics_status}}" wx:if="{{item.logistics_status==1}}">开柜存衣</view>
  49. <view class="btn bg" bindtap="onClose" data-type="{{item.logistics_status}}" wx:if="{{item.logistics_status==6}}" data-no="{{item.order_no}}" data-device_id="{{item.device_id}}" data-spout_device_id="{{item.spout_device_id}}" data-external_cabinet="{{item.external_cabinet}}" >开柜取衣</view>
  50. </view>
  51. <view class="footerBoxs flex ju-b" wx:else>
  52. <view class="tips">当前柜已存满,没有空余,晚点再来吧</view>
  53. <view class="btn border">已满柜</view>
  54. </view>
  55. </view>
  56. </view>
  57. <van-popup show="{{show}}" position="bottom" round bind:close="onClose">
  58. <view class="content">
  59. <view class="tit">{{external_cabinet}}号柜门</view>
  60. <view class="flex ju-c">
  61. <van-loading vertical type="spinner" color="#1989fa">正在开柜,请稍等</van-loading>
  62. </view>
  63. </view>
  64. </van-popup>
  65. <van-popup show="{{ result }}" position="bottom" round bind:close="takeClothes">
  66. <view class="content content2">
  67. <view class="tit">{{external_cabinet}}号柜门已打开</view>
  68. <image src="/image/order/success.png" class="state"></image>
  69. <view class="tips m-top-30">请随手关闭柜门</view>
  70. <view class="btnBox flex ">
  71. <view class="btn btn-sky" bindtap="goto">确认收件</view>
  72. <view class="btn btn-border" bindtap="{{countDownNum!=0?'onClose':''}}" style="{{countDownNum!=0?'color: #ccc':''}}">重新开门({{countDownNum}}s)</view>
  73. <view class="btn btn-border">我未取出</view>
  74. </view>
  75. <view class="line"></view>
  76. <view class="rule">
  77. <view class="title">操作帮助</view>
  78. <view class="items m-top-25">
  79. 1、如您已经取出衣物,请点击“确认收件”按钮
  80. </view>
  81. <view class="items m-top-25">
  82. 2、如门未开,请先使用“重新开门”按钮重试
  83. </view>
  84. <view class="items m-top-25">
  85. 3、多次未成功打开柜门,请您点击“我未取出”按钮,然后联系客服
  86. </view>
  87. </view>
  88. </view>
  89. </van-popup>
  90. <van-popup show="{{ result2 }}" position="bottom" round bind:close="storeClothes">
  91. <view class="content content2">
  92. <view class="tit">{{spot_id}}号柜门已打开</view>
  93. <image src="/image/order/success.png" class="state"></image>
  94. <view class="tips m-top-30">请随手关闭柜门</view>
  95. <view class="btnBox flex ">
  96. <view class="btn btn-sky" bindtap="goto">我已存入</view>
  97. <view class="btn btn-border" bindtap="onClose">重新开门({{time}}s)</view>
  98. <button class="btn btn-border" open-type="contact">门未开</button>
  99. </view>
  100. <view class="line"></view>
  101. <view class="rule">
  102. <view class="title">操作帮助</view>
  103. <view class="items m-top-25">
  104. 1、如您已经存入衣物,请点击“我已存入”按钮
  105. </view>
  106. <view class="items m-top-25">
  107. 2、如门未开,请先使用“重新开门”按钮重试
  108. </view>
  109. <view class="items m-top-25">
  110. 3、多次未成功打开柜门,请您点击“门未开”按钮,然后联系客服
  111. </view>
  112. </view>
  113. </view>
  114. </van-popup>