/*移动Nav*/ ul, li { list-style-type: none; } p, ul, li, div { padding: 0; margin: 0; box-sizing: border-box; } a:hover, a:visited, a:link, a:active, a { text-decoration: none !important; } ::-webkit-scrollbar { /*滚动条整体样式*/ width: 12px; /*高宽分别对应横竖滚动条的尺寸*/ height: 10px; } ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ background: #cbcbcb; } ::-webkit-scrollbar-track { /*滚动条里面轨道*/ background: #f1f1f1; } /*pcNav*/ .pcNav { width: 100%; display: flex; justify-content: flex-end; } .pcNav > li > a { display: block; font-size: 22px; color: white; line-height: 60px; text-shadow: 1px 2px 3px rgb(23, 22, 22); margin: 0 10px; position: relative; padding: 0 10px; padding-bottom: 20px; } .pcNav > li > a:before { content: ""; display: block; width: 2px; height: 20px; background-color: white; position: absolute; left: -10px; top: 20px; box-shadow: 1px 3px 3px rgb(103, 100, 100); } .pcNav > li > a:after { content: ""; display: block; position: absolute; height: 3px; width: 100%; bottom: 20px; left: 0; background: white; display: none; } .pcNav > li:last-child > a { margin-right: 0; } .pcNav > li:first-child > a:before { display: none; } /*浜岀骇鑿滃崟*/ .pcNav > li { position: relative; } .pcNav > li:hover > a:after { display: block; } /*pc*/ .pcNav .nav_two { display: none; position: absolute; box-sizing: content-box; top: 10px; left: 50%; width: 700px; transform: translateX(-50%); box-shadow: 0px 4px 7px rgba(92, 92, 92, .5); padding: 18px; background: white url("../image/menuBg.png") no-repeat; background-position: right bottom; min-height: 120px; border-radius: 8px; } .pcNav .nav_two .top { font-weight: bold; font-size: 18px; letter-spacing: 2px; color: #122b88; } .pcNav>li:last-child .nav_two{ left: -200px; } .pcNav>li:nth-last-child(2) .nav_two{ left: -90px; } .pcNav .nav_two .top span { margin-left: 10px; color: #ced4fa; } .pcNav > li:hover .nav_two { display: block; animation: any .36s forwards; } .pcNav .nav_two ul { display: flex; flex-wrap: wrap; padding: 15px 0; } .pcNav .nav_two ul li { width: 170px; height: 58px; } .pcNav .nav_two li a { line-height: 54px; color: #353535; font-size: 16px; display: block; border-bottom: 2px solid transparent; transition: all .3s ease; align-items: center; overflow: hidden; text-overflow:ellipsis; white-space:nowrap; } .pcNav .nav_two li a .iconfont { display: block; color: #353535; font-size: 16px; margin-right: 8px; float: left; } .pcNav > li > .nav_two a:hover { border-bottom-color: #082671; } @keyframes any { 0% { opacity: 0; top: 70px; } 100% { opacity: 1; top: 80px; } } @media (max-width: 1600px) { .pcNav > li > a { font-size: 16px; margin: 0px; } .pcNav > li > a:before { left: -0px; } } @media (max-width: 1300px) { .pcNav > li > a { font-size: 16px; margin: 0px; line-height: 24px; padding-top: 10px; text-align: center; } .pcNav > li > a > p { width: 40px; } .pcNav > li > a:before { left: -0px; top: 15px; height: 40px; } .pcNav .nav_two { position: fixed; right: 0%; transform: none; left: auto !important; } @keyframes any { 0% { opacity: 0; top: 60px; } 100% { opacity: 1; top: 130px; } } } header .menu{ display: none; } @media only screen and (max-width: 1020px ) { header { background: #082671; width: 100%; height: 50px; padding: 0; box-shadow: 0 2px 15px #1738af; z-index: 100; } header:before{ display: none; } header .daohangBox{ padding-top: 5px; } .pcNav .nav_two{ display: none !important; z-index: -1 !important; opacity: 0 !important; } .pcNav > li:hover > a:after{ display: none; } .containerNav .pcNav > li > a{ font-size: 14px; } header .menu{ display: block; } .hide-xs{ display: none; } .navigation .menu { position: absolute; width: 30px; height: 30px; color: white; font-size: 30px; right: 15px; top: 10px; } header .containerNav{ padding: 5px; } header .containerNav .navigation .logo ._logo1 { display: block !important; } header .containerNav .fast-link .container{ flex-wrap: wrap; justify-content: flex-start; } ._logo3 { display: none !important; } .containerNav .navigation .logo ._logo1 { width: auto; height: 40px; margin-top: 5px; } #menuId { position: fixed; left: 0; top: -350px; width: 100%; background: #1738af; padding: 10px; padding-bottom: 50px; box-shadow: 0 2px 15px #1738af; z-index: -1; transition: all .1s ease; } #menuId.active{ top: 50px; z-index: 400 } .pcNav { display: flex; flex-wrap: wrap; justify-content: left; } .pcNav li { width: 25%; } .pcNav li a{ padding: 10px; } .pcNav li a:before { display: none; } .pcNav li p { width: auto !important; } #menuId .fast-link{ flex-wrap: wrap; justify-content: start !important; margin-bottom: 20px !important; font-size: 14px; align-items: center; } #menuId .fast-link .item{ margin: 5px 0; } #menuId .fast-link .item:first-child:after{ display: block; } .search-dialog{ width: 100%; padding: 15px; margin-right: 0; } .search-dialog .search-box .btn{ width: 40px; } .search-dialog .input{ padding: 5px 8px; } #banner{ margin-top: 50px; } #banner .swiper-pagination .swiper-pagination-bullet{ width: 10px; height: 10px; margin: 0 5px; } }