<view class="content b-t"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkAddress',['$0'],[[['addressList','',index]]]]]]]}}" class="list" bindtap="__e"><view class="wrapper"><view class="address-box"><text class="name">{{item.real_name}}</text><text class="mobile">{{item.phone}}</text></view><view class="u-box"><text class="address">{{item.province+item.city+item.district+" "+item.detail}}</text></view></view><view class="buttom"><view data-event-opts="{{[['tap',[['defaultUp',['$0',index],[[['addressList','',index]]]]]]]}}" class="default-buttom" catchtap="__e"><view class="{{['iconfont iconroundcheckfill checkbox',(item.is_default==1)?'checked':'']}}"></view><text class="text">设为默认地址</text></view><view class="operation"><view data-event-opts="{{[['tap',[['addAddress',['edit','$0'],[[['addressList','',index]]]]]]]}}" catchtap="__e"><text class="iconfont iconedit"></text><text class="text">编辑</text></view><view class="blank"></view><view data-event-opts="{{[['tap',[['delAddress',['$0'],[[['addressList','',index]]]]]]]}}" catchtap="__e"><text class="iconfont icondelete"></text><text class="text">删除</text></view></view></view></view></block><button data-event-opts="{{[['tap',[['addAddress',['add']]]]]}}" class="add-btn" bindtap="__e">新增地址</button></view>