首页案例卡片颜色

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{
display: none;
// display: none;
}
}

View File

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