address.wxml 967 B

123456789101112131415161718192021222324
  1. <!--pages/my/address/address.wxml-->
  2. <view class="listBoxs">
  3. <view class="itemBoxs flex ju-b b-bottom" wx:for="{{addressList}}" wx:key="index" >
  4. <view class="le">
  5. <view class="address t-text-ellipsis2">
  6. {{item.address}}
  7. </view>
  8. <view class="message flex">
  9. <text class="name">{{item.username}}</text>
  10. <text class="phone">{{item.phone}}</text>
  11. <view class="default" wx:if="{{item.is_default==1}}">默认</view>
  12. </view>
  13. </view>
  14. <image class="lr" src="/image/icon/edit.png" bindtap="editSite" data-parmise="{{item}}"></image>
  15. </view>
  16. </view>
  17. <view style="margin-top: 150px;">
  18. <van-empty class="custom-image" image="/image/address/no-address.png" description="暂无地址,去添加一个吧!" />
  19. </view>
  20. <view class="footerBtn" bindtap="addSite" data-parmise="add">
  21. <van-icon name="plus" />添加新地址
  22. </view>