From 1fbce751042a6b3f512442c10c321fad04045544 Mon Sep 17 00:00:00 2001 From: 18631081161 <2088094923@qq.com> Date: Fri, 25 Jul 2025 14:18:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=83=8C=E6=99=AF=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/home-page.vue | 12 +++++++++--- uni.scss | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pages/home/home-page.vue b/pages/home/home-page.vue index 8d27a1f..27fa1be 100644 --- a/pages/home/home-page.vue +++ b/pages/home/home-page.vue @@ -4,8 +4,7 @@ - + @@ -16,7 +15,7 @@ - + @@ -149,4 +148,11 @@ .swiper { height: 1000px; } + + .main-bg { + display: flex; + justify-content: center; + width: 100%; + background-image: url('@@:static/bg.png'); + } \ No newline at end of file diff --git a/uni.scss b/uni.scss index 26017a6..82d71d7 100644 --- a/uni.scss +++ b/uni.scss @@ -72,6 +72,7 @@ $baseurl: "https://guyu-1308826010.cos.ap-shanghai.myqcloud.com/static/"; background-size: cover; background-repeat: no-repeat; background-position: center; + background-attachment: fixed; } .column {