#newsList { width: 100%; overflow: hidden; } //二级栏目 .sannongzhichuang { margin: 30px 0 40px; .inner { width: 1200px; height: 67px; position: relative; } h2 { display: inline-block; //background-image: url("../../public/image/bg1.png"); background: #139602; width: 156px; height: 43px; padding: 14px 31px 10px 25px; font-family: STXingkai, STXingkai; font-weight: 400; font-size: 39px; color: #FFFFFF; line-height: 46px; text-align: center; font-style: normal; text-transform: none; -webkit-text-stroke: 0.3px #3C6C47; position: absolute; top: 0; left: 0; z-index: 99; em { position: absolute; top: -16px; right: -12px; color: #185410; display: inline-block; width: 13px; height: 13px; } a { font-family: STXingkai, STXingkai; font-weight: 400; font-size: 39px; color: #FFFFFF; line-height: 46px; text-align: center; -webkit-text-stroke: 0.3px #3C6C47; } } p.introduction { display: inline-block; width: 1003px; height: 56px; line-height: 56px; background-color: #fafafa; position: absolute; bottom: 0; right: 0; display: flex; >strong:first-child { margin-left: 40px; display: inline-block; vertical-align: middle; width: 32px; height: 36px; padding: 3px 7px; border: 0.5px solid #129502; font-family: Microsoft YaHei, Microsoft YaHei; font-weight: bold; font-size: 14px; color: #139602; line-height: 18px; text-align: center; font-style: normal; text-transform: none; } div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; >span { width: 64px; height: 21px; font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; font-size: 16px; color: #000000; line-height: 21px; text-align: left; font-style: normal; text-transform: none; margin-top: 17px; padding: 0 24px; border-right: 1px solid #ccc; a { color: #000; } } >span:hover a { color: #139602; } >span:last-child { border: none; } } } } //导航条 .breadcrumb { width: 100%; height: 22px; margin-top: 30px; margin-bottom: 30px; font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; font-size: 20px; color: #666666; line-height: 23px; text-align: left; font-style: normal; text-transform: none; :deep(.el-breadcrumb) { display: inline-block; vertical-align: -4px; } :deep(.el-breadcrumb__inner a), :deep(.el-breadcrumb__inner.is-link) { color: #666666; font-weight: 400; text-decoration: none; transition: var(--el-transition-color); } span { font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; font-size: 20px; color: #666666; line-height: 23px; text-align: left; font-style: normal; text-transform: none; } span:hover { color: #666666; } .location { margin-right: 20px; width: 100px; height: 22px; font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; font-size: 20px; color: #666666; line-height: 23px; text-align: left; font-style: normal; text-transform: none; } } // 资讯列表 .newsList { width: 100%; // height: 675px; overflow: hidden; margin-bottom: 70px; .inner { width: 1200px; .innerLeft, .innerRight { border-top: 1px solid #139602; } .innerLeft { // height: 675px; >.list { // height: 570px; margin-bottom: 70px; >li { width: 790px; height: 56px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 56px; >a { width: 360px; height: 26px; font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; font-size: 20px; color: #333333; line-height: 26px; text-align: left; font-style: normal; text-transform: none; } } >li:hover>a { color: #139602; } >li:nth-child(1)::after, >li:nth-child(2)::after { content: "热"; margin-left: 13px; background: #FF8A37; color: #fff; font-size: 14px; padding: 0px 2px; } >li:nth-child(5n) { // padding-top: 10px; // padding-bottom: 10px; border-bottom: 1px solid #D9D9D9; } } >.pagination { width: 800px; height: 34px; margin-left: 141px; display: flex; justify-content: center; margin: 0; // 鼠标移入后字体颜色 .el-pagination::v-deep :hover { color: #139609; } .el-pagination.is-background::v-deep .btn-next, .el-pagination.is-background::v-deep .btn-prev { width: 70px; height: 34px; margin: 0px 10px; border-radius: 4px; } .el-pagination.is-background::v-deep .el-pager li { margin: 0px 10px; width: 38px; height: 34px; border-radius: 4px; } .el-pagination.is-background::v-deep .btn-next.is-active, .el-pagination.is-background::v-deep .btn-prev.is-active, .el-pagination.is-background::v-deep .el-pager li.is-active { background-color: #028e21; color: #fff; } } } .innerRight { width: 381px; // height: 605px; } } } //资讯推荐 .zixuntuijian { width: 100%; height: 290px; margin-bottom: 70px; .innerLeft { // 左侧 .zixunLeft { margin-right: 30px; } .zixunRight, .zixunLeft { float: left; width: 380px; height: 290px; // 标题部分 >.title { width: 380px; } >.title>h3 { height: 36px; font-family: Source Han Sans, Source Han Sans; font-weight: bold; font-size: 24px; color: #000000; line-height: 28px; text-align: left; font-style: normal; text-transform: none; border-bottom: 1px solid #139602; } >.title>h3>span { float: right; width: 56px; height: 20px; line-height: 24px; font-weight: 400; font-size: 14px; color: #999999; font-style: normal; text-transform: none; } .photo_text { >li:first-child { width: 380px; height: 120px; margin-top: 20px; margin-bottom: 15px; position: relative; >img { float: left; width: 160px; height: 120px; } >div { float: left; width: 220px; height: 120px; padding-left: 15px; padding-top: 6px; box-sizing: border-box; background-color: #f6f6f6; >h5 { width: 200px; height: 54px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; word-break: break-all; font-family: Source Han Sans, Source Han Sans; font-weight: 500; font-size: 18px; color: #333333; line-height: 26px; text-align: left; font-style: normal; text-transform: none; } >p { width: 200px; height: 22px; line-height: 20px; position: absolute; bottom: 5px; right: 0; >span { display: inline-block; // width: 100px; height: 18px; font-family: Source Han Sans, Source Han Sans; font-weight: 400; font-size: 12px; color: #999999; text-align: left; line-height: 14px; font-style: normal; text-transform: none; } >span:last-child { // width: 90px; text-align: right; margin-left: 20px; } } } } >li { width: 380px; height: 25px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: PingFang SC, PingFang SC; font-weight: 500; font-size: 18px; color: #333333; line-height: 21px; text-align: left; font-style: normal; text-transform: none; margin-bottom: 10px; em { display: inline-block; width: 8px; height: 8px; border-radius: 8px; margin-right: 10px; background-color: #d9d9d9; } } >li:hover { color: #139602; } >li:hover em { background-color: #139602; } } } } .innerRight { width: 381px; height: 290px; background-color: #fbfbfb; >.title { width: 380px; height: 40px; line-height: 40px; border-top: 1px solid #139602; border-bottom: 1px solid #e7e7e7; >h4 { font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; margin-left: 20px; font-size: 20px; color: #000000; text-align: left; font-style: normal; text-transform: none; >span { float: right; font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; font-size: 14px; margin-right: 10px; color: #999999; text-align: left; font-style: normal; text-transform: none; } } } .rightList { height: 540px; margin-top: 20px; >li { height: 100px; margin-bottom: 10px; >img { width: 150px; height: 100px; } >p { width: 219px; height: 100px; padding-left: 12px; font-family: PingFang SC, PingFang SC; font-weight: 400; font-size: 16px; color: #333333; line-height: 22px; text-align: left; font-style: normal; text-transform: none; } >p:hover { box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1); } } } } }