<!--pages/mine/wxml/receivingaddress.wxml-->
<view class="container">
  <view class='top' bindtap='add'>
    <text>新增</text>
 </view>
  <radio-group class="radio-group" bindchange="radioChange">
    <view wx:for="{{news}}" style='width:100%;' wx:for-index="idx" wx:key="*this">
      <view class='news' bindtap='xiugai' data-kid="{{item.kid}}">
        <view>
          {{item.province}}{{item.city}}{{item.district}} {{item.detail}}
        </view>
        <view>
          {{item.user_name}} {{item.user_mobile}}
        </view>
      </view>
      <view class='footer'>
        <view class='default'>
          <label class="radio">
            <radio style='transform:scale(0.7);' wx:key="name" value="{{item.kid}}" checked="{{item.is_default === '是'}}" />
            <view>默认地址</view>
          </label>
        </view>
        <view class='btn'>
          <navigator size="mini" url='../edit/edit?kid={{item.kid}}' class='btns'>
            <image src='../../images/default.png'></image>
              编辑
          </navigator>
          <view size="mini"  class='btns' bindtap='deletes' data-kid="{{item.kid}}">
            <image src='../../images/delete.png'></image>
              删除
          </view>
        </view>
      </view>
    </view>
  </radio-group>
</view>