修复
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-21 18:29:32 +08:00
parent 4e572e6b8b
commit 6d19df1a9f

View File

@@ -5,16 +5,15 @@
} }
.banner-cont .swiper-slide { .banner-cont .swiper-slide {
height: 500px;
width: 100%; width: 100%;
background: linear-gradient(0, #f7f9fa, #f9fafb); background: linear-gradient(0, #f7f9fa, #f9fafb);
} }
.banner-cont .swiper-slide .img { .banner-cont .swiper-slide .img {
/* 保持图片占满宽度,避免拉伸过度 */ /* 保持图片占满宽度,避免拉伸过度 */
max-height: 100%;
max-width: 100%;
width: 100%; width: 100%;
height: auto;
max-width: 100%;
} }
/* 文案区域:固定在左侧,顶部留出一致间距,避免切换时轻微位移 */ /* 文案区域:固定在左侧,顶部留出一致间距,避免切换时轻微位移 */