1234567891011121314151617181920212223242526272829303132 |
- <!-- 地址列表 -->
- <view class='address-box c-333'>
- <view class='address-list bg-white mar-b20' wx:for="{{addressList}}">
- <view class='mar-l20 mar-r20 pad-t20 pad-b20 f-s28'>
- <view data-item='{{item}}' bindtap='selectAddress'>
- <view>{{item.consignee}} {{item.phone}}</view>
- <view>{{item.province}} {{item.city}} {{item.area}} {{item.adress}}</view>
- </view>
- <view class='address-icon f-box mar-t20'>
- <view class='f-item f-box f-s24 f-align-items-center' wx:if="{{item.adress_flag == '0'}}">
- <icon type="success" size="16" class='f-box f-align-items-center' color="green" />
- <text class='icon-font'>默认地址</text>
- </view>
- <view class='f-item f-box f-s24 f-align-items-center' wx:if="{{item.adress_flag == '1'}}">
- <!-- <icon type="success" size="16" class='f-box f-align-items-center' color="#999" />
- <text class='icon-font'>设为默认地址</text> -->
- </view>
- <view>
- <icon class='icon-bianji iconfont mar-r20' data-item='{{item}}' bindtap='editAddress'/>
- <icon class='icon-tuanduicankaoxian- iconfont' data-id='{{item.id}}' bindtap='delAddress'/>
- </view>
-
- </view>
- </view>
- </view>
- </view>
- <data-none wx:if="{{addressList.length === 0}}"></data-none>
- <view class='footer'>
- <view class='footer-box add-address'>
- <view class='c-white bg-green f-box f-justify-content-center f-s32' bindtap='addAddress'>新增</view>
- </view>
- </view>
|