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; }