品牌活动列表优化

master
Lee 2022-10-18 16:32:54 +08:00
parent 6b687a544e
commit d6b4a19fa3
1 changed files with 12 additions and 7 deletions

View File

@ -1094,8 +1094,13 @@
height: 222px;
}
.activities-list .activities-item:nth-of-type(3n),
.activities-list .activities-item:nth-of-type(4n) {
.activities-list .activities-item:nth-of-type(4n+3){
flex-direction: row-reverse;
}
.activities-list .activities-item:nth-of-type(2n){
flex-direction: row;
}
.activities-list .activities-item:nth-of-type(4n+4){
flex-direction: row-reverse;
}
@ -3573,12 +3578,12 @@
height: 2.3rem;
}
.activities-list .activities-item:nth-of-type(2n) {
flex-direction: row-reverse;
.activities-list .activities-item:nth-of-type(even) {
flex-direction: row-reverse !important;
}
.activities-list .activities-item:nth-of-type(3n) {
flex-direction: row;
.activities-list .activities-item:nth-of-type(odd) {
flex-direction: row !important;
}
.activities-list .activities-item>.txt {