From cd134c323e91608feef0ee81899d0022988ef36b Mon Sep 17 00:00:00 2001 From: yiqiu Date: Thu, 25 Dec 2025 23:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8F=91=E6=89=93=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/css/index.css b/css/index.css index 00e4012..dbf5930 100644 --- a/css/index.css +++ b/css/index.css @@ -728,8 +728,14 @@ background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 242, 254, 0.9) 100%); } - /* 移动端文字内容居中对齐 */ + /* 移动端文字内容居中对齐 - 覆盖桌面端绝对定位 */ .banner-cont .swiper-slide .section-content { + position: relative !important; + /* 覆盖桌面端的 absolute */ + top: auto !important; + left: auto !important; + transform: none !important; + /* 移除桌面端的 transform */ text-align: center; padding: 0 20px; height: 100%;