From 47f84c5effd542ca044ccb51da54a0033f3e3a1b Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Thu, 30 Oct 2025 18:49:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=BC=E8=88=AA=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20hover=20=E8=A7=A6=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为所有导航菜单组件添加 trigger="hover" 属性,使菜单在鼠标悬停时自动展开,提升用户体验。 修改的组件: - DesktopNav.js: 4 个主导航菜单(高频跟踪、行情复盘、AGENT社群、联系我们) - MoreMenu.js: 平板版"更多"下拉菜单 - PersonalCenterMenu.js: 个人中心下拉菜单 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../Navbars/components/Navigation/DesktopNav.js | 8 ++++---- src/components/Navbars/components/Navigation/MoreMenu.js | 2 +- .../Navbars/components/Navigation/PersonalCenterMenu.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Navbars/components/Navigation/DesktopNav.js b/src/components/Navbars/components/Navigation/DesktopNav.js index fc8dba05..fa9f53cd 100644 --- a/src/components/Navbars/components/Navigation/DesktopNav.js +++ b/src/components/Navbars/components/Navigation/DesktopNav.js @@ -46,7 +46,7 @@ const DesktopNav = memo(({ isAuthenticated, user }) => { return ( {/* 高频跟踪 */} - + { {/* 行情复盘 */} - + { {/* AGENT社群 */} - + }> AGENT社群 @@ -183,7 +183,7 @@ const DesktopNav = memo(({ isAuthenticated, user }) => { {/* 联系我们 */} - + }> 联系我们 diff --git a/src/components/Navbars/components/Navigation/MoreMenu.js b/src/components/Navbars/components/Navigation/MoreMenu.js index b6b24ed3..13c6ebd4 100644 --- a/src/components/Navbars/components/Navigation/MoreMenu.js +++ b/src/components/Navbars/components/Navigation/MoreMenu.js @@ -37,7 +37,7 @@ const MoreMenu = memo(({ isAuthenticated, user }) => { if (!isAuthenticated || !user) return null; return ( - + { }; return ( - +