body { color: #000; } a { color: #000; } a:hover { color: #073caa; } .header { background-color: #073caa; background: #073caa url("/main/dist/websites/images/jxjyxy/header-bg.png"); background-size: auto 90%; background-repeat: repeat-x; 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; } .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: #073caa; } .header-nav .nav-secondLevel li a { border-color: #03379e; background-color: #073caa; } .header-nav .nav-secondLevel li a:hover { background-color: #03379e; } .header-nav .nav-threeLevel li a:hover { background-color: #03379e; } .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: flex-end; } .title h2{ display: flex; align-items: flex-end; font-size: 1.5rem; font-weight: normal; } .title span{ width: 80px; height:80px; display: block; background: url(/main/dist/websites/images/jxjyxy/title.png) no-repeat; background-size: 100%; font-size: 16px; font-weight: normal; padding-top: 30px; padding-right: 15px; text-align: center; color: #fff; margin-right: 1rem; } .title a{ width: 170px; height: 30px; border: 1px solid #073caa; display: flex; align-items: center; color: #073caa; gap: 10px; justify-content: center; font-size: 16px; } .title img{ width: 20px; height: 20px; } .part1{ width: 100%; height: 800px; position: relative; } .part1-nav{ position: absolute; display: flex; width: 70%; left: 50%; top: 80%; transform: translate(-50%, -50%); } .part1-nav a{ flex: 1; background-color: #073caa; color: #fff; text-align: center; padding: 13px 0; font-size: 16px; } .part1-nav a:nth-child(odd){ background-color: rgba(7, 60, 170,0.7); } .part2{ width: 100%; height: 970px; position: relative; } .part2-content{ width: 60%; margin: 0 auto; height: 1040px; background: #f5f5f5; display: flex; flex-direction: column; position: absolute; left: 50%; transform: translate(-50%, -10%); } .part2-content .title{ margin: 2rem 0 1rem; } .part2-list{ width: 80%; margin: 0 auto; } .part2-list li a{ display: flex; font-size: 16px; padding: 20px 0; margin: 0 20px; border-bottom: 1px solid #545454; } .part2-img{ position: relative; width: 100%; height: 140px; } .part2-img img{ position: absolute; transform: translate(-11%, 0); width: 130%; } .part3{ width: 100%; height: 500px; background: url(/main/dist/websites/images/jxjyxy/part3-bg.png) no-repeat; background-size: cover; display: flex; align-items: center; flex-direction: column; justify-content: center; color: #fff; } .part3>h2{ font-size: 2rem; font-weight: normal; margin-bottom: 3rem; } .part3>h2:last-of-type{ background: #073caa; font-size: 1.5rem; padding: 10px 2rem; } .part3>div{ display: flex; width: 100%; justify-content: center; gap: 1rem; } .part3>div>div{ padding: 4rem ; display: flex; justify-content: space-around; text-align: center; color: #000; width: 30%; background: rgba(255, 255, 255, 0.8); font-size: 16px; font-weight: bold; font-family: "微软雅黑"; } .part3>div>div h2{ margin-bottom: 1rem; } .part4-content { width: 70%; margin: 0 auto; display: grid; grid-template-columns: 40% 60%; } .part4-content > div{ display: flex; align-items: center; } .part4-content > div >div{ border: 1px solid #073caa; border-left: none; padding: 10px 30px; line-height: 20px; } .part4-content > div h3{ margin-bottom: 1rem; font-size: 1.2rem; } .part4-content > div p { line-height: 30px; } .part4-content img{ width: 100%; } .part4 .title , .part5 .title{ color: #073caa; } .part4-title,.part5-title{ width: 60%;margin: 40px auto;} .part4-title-content,.part5-title-content{width: 80%;margin: 0 auto;} .part5-content{ display: flex; align-items: center; justify-content: center; gap: 1rem; text-align: center; font-size: 16px; margin-bottom: 2rem; } .part5-content img{ width: 250px; margin-bottom: 0.5rem; } .crumbs { background-color: #073caa; color: #fff; } .crumbs a { color: #fff; } /* 目录页 */ .catalog-title { border-color: #073caa; } /* 底部 */ .footer { padding-top: 5px; background-color: #073caa; display: grid; color: #fff; grid-template-columns: 70% 30% ; align-items: center; justify-content: center; gap: 1rem; padding-bottom: 1rem; } .footer img{ width: 100px; height: 100px; margin-bottom: 0.5rem; } .footer-mesg { background-color: transparent; padding: 30px 0; margin: 0 auto; } .footer-mesg p { text-align: left; } .footer-mesg>div { width: 33%; padding-left: 50px; text-align: left; justify-content: space-between; flex-direction: column; border-right: 1px solid #fff; } .footerBottom{ width: 100%; height: 20px; border-top: 1px solid #113d5e; background: #002f53; } .footer-img{ display: flex; gap: 2rem; } .mobile-nav-icon span { background-color: #fff; } .mobile-header-nav>ul { background-color: #073caa; overflow: unset !important; } .mobile-header-nav>ul>li { background-color: #073caa; } .mobile-header-nav li a { border-color: #073caa; } .mobile-header-nav .nav-secondLevel { background-color: #03379e; } .mobile-header-nav .nav-threeLevel { background-color: #03379e; } @media screen and (max-width: 1600px) {} /* 响应式 */ @media screen and (max-width: 1315px) { .mobile-nav-icon, .mobile-header-nav { display: none; } .header-nav li { width: 80px; } } @media screen and (max-width: 1080px) { .header { position: relative; } .mobile-nav-icon, .mobile-header-nav { display: block; } .header-nav { display: none; } .header-top-left, .header-top-right { display: none; } .header-img img { display: inline-block; width: auto; height: 30px; margin-right: 35px; } .title h2{ font-size: 1.2rem; } .title a{ width: 120px; } .part1{ height: 400px; } .part1-nav{ top: 65%; } .part2{ height: 1000px; } .part2-img{ margin-top: 1rem; } .part2-content{ width: 100%; height: 1090px; } .part2-list,.part4-title-content, .part5-title-content{ width: 95%; } .part2-img img{ width: 100%; transform:unset } .part3>div{ flex-direction: column; } .part3>div>div{ width: 95%; margin: 0 auto; padding: 2rem; } .part3>h2{ margin-bottom: 2rem; } .part4-title, .part5-title{ width: 100%; } .part4-content{ width: 95%; grid-template-columns: 100% ; } .part4-content > div >div{ border-left: 1px solid #073caa; border-top: none; } .part5-content{ flex-direction: column; } .footer{ grid-template-columns: 100% ; padding: 1rem; } .footer-mesg>div{ width: 100%; border-right: none; border-bottom: 1px solid #fff; } .footerBottom{ display: none; padding: 1rem; } } @media screen and (max-width: 640px) { .content { margin-top: 0 !important; } }