From c30f3226a8f4b54fde26e4a86166e566f89d4166 Mon Sep 17 00:00:00 2001 From: woody Date: Fri, 25 Jul 2025 17:52:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(raised-tabbar):=20=20=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/raised-tabbar.vue | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/components/raised-tabbar.vue b/components/raised-tabbar.vue index 6558bed..4174757 100644 --- a/components/raised-tabbar.vue +++ b/components/raised-tabbar.vue @@ -184,20 +184,6 @@ export default { height: 60px; background: #ffffff; - // 使用伪元素创建拱形切口 - &::before { - content: ''; - position: absolute; - top: -20px; - left: 50%; - transform: translateX(-50%); - width: 80px; - height: 40px; - background: transparent; - border-radius: 0 0 40px 40px; - box-shadow: 0 20px 0 0 #ffffff; - } - // 添加底部安全区域 &::after { content: ''; @@ -270,11 +256,12 @@ export default { .center-icon-wrapper { position: absolute; - top: -60rpx; + top: -58rpx; background: #fff; border-radius: 50%; font-size: 0; padding: 4rpx; + z-index: 10; .center-icon { width: 92rpx;