body { color: #000; } a { color: #000; } a:hover { color: #024063; } .header { background-color: #024063; background: #024063 url("/main/dist/websites/images/renshichu/header-bg.png"); /* background-size: cover; */ background-position: center; } .mobile-nav-icon { top: 50%; } .header-top-bg { width: 100%; height: 14px; } .header-top .header-top-left { /* width: 100%; */ padding: 0 30px; float: left; } .header-top .header-top-right { /* width: 100%; */ padding: 0 30px; float: right; } .header-top-left span:last-child, .header-top-right span:last-child { border: none; /* float: right; */ } /* .header-top .header-top-left span:nth-last-of-type(1), .header-top .header-top-left span:nth-last-of-type(2), .header-top .header-top-left span:nth-last-of-type(3) { float: right; } */ /* .header-top .header-top-left span:nth-last-of-type(3),.header-top .header-top-left span:nth-last-of-type(4){ border: none; } */ .header-top div span { padding: 0 10px; color: white; border-right: 1px solid #fff; } .header-top div span:first-child { padding-left: 0; } .header-top div span a { color: white; } .header-img { clear: both; display: flex; justify-content: center; align-items: center; margin-bottom: 10px; } .header-img .header-img-line { width: 1px; height: 50px; margin: 10px; background-color: white; } .header-img img { display: inline-block; width: auto; height: 70px; } /* 导航 */ .header-nav { background-color: transparent; display: flex; justify-content: center; } .header-nav>ul { height: 40px; line-height: 40px; background-color: transparent; display: inline-block; } .header-nav>ul>li { width: 100px; float: left; display: flex; align-items: center; height: 40px; justify-content: center; } .header-nav>ul>li a { font-size: 16px; } .nav-secondLevel { top: 40px; } .header-nav li:last-child { background: none; } .header-nav li:hover a { background-color: transparent; } .header-nav .nav-secondLevel { background-color: #005587; } .header-nav .nav-secondLevel li a { border-color: #003e62; background-color: #005587; } .header-nav .nav-secondLevel li a:hover { background-color: #003e62; } .header-nav .nav-threeLevel li a:hover { background-color: #003e62; } .header-nav li a { position: relative; font-weight: normal; } .header-nav a i { width: 0; height: 0; border: 6px solid transparent; border-bottom-color: #fff; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); opacity: 0; } .header-nav li:hover a i { opacity: 1; } .title { width: 100%; justify-content: space-between; display: flex; align-items: center; } .title a, .time, .part1-content>div>a { color: #414141; } .banner .swiper-container { max-height: 730px; } .banner .swiper-container img { width: 100%; height: 100%; object-fit: cover; } .banner .swiper-pagination { width: 100%; /* background: rgba(0, 0, 0, 0.4); */ position: absolute; bottom: 2rem; } .banner .swiper-pagination-bullet-active { background-color: #024063; } .wrap { width: 60%; margin: 0 auto; text-align: left; } .part1 .title, .part2 .title { padding: 2rem 0; } .part1-content { display: grid; gap: 1rem; grid-template-columns: repeat(4, 24%); } .part1-content>div { background: #f6f6f6; } .part1-content img { width: 100%; margin: 0 0 1rem; } .part1-content>div>div { color: #b3b3b3; padding: 0 1.5rem; } .part1-content>div>h3 { font-size: 1rem; margin-top: 1rem; margin-bottom: 1rem; padding: 0 1.5rem; } .part1-content>div>p { font-size: 1rem; line-height: 1.3rem; margin-bottom: 1rem; padding: 0 1.5rem; color: #b3b3b3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .part1-content>div>a { width: 100%; padding: 0 1.5rem 1rem; text-align: left; display: block; } .part1-content>div>a:hover { color: #024063; } .part2 { width: 100%; height: 550px; margin: 2rem 0 0; background: url(/main/dist/websites/images/renshichu/part2-bg.png) no-repeat; background-size: cover; } .part2 .title, .part2 .title a { color: #fff; } .part2-content { display: grid; grid-template-columns: 35% 60%; gap: 5%; } .part2-content img { width: 100%; object-fit: cover; } .part2-content-left { background-color: #fff; } .part2-content-left h4 { padding: 1rem 1.5rem; font-size: 16px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; } .part2-content-left .date { color: #b3b3b3; padding: 0 1.5rem; } .part2-content-left a { width: 100px; height: 40px; line-height: 40px; text-align: center; background-color: #fff; color: #024063; border: 1px solid #024063; margin: 1rem 1.5rem; display: block; border-radius: 2rem; } .part2-content-left a:hover { background-color: #024063; color: #fff; } .part2-content-right { background-color: #fff; padding: 30px 0 0; font-size: 16px; } .part2-content-right h2 { width: 30%; border-bottom: 3px solid #024063; padding-bottom: 20px; padding-left: 30px; color: #024063; } .part2-content-right ul{ width: 100%; padding: 0 30px; } .part2-content-right li a{ display: flex; align-items: flex-start; } .part2-content-right li .time{ width: 10%; line-height: 1.5rem; text-align: right; padding-right: 1rem; border-right: 1px solid #e0e0e0; } .part2-content-right li a p{ width: 90%; padding-left: 1rem; line-height: 1.5rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .part2-content-right li{ border-bottom: 1px solid #e0e0e0; padding: 18px 0; } .part2-content-right li:last-child{ border-bottom: none; } .part3 .title{ padding: 2rem 0 1rem; } .part3-content{ margin-bottom: 2rem; } .part3-content-nav{ display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 3rem; margin-bottom: 2rem; border-bottom: 1px solid #dddddd; } .part3-content-nav h3{ cursor: pointer; } .part3-content-nav .selected{ position: relative; color: #024063; } .part3-content-nav .selected::after{ content: ""; width: 100%; height: 3px; display: block; background: #024063; position: absolute; width: 100%; bottom: -1.5rem; left: 50%; transform: translateX(-50%); } .part3-content-cardlist{ display: flex; gap: 1rem; } .card{ align-items: center; display: grid; grid-template-columns: 40% 55%; gap: 1rem; } .card>div:first-child img{ width: 100%; height: 100%; object-fit: cover; } .card>div:last-child .date{ margin: 1rem 0; color: #b3b3b3; } .card>div:last-child h3{ display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; } .card>div:last-child p{ color: #b3b3b3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .crumbs { background-color: #024063; color: #fff; } .crumbs a { color: #fff; } /* 目录页 */ .catalog-title { border-color: #024063; } /* 底部 */ .footer { padding-top: 5px; background-color: #024063; } .footerBottom{ width: 100%; height: 20px; border-top: 1px solid #113d5e; background: #002f53; } .footer-mesg { background-color: transparent; padding: 30px 0; width: 98%; margin: 0 auto; } .footer-mesg>div { width: 33%; padding-left: 50px; text-align: left; justify-content: space-between; flex-direction: column; border-right: 1px solid #fff; } .footer-link { background-color: #c1d6e3; line-height: 36px; } .footer-link ul { display: inline-block; } .footer-link ul li { display: inline-block; margin-right: 15px; } .mobile-nav-icon span { background-color: #fff; } .mobile-header-nav>ul { background-color: #024063; overflow: unset !important; } .mobile-header-nav>ul>li { background-color: #024063; } .mobile-header-nav li a { border-color: #024063; } .mobile-header-nav .nav-secondLevel { background-color: #003e62; } .mobile-header-nav .nav-threeLevel { background-color: #003e62; } @media screen and (max-width: 1600px) {} /* 响应式 */ @media screen and (max-width: 1315px) { .banner .swiper-container { height: 700px; } .mobile-nav-icon, .mobile-header-nav { display: none; } .header-nav li { width: 80px; } } @media screen and (max-width: 1080px) { .header { position: relative; } .banner .swiper-container { height: 500px; } .mobile-nav-icon, .mobile-header-nav { display: block; } .header-nav { display: none; } .header-top-left, .header-top-right { display: none; } .part1-content{ grid-template-columns: repeat(2, 50%); grid-template-rows: repeat(2,1fr); } .part2-content-right h2{ width: 50%; } } @media screen and (max-width: 780px) { .banner .swiper-container { height: 300px; } .wrap { width: 90%; } .part1-content { display: grid; grid-template-columns: repeat(1, 100%); grid-template-rows: repeat(4, 1fr); } .part2{ height: 130vh; background-size: cover; } .part2-content { grid-template-columns:repeat(1,100%); grid-template-rows: repeat(2,1fr); gap: 1rem; } .part2-content-right ul{ padding: unset; } .part2-content-right h2{ width: 50%; } .part2-content-right li .time{ width: 20%; } .part3-content-nav{ padding: 1.5rem 0; } .part3-content-cardlist{ flex-direction: column; } } @media screen and (max-width: 640px) { .part2{ height: 115vh; background-size: cover; } .content { margin-top: 0 !important; } .header-img img { display: inline-block; width: auto; height: 65px; margin-right: 35px; } }