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