1234567891011121314151617181920212223242526272829 |
- <view class="container">
- <view style="background: #B8E3F9;overflow:hidden;">
- <view class="dz">当前地址:{{addressName}}</view>
- <view class="sx" bindtap="shaxin">点击刷新</view>
- </view>
- <view class="xzwz" wx:if="{{isShowServiceAddress}}">请选择你的服务地址</view>
- <view class="address-list" wx:if="{{ addressList.length > 0 }}">
- <view class="item" wx:for="{{addressList}}" wx:key="id">
- <view class="l">
- <image src="/static/images/address/dingwei.png"></image>
- <!-- <view class="name">{{item.name}}</view>
- <view class="default" wx:if="{{item.isDefault}}">默认</view> -->
- </view>
- <view class="c" bindtap="addressAddOrUpdate" data-address-tel="{{item.tel}}" data-address-name="{{item.name}}" data-address-id="{{item.id}}" data-address-detail="{{item.addressDetail}}">
- <view class="address">{{item.province}} {{item.city}} {{item.county}} {{item.addressDetail}}</view>
- <view class="mobile"> {{item.name}} {{item.tel}}</view>
- <view class="default" wx:if="{{item.isDefault}}">默认</view>
- </view>
- <view class="r">
- <!-- <van-icon catchtap="deleteAddress" data-address-id="{{item.id}}" class="del" name="delete"/> -->
- <image src="/static/images/address/xiugai.png" data-address-id="{{item.id}}" bindtap="updateAddress" class="update" />
- </view>
- </view>
- </view>
- <view class="empty-view" wx:if="{{ addressList.length <= 0 }}">
- <text class="text">收货地址还没有~~~</text>
- </view>
- <view class="add-address" bindtap="addressAddOrUpdate" data-address-id="0">新建</view>
- </view>
|