轮播图闪烁
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-21 17:53:08 +08:00
parent a35593bf8a
commit 7a99ebef9d
3 changed files with 72 additions and 33 deletions

View File

@@ -1,13 +1,13 @@
/* banner */
.banner-cont {
width: 100%;
}
.banner-cont .swiper-slide {
height: 500px;
width: 100%;
background: linear-gradient(0, #f7f9fa, #f9fafb);
}
.banner-cont {
width: 100%;
}
.banner-cont .swiper-slide {
height: 500px;
width: 100%;
background: linear-gradient(0, #f7f9fa, #f9fafb);
}
.banner-cont .swiper-slide .img {
/* position: absolute; */
@@ -35,9 +35,31 @@
border-radius: 3px;
}
.banner-cont .swiper-pagination-bullet-active {
background: rgba(255, 103, 57, 1);
}
.banner-cont .swiper-pagination-bullet-active {
background: rgba(255, 103, 57, 1);
}
.banner-cont {
position: relative;
}
.banner-cont .banner-text {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
}
.banner-cont .banner-text .section-content {
z-index: 1;
}
.banner-cont .banner-text .btn {
pointer-events: auto;
}
.banner .banner-s {
box-shadow: 0px 0px 16px rgba(52, 52, 52, 0.16);