index.wxml 1.2 KB

1234567891011121314151617
  1. <view class="address-window {{address.address==true?'on':''}}">
  2. <view class='title'>选择地址<text class='iconfont icon-guanbi' bindtap='close'></text></view>
  3. <view class='list'>
  4. <view class='item acea-row row-between-wrapper {{active==index?"font-color":""}}' wx:for="{{addressList}}" data-id='{{index}}' bindtap='tapAddress' wx:key='index' data-addressId="{{item.id}}">
  5. <text class='iconfont icon-ditu {{active==index?"font-color":""}}'></text>
  6. <view class='address'>
  7. <view class='name {{active==index?"font-color":""}}'>{{item.real_name}}<text class='phone'>{{item.phone}}</text></view>
  8. <view class='line1'>{{item.province}}{{item.city}}{{item.district}}{{item.detail}}</view>
  9. </view>
  10. <text class='iconfont icon-complete{{active==index?" font-color":""}}'></text>
  11. </view>
  12. </view>
  13. <!-- 无地址 -->
  14. <view class='pictrue' wx:if="{{!is_loading && !addressList.length}}"><image src='/images/noAddress.png'></image></view>
  15. <view class='addressBnt bg-color' bindtap='goAddressPages'>选择其地址</view>
  16. </view>
  17. <view class='mask' catchtouchmove="true" hidden='{{address.address==false}}' bindtap='close'></view>