From fcb6b39060807e25cef0ee3f3f10aa164d6a61d9 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Thu, 13 Nov 2025 15:22:26 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4216=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E9=A2=86=E5=8F=96=E7=A4=BC?= =?UTF-8?q?=E5=8C=85=EF=BC=8C=E9=80=89=E6=8B=A9=E6=94=B6=E8=B4=A7=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E6=97=B6=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_user/views/gift/components/AddressList.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg_user/views/gift/components/AddressList.vue b/pkg_user/views/gift/components/AddressList.vue index fe99f91..00b4a4f 100644 --- a/pkg_user/views/gift/components/AddressList.vue +++ b/pkg_user/views/gift/components/AddressList.vue @@ -17,6 +17,7 @@ v-for="(item, index) in addressList" :key="index" class="address-item" + :class="{'active': item.id == activeIndex}" > @@ -58,6 +59,7 @@ export default { return { webUrl: this.$VUE_APP_RESOURCES_URL, showPopup: false, // 新增控制弹窗显示的状态 + activeIndex: '' } }, methods: { @@ -78,6 +80,7 @@ export default { }, // 选择地址 handleSelect(item) { + this.activeIndex = item.id uni.showModal({ title: '提示', content: '确认选择这个收货地址吗?', @@ -165,4 +168,8 @@ export default { width: 100%; padding: 20rpx 0; } +.active{ + background-color: #F5F5F5; + border-radius: 10rpx; +} \ No newline at end of file