<!--pages/my/address/address.wxml-->
<view class="listBoxs">
    <view class="itemBoxs flex ju-b b-bottom" wx:for="{{addressList}}" wx:key="index" >
        <view class="le">
            <view class="address t-text-ellipsis2">
                {{item.address}}
            </view>
            <view class="message flex">
                <text class="name">{{item.username}}</text>
                <text class="phone">{{item.phone}}</text>
                <view class="default" wx:if="{{item.is_default==1}}">默认</view>
            </view>
        </view>

        <image class="lr" src="/image/icon/edit.png" bindtap="editSite" data-parmise="{{item}}"></image>
    </view>
</view>
<view style="margin-top: 150px;">
    <van-empty class="custom-image" image="/image/address/no-address.png" description="暂无地址，去添加一个吧！" />
</view>

<view class="footerBtn" bindtap="addSite" data-parmise="add">
    <van-icon name="plus" />添加新地址
</view>