selectAddress.wxml 852 B

12345678910111213141516171819
  1. <!--selectAddress.wxml 选择地址 -->
  2. <view class="container {{hidden}}">
  3. <block wx:for="{{addressList}}" wx:key="index" wx:for-index="i">
  4. <view class="each_address" bindtap="selectAddress" data-id="{{i}}" data-province="{{item.province}}" data-city="{{item.city}}" data-area="{{item.area}}" data-adress="{{item.adress}}" data-consignee="{{item.consignee}}" data-phone="{{item.phone}}">
  5. <block wx:if="{{item.adress_flag == 1}}">
  6. <image class="select_address" src="/images/address_pre.png"></image>
  7. </block>
  8. <view class="user_name">{{item.consignee}}<text>{{item.phone}}</text></view>
  9. <view class="user_addr">{{item.province}}{{item.city}}{{item.area}}{{item.adress}}</view>
  10. </view>
  11. </block>
  12. <navigator url="/pages/addAddress/addAddress" class="add_btn">+添加新地址</navigator>
  13. </view>