fix: 统一所有页面导航栏样式和位置

- 修复导航栏在不同页面显示不一致的问题
- 锁定导航栏位置,移除滚动动画
- 强制设置白色背景和高z-index确保导航栏始终在最顶层
- 统一index.html和pages目录下所有页面的导航栏表现
This commit is contained in:
Yep_Q
2025-09-09 20:55:20 +08:00
parent e665ee15ea
commit 6d3825c4ab
9 changed files with 66 additions and 30 deletions

View File

@@ -72,7 +72,13 @@
"Bash(sed:*)",
"Bash(/Users/xiaoqi/Documents/Dev/Project/2025-09-08_n8nDEMO演示/n8n-n8n-1.109.2/start.bat)",
"Bash(curl:*)",
"Bash(node server.js)"
"Bash(node server.js)",
"mcp__browser-tools__takeScreenshot",
"Bash(for file in pages/exhibition.html pages/marketing.html pages/operation.html pages/budget.html pages/risk.html)",
"Bash(do sed -i '' 's|</body>| <script src=\"\"../js/nav-component.js\"\"></script>\\n</body>|' \"$file\")",
"Bash(done)",
"mcp__playwright__browser_navigate",
"mcp__playwright__browser_take_screenshot"
],
"defaultMode": "acceptEdits",
"additionalDirectories": [