From 9db88fb945029128c2187fc70767337fc60bc0f4 Mon Sep 17 00:00:00 2001 From: kron Date: Tue, 15 Jul 2025 18:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AppFooter.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/AppFooter.vue b/src/components/AppFooter.vue index 86a4e41..4c7caf8 100644 --- a/src/components/AppFooter.vue +++ b/src/components/AppFooter.vue @@ -50,7 +50,6 @@ function handleTabClick(index) { :src="tab.image" :style="{ width: index === 1 ? '100px' : '40px', - transform: index === 1 ? '' : 'translateY(10px)', }" mode="widthFix" /> @@ -68,15 +67,19 @@ function handleTabClick(index) { align-items: center; overflow-x: hidden; } - .footer-bg { width: 100%; height: 100%; position: absolute; z-index: 0; } - .tab-item { z-index: 1; } +.tab-item:nth-child(2) { + transform: translateY(10px); +} +.tab-item:nth-child(4) { + transform: translateY(10px) translateX(-10px); +}