This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
min-height: 300px; */
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
z-index: -1;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* 轮播项 - 填充容器高度 */
|
||||
@@ -27,3 +27,49 @@
|
||||
/* object-fit: contain; 可选:完整显示图片,不裁剪(可能留黑边) */
|
||||
display: block;
|
||||
}
|
||||
.swiper-container-texts {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top:2.3rem;
|
||||
transform: translateX(-50%);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.swiper-container-texts-t {
|
||||
font-size: 0.9rem;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
line-height: 1;
|
||||
}
|
||||
.swiper-container-texts-p {
|
||||
padding-top: 0.43rem;
|
||||
font-size: 0.28rem;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
letter-spacing: 1.3px;
|
||||
|
||||
}
|
||||
.swiper-container-texts-p div {
|
||||
font-family: "HarmonyOS-Light";
|
||||
}
|
||||
.swiper-container-texts-line {
|
||||
width: 1px;
|
||||
height: 0.16rem;
|
||||
background: #fff;
|
||||
margin: 0 12px;
|
||||
}
|
||||
.swiper-container-texts-img {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-top: 0.63rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.swiper-container-texts-img a {
|
||||
width: 1.82rem;
|
||||
}
|
||||
.swiper-container-texts-img img {
|
||||
width: 1.82rem;
|
||||
}
|
||||
Reference in New Issue
Block a user