1234567891011121314151617181920212223242526272829 |
- <!--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 class="btn">
- <text bindtap="toNewEdit">新增收货地址</text>
- </view>
|