<!--pages/order/deposit/deposit.wxml-->
<view class="topBox flex ju-b">
    <view class="le">
        <view class="tit">中央美术学院9号楼洗衣房1号柜</view>
        <view class="adr m-top-20">洪山区创星汇科技园B栋洪山区创星汇科技园B栋洪山区创星汇科技园B栋</view>
    </view>
    <view class="lr">
        <image src="/image/icon/order.png" class="icon"></image>
        <view>返回下单</view>
    </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">订单编号:321897947903220</view>
        <!-- or skyBlue or gray -->

    </view>
    <view class="contioner">
        <view class="messageBoxs">
            <view class="tips">已下单，等待存衣</view>
            <view class="m-top-15 time">2019-05-07 15:17:35</view>
        </view>

        <view class="centerBoxs flex ju-b">
            <scroll-view scroll-x>
                <view class="flex ju-b" wx:if="{{item.numList.length < 2}}">
                    <view>
                        <view class="le flex">
                            <image src="/image/order/houwaitao.png" class="clothes"></image>
                            <view class="name">衬衫-上衣类</view>
                        </view>
                    </view>
                </view>

                <view wx:else class="flex">
                    <view class="imgBoxs" wx:for="{{item.numList}}" wx:for-item="i" wx:for-index="idx" wx:key="{{idx}}">
                        <image src="/image/order/houwaitao.png" class="clothes"></image>
                        <view class="nums">共1件</view>
                    </view>
                </view>
            </scroll-view>
            <view class="lr {{item.numList.length < 2 ? '' : 'showModel'}}">
                <view class="price"><text class="small">￥</text>89</view>
                <view class="num">共1件</view>
            </view>
        </view>

        <view class="footerBoxs flex ju-e" wx:if="{{item.type == 1}}">
            <view class="btn bg">开柜存衣</view>
        </view>

        <view class="footerBoxs flex ju-b" wx:if="{{item.type == 2}}" bindtap="toDetail">
            <view class="tips">当前柜已存满，没有空余，晚点再来吧</view>
            <view class="btn border">已满柜</view>
        </view>
    </view>
</view>