修改css写法
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
编码猿
2024-12-11 00:39:24 +08:00
parent e028792ff9
commit f66211d9cf
5 changed files with 248 additions and 326 deletions

View File

@@ -3,42 +3,36 @@
@import "../tool/utils.css";
.type_list {
overflow-x: scroll;
height: .8rem;
li {
flex-shrink: 0;
font-size: var(--f16);
color: var(--textColor);
margin-right: var(--f10);
position: relative;
&:last-child {
margin-right: 0;
}
}
.active {
&::after {
content: "";
width: .6rem;
height: .1rem;
border-radius: .5rem;
background: var(--themeColor);
display: inline-block;
position: absolute;
bottom: -0.24rem;
left: 50%;
transform: translateX(-50%);
}
}
overflow-x: scroll;
height: 0.8rem;
}
.type_list li {
flex-shrink: 0;
font-size: var(--f16);
color: var(--textColor);
margin-right: var(--f10);
position: relative;
}
.type_list li:last-child {
margin-right: 0;
}
.type_list .active::after {
content: "";
width: 0.6rem;
height: 0.1rem;
border-radius: 0.5rem;
background: var(--themeColor);
display: inline-block;
position: absolute;
bottom: -0.24rem;
left: 50%;
transform: translateX(-50%);
}
.type_list_content .swiper-slide {
font-size: var(--f16);
height: calc(100vh - 0.96rem - 0.8rem - 1rem);
overflow-y: scroll;
}
.type_list_content .default-model {
margin-top: 0 !important;
}
.type_list_content {
.swiper-slide {
font-size: var(--f16);
height: calc(100vh - .96rem - .8rem - 1rem);
overflow-y: scroll;
}
.default-model {
margin-top: 0 !important;
}
}