123456789101112131415161718192021222324252627282930 |
- <!--pages/mineAddress/mineAddress.wxml-->
- <block wx:if="{{ad_list.length==0}}">
- <view class="nonedata-style">
- <image src="/static/img/hema.png" mode=""/>
- <text>你还未添加收货地址</text>
- </view>
- </block>
- <block wx:if="{{ad_list.length>0}}">
- <view class="ad-list" wx:for="{{ad_list}}" wx:key="index" catchtap="selectFun" data-ad="{{item}}">
- <text>{{item.name[0]}}</text>
- <view class="ad-mes">
- <view class="ad-name">
- <text>{{item.name}}</text>
- <text>{{item.phone}}</text>
- <text wx:if="{{item.defaultAddress}}">默认</text>
- </view>
- <text>{{item.fullAddress}}</text>
- </view>
- <view class="ad-edit">
- <image src="/static/img/edit.png" mode="" catchtap="editFun" data-adid="{{item.userAddressId}}"/>
- </view>
- </view>
- </block>
- <view style="width: 750rpx;height: 110rpx;padding-bottom: env(safe-area-inset-bottom);"></view>
- <view class="btn">
- <text bindtap="toNewEdit">新增收货地址</text>
- </view>
|