diff --git a/css/index.css b/css/index.css index 08a6229..00e4012 100644 --- a/css/index.css +++ b/css/index.css @@ -330,7 +330,7 @@ .banner-cont { position: relative; width: 100%; - height: 200px; + /* height: 200px; --- 移除固定高度,让内容自适应 --- */ overflow: hidden; z-index: 1; } @@ -719,6 +719,8 @@ margin-top: 0 !important; padding: 0 !important; /* Override desktop padding: 25px 0 */ + height: 200px !important; + /* 移动端固定高度 */ } /* 移动端遮罩层更轻 */