.heder-height{ height: 100px; transition:all 0.6s; } .scrollHeader .header-height{ height: 80px; } .header-wrap { width: 100%; background: #fff; box-shadow: 0rem 0.03rem 0.06rem 0.01rem rgba(0, 0, 0, 0.1); /* box-shadow: 0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1); */ position: relative; z-index: 99999; padding: 0 0.4rem; position: fixed; top: 0; left: 0; height: 100px; z-index: 99999; transition:all 0.6s; } .scrollHeader .header-wrap { box-shadow: 0 0 10px rgb(0 0 0 / 20%); height: 80px; background: rgba(255,255,255,1); } .header-logo-img{ transition: all .3s; } .scrollHeader .header-logo-img { transform: scale(0.8); } .header-box { height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; } .header-logo { /*height: 0.44rem;*/ /* width: auto; */ } .header-logo-img { height: 100%; width: 100%; } .header-right { display: flex; align-items: center; height: 100%; } .header-nav { height: 100%; display: flex; align-items: center; /* padding-right: 0.15rem; */ } /* .header-menu:hover::before { content: ''; width: 100%; height: 0.02rem; background: linear-gradient(90deg, #00BCD4 0%, #37CDBA 100%); position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; opacity: 1; } */ .header-menu { height: 100%; display: flex; align-items: center; font-size: var(--font18); font-family: MicrosoftYaHei; color: #333333; font-weight: 400; margin-left: 0.35rem; position: relative; } .header-menu p { font-size: var(--font18); font-family: MicrosoftYaHei; color: #333333; font-weight: 400; } .header-menu-group { color: #0745B1 !important; } /* .header-menu:hover, .header-menu-a:hover{ color: #0745B1; } */ .header-menu-a { font-size: var(--font18); font-family: MicrosoftYaHei; color: #333333; font-weight: 400; } .header-nav .active { font-weight: bold; } .header-menu::before { -webkit-transition: all 0.3s; content: ''; width: 0%; height: 0.04rem; /*background: linear-gradient(90deg, #00BCD4 0%, #37CDBA 100%);*/ background: #0171C3; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; opacity: 1; } .header-menu:hover::before { content: ''; width: 100%; } .h /*.header-nav .active::after {*/ /* content: '';*/ /* width: 1.1rem;*/ /* height: 0.03rem;*/ /* background: #0171C3;*/ /* position: absolute;*/ /* left: 50%;*/ /* transform: translateX(-50%);*/ /* bottom: 0;*/ /* opacity: 1;*/ /*}*/ .header-first { cursor: pointer; } /* .header-first::after { content: ''; width: 0; height: 0; border-right: 0.05rem solid transparent; border-left: 0.05rem solid transparent; border-top: 0.04rem solid #000; border-bottom: 0rem solid transparent; position: absolute; right: -0.2rem; top: 50%; transform: translate(-50%,-50%); transition: all .265s; } .header-first:hover::after { border-right: 0.05rem solid transparent; border-left: 0.05rem solid transparent; border-bottom: 0.04rem solid #000; border-top: 0rem solid transparent; transition: all .265s; } */ .header-first:hover .header-level-box { /*height: auto;*/ display: block; /*opacity: 1;*/ /*top: 0.98rem;*/ transition: all .365s; } .header-level-box { position: absolute; left: 50%; top: 100%; background: rgba(255,255,255,1); overflow: hidden; box-sizing: border-box; display: none; /* padding: 20px 0; */ width: 180px; margin-left: -90px; height: auto!important; } .header-level { font-size: var(--font18); font-family: MicrosoftYaHei; color: #333333; font-weight: 400; padding: 0 0.23rem; white-space: nowrap; height: 0.41rem; line-height: 0.41rem; text-align: center; transition: all .2s; } .header-level:hover{ /*background: #0745B1;*/ color: #006dbb!important; } .header-level-active{ background: #014098; color: #fff; position: relative; } .header-search { width: 0.2rem; height: 0.2rem; margin: 0 0.4rem; cursor: pointer; } .header-search img { flex-shrink: 0; width: 100%; height: 100%; } .header-search-logo { margin-left: 0.29rem; border-left: 0.01rem solid #A7A7A7; padding-left: 0.21rem; margin-right: 0.11rem; } .header-search-logo img { width: 0.2rem; height: 0.21rem; object-fit: cover; } .header-lang-wrap { position: relative; height: 100%; display: flex; align-items: center } .header-lang { display: flex; align-items: center; justify-content: center; cursor: pointer; } .header-lang p { font-size: var(--font18); font-family: Microsoft YaHei; font-weight: 400; color: #333333; } .header-lang img { width: 0.09rem; height: auto; margin-left: 0.05rem; } .header-lang-wrap:hover .header-lang-list { height: auto; opacity: 1; top: 0.8rem; transition: all .365s; } .header-lang-list { height: 0; opacity: 0; overflow: hidden; position: absolute; top: 0.6rem; left: 50%; transform: translateX(-50%); min-width: 100%; background: #FFFFFF; box-shadow: 0rem 0.03rem 0.06rem 0.01rem rgba(0, 0, 0, 0.1); transition: all .365s; border-radius: 0 0 0.05rem 0.05rem; } .header-lang-list a { font-size: var(--font18); font-family: MicrosoftYaHei; color: #333333; font-weight: 400; padding: 0 0.23rem; white-space: nowrap; height: 0.41rem; line-height: 0.41rem; text-align: center; transition: all .2s; } .header-lang-list a:hover { background: #0745B1; color: #fff; } .header-mobile { display: none; } .navigation-wrap { display: none; } @media only screen and (max-width: 1024px) { body { padding: 0.9rem 0 0 !important; } .heder-height { display: none; } .header-mobile-wrap { display: block; } .index-about-p span{ font-size: 0.26rem !important; } .header-mobile { height: 0.9rem; width: 100%; padding: 0 0.35rem; display: flex; align-items: center; justify-content: space-between; box-shadow: 0rem 0.04rem 0.1rem 0.02rem rgba(0, 0, 0, 0.1); position: fixed; top: 0; left: 0; z-index: 9999; background-color: #fff; } .header-logo-mobile { display: flex; flex-direction: column; align-items: flex-start; } .header-logo-mobile-img { /*width: 3.52rem;*/ height: 0.6rem; } .header-logo-mobile-p { margin-top: 0.1rem; font-size: 0.2rem; font-weight: 400; color: #333333; display: none; } .header-nav-mobile1 { width: 0.46rem; height: auto; /* height: 0.42rem; */ } .header-nav-mobile2 { width: 0.38rem; height: 0.38rem; display: none; } .navigation-wrap { width: 100vw; height: calc(100vh - 0.9rem); overflow-y: auto; position: fixed; top: 0.9rem; right: 0; z-index: 9998; /* transition: right .365s; */ display: none; overflow: hidden; } .navigation-bg { width: 100%; height: 100%; position: absolute; top: 0; right: 0; z-index: 1; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: all .365s; } .navigation-box { width: 75vw; height: 100%; position: absolute; z-index: 2; right: -75vw; top: 0; background: #fff; box-shadow: 0rem 0rem 0rem rgba(0, 0, 0, 0.16); transition: right .365s; } .navigation { height: calc(100% - 1rem); overflow: auto; } .navigation-list {} .navigation-item { padding: 0 0.25rem 0 0.44rem; height: 0.8rem; display: flex; align-items: center; justify-content: space-between; color: #333333; border-bottom: 0.01rem solid #E5E5E5; } .navigation-item-active .navigation-item-p { background: #fff; font-weight: bold; } .navigation-item-p { font-size: 0.28rem; font-weight: 400; } .navigation-item-icon { width: 0.18rem; height: 0.32rem; transition: all .365s; } .navigation-level { display: none; background: #F7F7F7; } .navigation-level-item { height: 0.8rem; padding: 0 0.25rem 0 0.71rem; display: flex; align-items: center; font-size: 0.28rem; font-weight: 400; color: #333333; border-bottom: 0.01rem solid #E5E5E5; } .navigation-level-active { font-weight: bold; } .about-idea-item { overflow: hidden; } }