From a55692e80e6b443e4e9f67d58931e057faa1c0ee Mon Sep 17 00:00:00 2001 From: AIGC Developer Date: Tue, 21 Oct 2025 17:26:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9App.vue=E6=A0=B7=E5=BC=8F=20-?= =?UTF-8?q?=20=E7=A1=AE=E4=BF=9D=E8=83=8C=E6=99=AF=E5=AE=8C=E5=85=A8?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E6=95=B4=E4=B8=AA=E5=B1=8F=E5=B9=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/frontend/src/App.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/demo/frontend/src/App.vue b/demo/frontend/src/App.vue index 5eb5eb4..1fa0c2d 100644 --- a/demo/frontend/src/App.vue +++ b/demo/frontend/src/App.vue @@ -53,19 +53,22 @@ console.log('App.vue 加载成功') html, body { height: 100%; + width: 100%; margin: 0; padding: 0; + overflow-x: hidden; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; - background: #f5f5f5; + background: transparent; } #app { min-height: 100vh; + width: 100vw; display: flex; flex-direction: column; position: relative; @@ -79,8 +82,10 @@ body { left: 0; width: 100vw; height: 100vh; + min-height: 100vh; z-index: -1; pointer-events: none; + background-attachment: fixed; } main { @@ -101,7 +106,15 @@ main.with-navbar { left: 0; width: 100vw; height: 100vh; + min-height: 100vh; z-index: 1000; + background-attachment: fixed; +} + +/* 登录页面特殊背景处理 */ +#app[data-route="Login"] .fullscreen-background { + background: url('/images/backgrounds/login.png') center/cover no-repeat; + background-attachment: fixed; } /* ========== 页面特殊样式 ========== */