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%;