This commit is contained in:
@@ -698,12 +698,12 @@
|
|||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
/* 调整 banner 高度 - 进一步缩小 */
|
/* 调整 banner 高度 - 移动端优化 */
|
||||||
.banner-cont .swiper-slide {
|
.banner-cont .swiper-slide {
|
||||||
height: 200px;
|
height: 200px !important;
|
||||||
/* Reduced from 240px to 200px */
|
/* 强制设置高度 */
|
||||||
padding-top: 56px;
|
padding-top: 0 !important;
|
||||||
/* Compensate for sticky header overlap if needed, or if under header */
|
/* 移除顶部内边距,让内容居中 */
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|
||||||
/* Mobile Background Optimization */
|
/* Mobile Background Optimization */
|
||||||
@@ -819,6 +819,15 @@
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 移动端调整 banner-s 位置,避免遮挡 */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.banner .banner-s {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
/* 移除负边距 */
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.banner .banner-s .banner-list {
|
.banner .banner-s .banner-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|||||||
Reference in New Issue
Block a user