diff --git a/demo/frontend/src/App.vue b/demo/frontend/src/App.vue
index 621ef4a..72466f3 100644
--- a/demo/frontend/src/App.vue
+++ b/demo/frontend/src/App.vue
@@ -56,7 +56,7 @@ html, body {
width: 100%;
margin: 0;
padding: 0;
- overflow-x: hidden;
+ overflow: hidden; /* 完全隐藏滚动条 */
}
body {
@@ -83,7 +83,7 @@ body {
width: 100vw;
height: 100vh;
min-height: 100vh;
- z-index: -2;
+ z-index: -10; /* 确保在最底层 */
pointer-events: none;
background-attachment: fixed;
}
@@ -106,16 +106,13 @@ main.with-navbar {
min-height: 100vh;
}
-/* 登录页面特殊背景处理 - 参考Welcome页面样式 */
+/* 登录页面特殊背景处理 */
#app[data-route="Login"] .fullscreen-background {
background: url('/images/backgrounds/login.png') center/cover no-repeat;
background-attachment: fixed;
- min-height: 100vh;
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
+ background-size: cover;
+ background-position: center;
+ background-repeat: no-repeat;
}
/* ========== 页面特殊样式 ========== */
diff --git a/demo/frontend/src/views/Login.vue b/demo/frontend/src/views/Login.vue
index d33af93..51b2758 100644
--- a/demo/frontend/src/views/Login.vue
+++ b/demo/frontend/src/views/Login.vue
@@ -1,9 +1,10 @@
-
- Logo
-
-
-