<!--pages/address/address.wxml-->
<view class="address_container">
  <view class="adress_wrap vux-1px-b" wx:for="{{address_list}}" wx:for-index="idx" wx:key="idx" bindlongpress="del_address" bindtap='check_address' data-truename="{{item.true_name}}" data-mobphone="{{item.mob_phone}}" data-areainfo="{{item.area_info}}" data-address="{{item.address}}" data-addressid="{{item.address_id}}" data-areaid="{{item.area_id}}" data-cityid="{{item.city_id}}">
    
    <view class="address_line">
      <text>{{item.true_name}}</text>
      <text class="ml8">{{item.mob_phone}}</text>
    </view>
    <view class="address_line mt8">
      <text class="col333 mr16" wx:if="{{item.is_default == 1}}">[默认地址]</text>
      <text>{{item.area_info}}</text>
      <view style="word-wrap:break-word;max-width: 100%;">{{item.address}}</view>
    </view>
    <view class="modify_address_wrap" catchtap="modify_address" data-truename="{{item.true_name}}" data-mobphone="{{item.mob_phone}}" data-areainfo="{{item.area_info}}" data-address="{{item.address}}" data-areaid="{{item.area_id}}" data-addressid="{{item.address_id}}" data-cityid="{{item.city_id}}">
      <image src="../../image/person/evaluated_icon.png" class="modify_address"></image>
    </view>
  </view>
  <navigator url="/pages/addAddress/addAddress">
    <view class="add_address_btn">添加地址</view>
  </navigator>
</view>