修复移动端层级问题

This commit is contained in:
2025-10-14 15:33:07 +08:00
parent 8b0359c149
commit 83bfd9d6d6
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -165,7 +165,7 @@ onMounted(async () => {
border-bottom: 1px solid #e5e7eb;
position: sticky;
top: 0;
z-index: 1002; /* 提高导航栏z-index,确保在所有元素之上 */
z-index: 1005; /* 提高导航栏z-index,确保在所有元素之上 */
}
.nav-container {
@@ -282,7 +282,6 @@ onMounted(async () => {
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1001; /* 提高z-index,确保在小组件之上 */
}
.mobile-nav-menu.active {