|
|
@ -2,19 +2,17 @@
|
|
|
|
* @Author: ch
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-03-22 13:54:15
|
|
|
|
* @Date: 2022-03-22 13:54:15
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-04-09 15:03:39
|
|
|
|
* @LastEditTime: 2022-04-18 18:36:28
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<view class="container">
|
|
|
|
<view class="container">
|
|
|
|
<view class="address">
|
|
|
|
<view class="address">
|
|
|
|
|
|
|
|
|
|
|
|
<u-loadmore v-if="isLoading" status="loading" />
|
|
|
|
<u-loadmore v-if="isLoading" status="loading" />
|
|
|
|
<BsEmpty tips="暂无收货地址呢~" v-if="!isLoading && !addresList.length"></BsEmpty>
|
|
|
|
<BsEmpty tips="暂无收货地址呢~" v-if="!isLoading && !addresList.length"></BsEmpty>
|
|
|
|
<view class="addressItem" v-for="(item, index) in addresList" :key="item.id"
|
|
|
|
<view class="addressItem" v-for="(item, index) in addresList" :key="item.id"
|
|
|
|
:class="{'addressItem__last' : index === addresList.length - 1,'addressItem__default':item.isDefault}">
|
|
|
|
:class="{'addressItem__last' : index === addresList.length - 1,'addressItem__default':item.isDefault}">
|
|
|
|
|
|
|
|
<radio v-if="query.source" :checked="item.id === selectedId" @click="changeAds(item)"/>
|
|
|
|
<radio :checked="item.id === selectedId" @click="changeAds(item)"/>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<view class="addressItem--city">{{item.province}}{{item.city}}{{item.area}}</view>
|
|
|
|
<view class="addressItem--city">{{item.province}}{{item.city}}{{item.area}}</view>
|
|
|
|
<view class="addressItem--detail">{{item.detailAddress}}</view>
|
|
|
|
<view class="addressItem--detail">{{item.detailAddress}}</view>
|
|
|
|