123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <!--pages/order/deposit/deposit.wxml-->
- <view class="topBox flex ju-b">
- <view class="le">
- <view class="tit"> {{network.title}}</view>
- <view class="adr m-top-20"> {{network.address}}</view>
- </view>
- <view class="lr">
- <navigator url="/pages/order/placeOrder/placeOrder?network_id={{network.id>0?network.id:network_id}}">
- <image src="/image/icon/order.png" class="icon"></image>
- <view>返回下单</view>
- </navigator>
- </view>
- </view>
- <!-- <van-notice-bar left-icon="/image/icon/message.png" text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" /> -->
- <view class="itemBoxs" wx:for="{{orderList}}" wx:key="*this">
- <view class="titBoxs b-bottom flex ju-b">
- <view class="le">订单编号: {{item.order_no}}</view>
- <!-- or skyBlue or gray -->
- </view>
- <view class="contioner">
- <view class="messageBoxs">
- <view class="tips">{{logisticsStatus[item.logistics_status-1]}}</view>
- <view class="m-top-15 time">{{item.created_at}}</view>
- </view>
- <view class="centerBoxs flex ju-b">
- <scroll-view scroll-x>
- <view class="flex ju-b" wx:if="{{item.order_info.length < 2}}">
- <view>
- <view class="le flex">
- <image src="{{item.order_info[0].good.thumb?item.order_info[0].good.thumb:'/image/order/houwaitao.png'}}" class="clothes"></image>
- <view class="name">{{item.order_info[0].good.title}}</view>
- </view>
- </view>
- </view>
- <view wx:else class="flex">
- <view class="imgBoxs" wx:for="{{item.order_info}}" wx:for-item="i" wx:for-index="idx" wx:key="index">
- <image src="{{i.good.thumb?i.good.thumb:'/image/order/houwaitao.png'}}" class="clothes"></image>
- <view class="nums">共{{i.stock}}件</view>
- </view>
- </view>
- </scroll-view>
- <view class="lr {{item.order_info.length < 2 ? '' : 'showModel'}}">
- <view class="price"><text class="small">¥</text>{{item.total_price}}</view>
- <view class="num">共{{item.stock}}件</view>
- </view>
- </view>
- <view class="footerBoxs flex ju-e" wx:if="{{!is_something }}">
- <view class="btn bg" bindtap="onClose" data-no="{{item.order_no}}" data-type="{{item.logistics_status}}" wx:if="{{item.logistics_status==1}}">开柜存衣</view>
- <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}}" >开柜取衣</view>
- </view>
- <view class="footerBoxs flex ju-b" wx:else>
- <view class="tips">当前柜已存满,没有空余,晚点再来吧</view>
- <view class="btn border">已满柜</view>
- </view>
- </view>
- </view>
- <van-popup show="{{show}}" position="bottom" round bind:close="onClose">
- <view class="content">
- <view class="tit">{{device_no}}号柜门</view>
- <view class="flex ju-c">
- <van-loading vertical type="spinner" color="#1989fa">正在开柜,请稍等</van-loading>
- </view>
- </view>
- </van-popup>
- <van-popup show="{{ result }}" position="bottom" round bind:close="takeClothes">
- <view class="content content2">
- <view class="tit">{{spot_id}}号柜门已打开</view>
- <image src="/image/order/success.png" class="state"></image>
- <view class="tips m-top-30">请随手关闭柜门</view>
- <view class="btnBox flex ">
- <view class="btn btn-sky" bindtap="goto">确认收件</view>
- <view class="btn btn-border" bindtap="{{countDownNum!=0?'onClose':''}}" style="{{countDownNum!=0?'color: #ccc':''}}">重新开门({{countDownNum}}s)</view>
- <view class="btn btn-border">我未取出</view>
- </view>
- <view class="line"></view>
- <view class="rule">
- <view class="title">操作帮助</view>
- <view class="items m-top-25">
- 1、如您已经取出衣物,请点击“确认收件”按钮
- </view>
- <view class="items m-top-25">
- 2、如门未开,请先使用“重新开门”按钮重试
- </view>
- <view class="items m-top-25">
- 3、多次未成功打开柜门,请您点击“我未取出”按钮,然后联系客服
- </view>
-
- </view>
- </view>
- </van-popup>
- <van-popup show="{{ result2 }}" position="bottom" round bind:close="storeClothes">
- <view class="content content2">
- <view class="tit">{{spot_id}}号柜门已打开</view>
- <image src="/image/order/success.png" class="state"></image>
- <view class="tips m-top-30">请随手关闭柜门</view>
- <view class="btnBox flex ">
- <view class="btn btn-sky" bindtap="goto">我已存入</view>
- <view class="btn btn-border" bindtap="onClose">重新开门({{time}}s)</view>
- <button class="btn btn-border" open-type="contact">门未开</button>
- </view>
- <view class="line"></view>
- <view class="rule">
- <view class="title">操作帮助</view>
- <view class="items m-top-25">
- 1、如您已经存入衣物,请点击“我已存入”按钮
- </view>
- <view class="items m-top-25">
- 2、如门未开,请先使用“重新开门”按钮重试
- </view>
- <view class="items m-top-25">
- 3、多次未成功打开柜门,请您点击“门未开”按钮,然后联系客服
- </view>
-
- </view>
- </view>
- </van-popup>
|