//导航条 .breadcrumb { width: 1200px; margin: 0 auto; height: 52px; 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; border-bottom: 1px solid #D9D9D9; :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; } } .empty { div { display: flex; justify-content: center; align-items: center; padding-top: 200px; } width: 100%; height: 600px; font-size: 26px; color: #CCCCCC; img { display: inline-block; } } //资讯推荐 .searchBox { text-align: center; padding-bottom: 40px; } .search { width: 100%; height: 100px; // background-color: #f5f5f5; .inner { width: 1200px; padding-top: 10px; display: flex; justify-content: center; align-items: center; input { width: 582px; height: 46px; outline: none; border: 1px solid #E6E6E6; border-radius: 0; padding-left: 20px; vertical-align: 0px; font-size: 16px; color: #666666 } button { width: 120px; height: 48px; color: #fff; border: none; border-radius: 0; cursor: pointer; } } } //皮肤样式1 //搜索样式 .searchStyle1 { background-color: #1C5468; } //列表样式 .newsListStyle1 { width: 1200px; margin: 0 auto; //height: 675px; margin-bottom: 70px; .inner { width: 1200px; .innerLeft { width: 100%; clear: both; float: none; .list { margin-bottom: 70px; li { width: 100%; 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; } .listText { display: inline-block; width: 1000px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } &:nth-child(1) a span.listText::after, &:nth-child(2) a span.listText::after { content: "热"; margin-left: 13px; background: #DD7D18; color: #fff; font-size: 14px; padding: 0px 2px; } .time { float: right; font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; font-size: 18px; color: #333333; padding-top: 15px; } &:nth-child(1) a ,&:nth-child(6) a,&:nth-child(11) a,&:nth-child(16) a { font-weight: bold; } &:nth-child(6),&:nth-child(11),&:nth-child(16){ margin-top: 20px; } } >li:hover>a { color: #1C5468; } >li:nth-child(5n) { border-bottom: 1px solid #D9D9D9; } } >.pagination { width: 100%; height: 34px; margin-left: 141px; display: flex; justify-content: center; margin: 0; // 鼠标移入后字体颜色 .el-pagination::v-deep :hover { color: #1C5468; } .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: #1C5468; color: #fff; } } } } } //皮肤样式2 .searchStyle2 { background-color: #A91B33; } //列表样式 .newsListStyle2 { width: 1200px; margin: 0 auto; //height: 675px; margin-bottom: 70px; .inner { width: 1200px; .innerLeft { width: 100%; clear: both; float: none; .list { margin-bottom: 70px; li { width: 100%; 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; } .listText { display: inline-block; width: 1000px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } &:nth-child(1) a span.listText::after, &:nth-child(2) a span.listText::after { content: "热"; margin-left: 13px; background: #DD7D18; color: #fff; font-size: 14px; padding: 0px 2px; } .time { float: right; font-family: Microsoft YaHei, Microsoft YaHei; font-weight: 400; font-size: 18px; color: #333333; padding-top: 15px; } &:nth-child(1) a ,&:nth-child(6) a,&:nth-child(11) a,&:nth-child(16) a { font-weight: bold; } &:nth-child(6),&:nth-child(11),&:nth-child(16){ margin-top: 20px; } } >li:hover>a { color: #A91B33; } >li:nth-child(5n) { border-bottom: 1px solid #D9D9D9; } } >.pagination { width: 100%; height: 34px; margin-left: 141px; display: flex; justify-content: center; margin: 0; // 鼠标移入后字体颜色 .el-pagination::v-deep :hover { color: #A91B33; } .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: #A91B33; color: #fff; } } } } }