修复登录页面全覆盖问题 - 移除Login.vue中的背景冲突,统一由App.vue处理

This commit is contained in:
AIGC Developer
2025-10-21 17:29:46 +08:00
parent 61c6fb5b87
commit 536a86112a
2 changed files with 3 additions and 3 deletions

View File

@@ -83,7 +83,7 @@ body {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
min-height: 100vh; min-height: 100vh;
z-index: -1; z-index: -2;
pointer-events: none; pointer-events: none;
background-attachment: fixed; background-attachment: fixed;
} }
@@ -107,7 +107,7 @@ main.with-navbar {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
min-height: 100vh; min-height: 100vh;
z-index: 1000; z-index: 1;
background-attachment: fixed; background-attachment: fixed;
} }

View File

@@ -207,7 +207,7 @@ const handleLogin = async () => {
min-height: 100vh; min-height: 100vh;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background: url('/images/backgrounds/login.png') center/cover no-repeat; background: transparent;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;