From 54664b54596df725b8960c90077249459626fac8 Mon Sep 17 00:00:00 2001 From: JayChou Date: Fri, 28 Feb 2025 15:29:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=C2=B7=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layout/index.vue b/src/layout/index.vue index ef534f7..61c7eca 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -25,10 +25,10 @@ console.log(setting.title); position: relative; width: 100%; // height: 1080px; - height: 1080px; + min-height: 100vh; background-color: #091d22; background: url("../assets//images/bg2.png") no-repeat; - + background-size: cover ; .top { width: 100%; @@ -39,6 +39,7 @@ console.log(setting.title); font-style: italic; background: url("../assets/images/topbgc.png") no-repeat; // background-position: center bottom -10px; + background-size: cover; .title { color: #fff; }