You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhishifufei_php/public/pc/components/home/recommend3/index.css

121 lines
2.5 KiB

10 months ago
.recommend {
padding-top: 30px;
padding-bottom: 30px;
}
.recommend .head {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: end;
-webkit-align-items: flex-end;
-moz-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
font-weight: bold;
font-size: 24px;
color: #333;
}
.recommend .head div span {
margin-left: 10px;
font-weight: normal;
font-size: 16px;
color: #999;
}
.recommend .head .el-link.el-link--default {
font-size: 14px;
color: #666;
}
.recommend .el-row {
margin-top: 30px;
}
.recommend3 .el-row {
margin-bottom: -20px;
}
.recommend3 .el-col {
padding-right: 7px !important;
padding-left: 7px !important;
margin-bottom: 14px;
}
.recommend3 .el-row a {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
border-radius: 8px;
background: #FFFFFF;
overflow: hidden;
font-size: 14px;
color: #999;
}
.recommend3 .el-row a:hover {
-webkit-box-shadow: 0 2px 15px rgba(79, 109, 143, 0.15);
box-shadow: 0 2px 15px rgba(79, 109, 143, 0.15);
}
.recommend3 .el-image {
width: 330px;
height: 186px;
}
.recommend3 .el-row a > div:last-child {
-webkit-box-flex: 1;
-webkit-flex: 1;
-moz-box-flex: 1;
-ms-flex: 1;
flex: 1;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-moz-box-orient: vertical;
-moz-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-width: 0;
padding: 15px 30px 20px 20px;
}
.recommend3 .el-row a > div:last-child > div:first-child {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
font-size: 16px;
line-height: 26px;
color: #333;
}
.recommend3 .el-row a > div:last-child > div:nth-child(2) {
-webkit-box-flex: 1;
-webkit-flex: 1;
-moz-box-flex: 1;
-ms-flex: 1;
flex: 1;
margin-top: 18px;
font-size: 14px;
color: #ff6b00;
}
.recommend3 .el-row a > div:last-child > div:nth-child(2) span {
font-size: 22px;
}