From 7c4c8acdebc1e566238734169acf2b364030f5d2 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Tue, 31 Dec 2024 22:39:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=9C=A8=E6=89=8B=E6=9C=BA=E7=AB=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 454bd8fc..bcd16474 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -138,9 +138,7 @@ @@ -299,6 +297,7 @@ onMounted(() => { justify-content: center; width: 100%; height: 100%; + padding: 20px; overflow-y: auto; background: url("@/assets/images/login-bg.jpg") no-repeat center right; @@ -336,7 +335,7 @@ onMounted(() => { @media (width <= 460px) { width: 100%; - padding: 0 20px; + padding: 20px; } .form-title { @@ -378,9 +377,10 @@ onMounted(() => { } .login-footer { - position: absolute; + position: fixed; bottom: 0; width: 100%; + padding: 10px 0; text-align: center; } }