body, html { margin: 0; padding: 0; font-size: 16px; color: #281e1b; min-width: 1400px; } img { display: block; object-fit: cover; } p, h1, h2, h3, h4, ul { margin: 0; padding: 0; } li, a { list-style: none; text-decoration: none; color: #281e1b; } input { outline: none; } .mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mt-40 { margin-top: 40px; } .mt-50 { margin-top: 50px; } .mt-60 { margin-top: 60px; } .mt-80 { margin-top: 80px; } .mt-100 { margin-top: 100px; } .mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; } .mb-40 { margin-bottom: 40px; } .mb-50 { margin-bottom: 50px; } .pt-20 { padding-top: 20px; } .pt-30 { padding-top: 30px; } .pt-40 { padding-top: 40px; } .pb-40 { padding-bottom: 40px; } .fl { float: left; } .fr { float: right; } .w-1400 { width: 1392px; margin: 0 auto; } .cl:after, .clearfix:after { content: "\20"; display: block; height: 0; clear: both; visibility: hidden } .cl, .clearfix { zoom: 1 } .relative { position: relative; } /*头部*/ #nh_ul, #nh { display: none; } .header { height: 72px; padding-top: 15px; } .header img:first-child { float: left; } .header img:last-child { position: relative; top: 6px; } .header ul { width: 944px; margin: 0 0 0 60px; overflow: hidden; font-weight: bold; float: left; } .header ul li { float: left; margin-top: 10px; } .header ul li a { display: block; padding-left: 28px; padding-right: 28px; border-left: 2px solid rgba(40, 30, 27, 0.8); text-align: center; font-size: 18px; } .header ul li:last-child a { border-right: 2px solid rgba(40, 30, 27, 0.8); } .header ul li:hover { padding-bottom: 30px; border-bottom: 8px solid #257bb0; } /*搜索*/ .body { width: 100%; height: 100%; position: fixed; display: none; z-index: 50; } #search-input { display: none; position: absolute; right: 0; top: 70px; z-index: 100; border: 1px solid #c9c9c9; border-radius: 6px; width: 399px; height: 48px; background: #fff; } #search-input button { background: rgba(0,0,0,0); border-width: 0; } #search-input img { position: absolute; right: 15px; top: 50%; transform: translate(0, -50%); cursor: pointer; } #search-input input { margin-top: 5px; margin-left: 6px; height: 36px; width: 340px; font-size: 16px; text-indent: 10px; border: none; } /*底部*/ .footer{ width: 100%; margin-top: 80px; background: url("../img/footer_bg.jpg") center bottom no-repeat; background-size: 100% 100%; height: 665px; } .link-box { height: 514px; } .link-box .home-link { position: absolute; top: 50%; left: 40px; text-align: center; font-weight: bold; font-size: 20px; line-height: 40px; transform: translate(0, -50%); } .link-group { width: 980px; height: 400px; padding-left: 60px; padding-right: 60px; position: absolute; left: 50%; top: 50%; transform: translate( -50%, -50%); border-left: 2px solid #ababab; border-right: 2px solid #ababab; } .link-group ul { width: 88px; font-size: 22px; font-weight: bold; text-align: center; float: left; margin-right: 89px; } .link-group ul:last-child { margin-right: 0; } .link-group ul li { font-size: 17px; font-weight: normal; margin-bottom: 18px; } .link-group ul li:first-child { margin-top: 30px; } .link-group ul li a { color: #656364; } .code { position: absolute; right: 0; top: 49%; transform: translate(0, -50%); } .copyright { height: 80px; line-height: 40px; text-align: center; font-size: 18px; color: white; padding: 35px 0; } .copyright img { display: inline; position: relative; top: 5px; } .copyright p:nth-child(2) img { top: 2px; } .copyright p:nth-child(2) img:nth-child(2) { top: 3px; } @media screen and (max-width: 640px){ html { font-size: 100px; } body, html { max-width: 100%; min-width: unset; } .header { width: 3.9rem !important; margin: 0 !important; height: 0.4rem; } .header img:first-child { width: 2rem; margin-left: 0.2rem; } .header ul { display: none; } .header ul li a { border-left: none; } #nh { display: inherit; } #nh_ul { position: absolute; right: -0.2rem; top: 0.55rem; margin-left: 0; width: 1rem; z-index: 111; background: #2a7daf; border-radius: 0.1rem; } #nh_ul li { width: 1rem; float: unset; margin: 0.06rem 0; padding: 0; border: none; } #nh_ul li a{ padding: 0; display: block; font-size: 0.14rem; text-align: center; line-height: 2; color: #eff0f0; } #search { overflow: hidden; float: right; height: 0.4rem; margin-top: -0.1rem; } #search img{ overflow: hidden; display: block; width: 0.3rem; } #search-input { width: 3.5rem; height: 0.3rem; } #search-input input { height: 0.18rem; } #search-input img { width: 0.18rem; } #search-input input { margin-top: 0.05rem; margin-left: 0.06rem; } #nh { height: 0.26rem; margin-top: -0.1rem; } #nh img{ width: 0.26rem; } .footer { background: url(../img/footer_bg_2.jpg) center bottom no-repeat; background-size: cover; height: 2.6rem; } .footer .link-group, .link-box .home-link { display: none; } .ipv6 { display: none; } .footer { margin-top: 0.4rem; } .footer .code { width: 1rem; float: unset !important; left: 50%; transform: translate(-50%, -50%); } .copyright { height: 0.6rem; line-height: 3; font-size: 0.1rem; padding: 0; } .copyright p:last-child { display: none; } .copyright img { width: 0.12rem; } .link-box { height: 1.8rem; } .w-1400 { width:3.9rem; } .box { background: none !important; } } .header ul { overflow: visible !important; } .header ul li { position: relative; } .secNav { display: none; width: 132px !important; height: max-content; margin-left: 0!important; position: absolute; top: 30px; z-index: 100; background: #fff; border-radius: 5px; padding-bottom: 5px; } .secNav li { margin-top: 0 !important; width: 100% } .secNav li:first-child { border-top: 4px solid #257bb0; } .secNav li a { border-color: rgba(255, 255, 255, 0) !important; line-height: 2; padding-left: 15px !important; padding-right: 15px !important; } .secNav li:hover { border-bottom: none !important; background: #ddd; padding-bottom: 0 !important; }