123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- .recommend {
- padding-top: 30px;
- padding-bottom: 30px;
- margin-top: 10px;
- }
- .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;
- }
- .recommend2 .el-row a {
- position: relative;
- display: block;
- border-radius: 8px;
- overflow: hidden;
- }
- .recommend2 .el-image {
- display: block;
- width: 100%;
- height: 224px;
- }
- .recommend2 .el-row a > div:nth-child(2) {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 2;
- padding-left: 25px;
- background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(#000));
- background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 0%, #000 100%);
- background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.3) 0%, #000 100%);
- background: -o-linear-gradient(top, rgba(0, 0, 0, 0.3) 0%, #000 100%);
- background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, #000 100%);
- font-weight: bold;
- font-size: 18px;
- line-height: 62px;
- color: #fff;
- }
- .recommend2 .el-row a:hover > div:nth-child(2) {
- opacity: 0;
- }
- .recommend2 .el-row a > div:nth-child(2) span {
- position: relative;
- padding-left: 15px;
- margin-left: 12px;
- font-weight: normal;
- font-size: 14px;
- }
- .recommend2 .el-row a > div:nth-child(2) span::before {
- content: "/";
- position: absolute;
- bottom: 0;
- left: 0;
- z-index: 2;
- font-size: 12px;
- line-height: normal;
- }
- .recommend2 .el-row a > div:last-child {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 2;
- padding-top: 40px;
- padding-right: 20px;
- padding-left: 20px;
- background-color: rgba(0, 0, 0, 0.8);
- font-size: 14px;
- color: #fff;
- opacity: 0;
- -webkit-transition: 0.3s;
- -o-transition: 0.3s;
- -moz-transition: 0.3s;
- transition: 0.3s;
- }
- .recommend2 .el-row a:hover > div:last-child {
- opacity: 1;
- }
- .recommend2 .el-row a > div:last-child > div:first-child {
- font-weight: bold;
- font-size: 18px;
- }
- .recommend2 .el-row a > div:last-child > div:nth-child(2) {
- position: relative;
- padding-top: 10px;
- padding-bottom: 29px;
- font-size: 0;
- }
- .recommend2 .el-row a > div:last-child > div:nth-child(2)::after {
- content: "/";
- position: absolute;
- bottom: 0;
- left: 10px;
- z-index: 2;
- font-size: 12px;
- }
- .recommend2 .el-tag {
- height: 29px;
- padding-right: 9px;
- padding-left: 9px;
- border-color: #6a6a6a;
- border-radius: 2px;
- background-color: #6a6a6a;
- font-size: 14px;
- line-height: 27px;
- color: #fff;
- }
- .recommend2 .el-tag ~ .el-tag {
- margin-left: 6px;
- }
- .recommend2 .el-row a > div:last-child > div:last-child {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- margin-top: 7px;
- overflow: hidden;
- line-height: 36px;
- }
- .recommend2 .el-col-6 {
- width: 20%;
- padding-right: 7px !important;
- padding-left: 7px !important;
- margin-bottom: 14px;
- }
|