From 6b7a057cb4607660b4d903da0d602067298ea56c Mon Sep 17 00:00:00 2001 From: WHiTEMax Date: Tue, 13 Jan 2026 20:32:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=B8=BB=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=B8=8B=E6=8B=89=E5=87=BA=E7=8E=B0=E4=B8=A4=E4=B8=AA?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E7=9A=84=E5=9B=9E=E5=88=B0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=A1=B6=E9=83=A8=E6=8C=89=E9=92=AE=E3=80=82=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E4=BA=86NavBar.tsx=E4=B8=AD=E7=9A=84=E6=8C=89=E9=92=AE?= =?UTF-8?q?=EF=BC=8C=E4=BF=9D=E7=95=99=E5=B9=B6=E4=BF=AE=E6=94=B9=E4=BA=86?= =?UTF-8?q?scrollToTop.tsx=E4=B8=AD=E7=9A=84=E6=8C=89=E9=92=AE=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Navbar.tsx | 4 ++-- src/components/ScrollToTop.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 1c9ec06..f2a0f9f 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -464,7 +464,7 @@ export default function Navbar() { {/* 返回顶部按钮 */} - + {/* {showScrollTop && ( )} - + */} ); } diff --git a/src/components/ScrollToTop.tsx b/src/components/ScrollToTop.tsx index e51c1b5..7408aa5 100644 --- a/src/components/ScrollToTop.tsx +++ b/src/components/ScrollToTop.tsx @@ -41,7 +41,7 @@ export default function ScrollToTop() { exit={{ opacity: 0, scale: 0.8, y: 20 }} transition={{ duration: 0.2, ease: 'easeOut' }} onClick={scrollToTop} - className="fixed bottom-6 right-6 w-12 h-12 bg-gradient-to-br from-orange-500 to-orange-600 hover:from-orange-600 hover:to-orange-700 text-white rounded-full shadow-lg hover:shadow-xl transition-all duration-200 flex items-center justify-center z-40 group" + className="fixed bottom-6 right-6 w-12 h-12 bg-gradient-to-br from-orange-400/70 to-amber-300/70 hover:from-orange-600/70 hover:to-orange-700/70 text-white rounded-full shadow-lg hover:shadow-xl transition-all duration-200 flex items-center justify-center z-40 group" whileHover={{ scale: 1.1, y: -2 }} whileTap={{ scale: 0.9 }} >