diff --git a/demo/frontend/src/App.vue b/demo/frontend/src/App.vue
index 4e1e108..621ef4a 100644
--- a/demo/frontend/src/App.vue
+++ b/demo/frontend/src/App.vue
@@ -99,16 +99,11 @@ main.with-navbar {
padding-top: 0; /* NavBar 是 fixed 定位,不需要 padding-top */
}
-/* 确保登录页面全屏显示 */
-#app .login-page {
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- min-height: 100vh;
+/* 确保登录页面内容正确显示 */
+#app[data-route="Login"] main {
+ position: relative;
z-index: 1;
- background-attachment: fixed;
+ min-height: 100vh;
}
/* 登录页面特殊背景处理 - 参考Welcome页面样式 */
diff --git a/demo/frontend/src/views/Login.vue b/demo/frontend/src/views/Login.vue
index 6680bec..d33af93 100644
--- a/demo/frontend/src/views/Login.vue
+++ b/demo/frontend/src/views/Login.vue
@@ -1,10 +1,9 @@
-