<view class="container">
      <!--<view class="fromtitle" bindtap="getweixinaddress"><image src="../../images/weixin.png"></image><text>{{weixinbutton}}</text><image class="arrowdown" src="../../images/icon-arrowdown.png"></image></view>-->
    
    <view class="myaddress-box" wx:for="{{myaddress}}" wx:for-index="index" >
      <view class="myaddress-item">
                <view class="myaddress-contact" bindtap="select" data-id="{{index}}">
                  <text>{{item.contact}} {{item.tel}}\n{{item.area}}{{item.detail}}</text>
                </view>
                <view class="myaddress-bottom">
                      <view class="myaddress-btn" style="float:left;padding-left:0;" wx:if="{{item.IFIndex==1}}" data-id="{{index}}"><image src="../../images/wuliu02.png" />默认地址</view>
                    
                      <view class="myaddress-btn" style="padding-right:0;" bindtap="showedit" data-id="{{index}}"><image src="../../images/edit.png" />编辑</view>
                      <view class="myaddress-btn" bindtap="delete" data-id="{{index}}"><image src="../../images/Delete.png" />删除</view>
                </view>
                
                <view class="myaddress-IFIndex" bindtap="select" data-id="{{index}}" hidden="{{selectHidden}}">
                      使用
                </view>
          </view> 
          <view class="addaddress">
                  <button bindtap="showaddaddress">添加新地址</button>
            </view>  
    </view>

  
</view>

   
<loading hidden="{{loadingHidden}}">
        加载中...
    </loading> 