From 5e3d9f93ad5b7851e249aba187d8318c4eff25ba Mon Sep 17 00:00:00 2001 From: woody Date: Thu, 30 Oct 2025 14:03:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(hiList):=20=E5=88=86=E4=BA=AB=E9=A1=B5?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E5=88=A0=E9=99=A4=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=B1=82=E7=BA=A7=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shareArea/hiList.vue | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pages/shareArea/hiList.vue b/pages/shareArea/hiList.vue index 54c50ea..79cffb5 100644 --- a/pages/shareArea/hiList.vue +++ b/pages/shareArea/hiList.vue @@ -201,6 +201,8 @@ mode="bottom" border-radius="30" :closeable="true" + :overlay="false" + :zIndex="200" @close="showCartDrawer = false" > @@ -248,7 +250,7 @@ - 删除 + @@ -452,9 +454,12 @@ export default { icon: 'success', duration: 1500, }) + if (this.cartTotalCount === 0) { + this.showCartDrawer = false + } } }, - zIndex: 10076, // 确保层级高于抽屉 + zIndex: 99999999, // 确保层级高于抽屉 }) }, @@ -1440,14 +1445,14 @@ export default { } .cart-item-delete { - padding: 12rpx 24rpx; - background: rgba(239, 68, 68, 0.1); - border-radius: 8rpx; - transition: all 0.2s ease; + // padding: 12rpx 24rpx; + // background: rgba(239, 68, 68, 0.1); + // border-radius: 8rpx; + // transition: all 0.2s ease; .cart-delete-icon { - font-size: 26rpx; - color: #ef4444; + font-size: 22rpx; + // color: #ef4444; font-weight: 500; }