<!--packageG/supplierDist/components/Entrance/Entrance.wxml-->
<view id="EntranceA">
    <view class="Entrance" wx:for="{{infoData}}" wx:key="ind" bindtap="goDetail" data-id="{{item.id}}">
        <view class="orderSn">订单号：{{item.order_sn}}</view>
        <view class="user">
            <view class="userL">
                <view class="userLimg">
                    <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/supplierDist/toux.png" alt="" />
                </view>
                <view class="userLD">
                    <view class="span">{{item.has_one_order_address.realname}}</view>
                    <view class="phone">
                        {{item.has_one_order_address.mobile}}
                        <icon class="iconfont icon-zx_map_tel" catchtap="callPhone" data-call="{{item.has_one_order_address.mobile}}"></icon>
                    </view>
                </view>
            </view>
            <view class="userR" wx:if="{{item.distance}}">{{item.distance}}{{item.unit}}</view>
        </view>
        <view class="loaction">
            <view class="loactionDetail">
                <icon class="iconfont icon-icon_location" style="margin-top: -15rpx;"></icon>
                <view class="toponyms">{{item.has_one_relevance_order.address}}</view>
            </view>
            <i class="iconfont icon-fontclass-tuiguang2" catchtap="goToAdress" data-item="{{item.has_one_relevance_order}}"></i>
        </view>
        <view class="shop">
            <view class="shopimg">
                <image src="{{item.thumb}}" alt="" />
            </view>
            <view class="txt">共{{item.goods_total}}件</view>
        </view>
        <view class="btn" catchtap="showPop" data-id="{{item.id}}" wx:if="{{delivery_status == 0}}">确认收货</view>
    </view>
    <van-popup show="{{show}}" position="bottom" custom-style="height:17.59rem" bind:close="onClose">
        <view class="popBox">
            <view class="popTop">
                <view></view>
                <view class="span">确认收货</view>
                <icon class="iconfont icon-close11" catchtap="showPop"></icon>
            </view>
            <view class="photoBox">
                <yz_uploader bind:updateImages="updateImages"></yz_uploader>
            </view>
            <view class="btn" catchtap="confirm">确认收货</view>
        </view>
    </van-popup>
</view>