修复侧边栏的z-index不够大的问题

This commit is contained in:
root 2024-12-03 22:16:22 +08:00
parent e84f0499db
commit e2756f9381

View file

@ -158,7 +158,7 @@ watch(
transition: all 0.3s; transition: all 0.3s;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
z-index: 10; z-index: 2001;
} }
.logo { .logo {
@ -290,7 +290,7 @@ watch(
right: 0; right: 0;
bottom: 0; bottom: 0;
background-color: rgba(255, 255, 255, 0.705); background-color: rgba(255, 255, 255, 0.705);
z-index: 9; z-index: 2000;
backdrop-filter: blur(8px); backdrop-filter: blur(8px);
opacity: 1; opacity: 1;
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
@ -305,7 +305,7 @@ watch(
left: 0; left: 0;
top: 0; top: 0;
bottom: 0; bottom: 0;
z-index: 10; z-index: 2001;
box-shadow: 2px 0 8px rgba(0,0,0,0.15); box-shadow: 2px 0 8px rgba(0,0,0,0.15);
transform: translateX(0); transform: translateX(0);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
@ -324,7 +324,7 @@ watch(
.header { .header {
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 8; z-index: 1999;
} }
/* 调整主容器样式 */ /* 调整主容器样式 */