<view class="list" wx:if="{{listArr.length > 0}}">
    <view class="address" wx:for="{{listArr}}" wx:key="listArr">
        <!-- "hover-class="none" url="./edit/edit?id={{item.address_id}} -->
        <view class="address-top">
            <view class="address-img">
                <image src="/static/icons/siteIcon.png" mode="aspectFill"></image>
            </view>
            <view class="address-cont">
                <view class="address-cont-title">
                    <view class="address-cont-name">
                        {{item.name}}
                    </view>
                    <view class="address-cont-mobile">
                        {{item.mobile}}
                    </view>
                    <view class="address-cont-default" wx:if="{{item.default}}">
                        默认
                    </view>
                </view>
                <view class="nowrap-multi address-cont-text">{{item.full_address}}</view>
            </view>
            <image src="/static/icons/siteEdit.png" bindtap="addressEdit" data-id="{{item.address_id}}" class="address-btn"></image>
        </view>
        <view class="select" wx:if="{{type == 'selectAddress' || type == 'goodsAddress'}}">
            <view class="select-btn" bindtap="selectAddress" data-index="{{index}}">
                选择地址
            </view>
        </view>
    </view>
</view>
<view class="pack-center pages-hint" wx:else>
    <image src="/static/imgs/cont_null.png"></image>
    <view>暂无收货地址</view>
</view>
<view class="footer">
    <navigator hover-class="none" url="./add/add" class="btn">添加收货地址</navigator>
</view>