首页案例卡片颜色

This commit is contained in:
zhaofang
2022-10-18 20:40:17 +08:00
parent b1926eba4e
commit f3ba07cd6e
2 changed files with 31 additions and 12 deletions

View File

@@ -672,7 +672,7 @@
} }
} }
.article-info-time{ .article-info-time{
display: none; // display: none;
} }
} }

View File

@@ -1249,7 +1249,22 @@
// .case-box { // .case-box {
// display: flex; // display: flex;
.xindex-case{
// &:nth-child(1) {
// .case-top {
// background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
// }
// }
&:nth-child(2) {
.case-top {
background: linear-gradient(333deg, #D2DEF3 0%, #B4C4E0 100%);
}
}
&:last-child {
.case-top {
background: linear-gradient(153deg, #A4D3DF 0%, #B4DCE6 100%);
}
}
.case-index { .case-index {
position: relative; position: relative;
// width: 408px; // width: 408px;
@@ -1257,18 +1272,22 @@
background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%); background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
border-radius: 8px; border-radius: 8px;
box-sizing: border-box; box-sizing: border-box;
// &:nth-child(1) {
// .case-top {
// background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
// }
// }
// margin-right: 36px; // margin-right: 36px;
&:nth-child(2) { // &:nth-child(2) {
.case-top { // .case-top {
background: linear-gradient(333deg, #D2DEF3 0%, #B4C4E0 100%); // background: linear-gradient(333deg, #D2DEF3 0%, #B4C4E0 100%);
} // }
} // }
&:last-child { // &:last-child {
.case-top { // .case-top {
background: linear-gradient(153deg, #A4D3DF 0%, #B4DCE6 100%); // background: linear-gradient(153deg, #A4D3DF 0%, #B4DCE6 100%);
} // }
margin-right: 0; margin-right: 0;