From 4356cac31a34d53b9204671db682ece3f2811df7 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 7 Nov 2025 17:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5banner=E5=B7=A6=E5=8F=B3?= =?UTF-8?q?=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/home/Index.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/home/Index.scss b/src/home/Index.scss index 0e992215..0f405eb5 100644 --- a/src/home/Index.scss +++ b/src/home/Index.scss @@ -66,10 +66,11 @@ body{ overflow: hidden; img{ height: 100%; - width: 1920px; + width: 100%; position: relative; - left: 50%; - margin-left: -960px; + // left: 50%; + // margin-left: -960px; + object-fit: cover; } } }