.header-layout { $mc: .5s cubic-bezier(.77, 0, .175, 1); $ts: all $mc; background-color: #fff; color: #fff; justify-content: space-between; color: #202020; height: 80px; box-shadow:0px 3px 6px rgba(0,0,0,0.1); .container { height: 100%; } .child-layout { position: absolute; top: 100%; max-height: 0; left: 0; right: 0; transition: max-height $mc; overflow: hidden; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); .silp { position: absolute; width: 1px; height: 100%; background-color: #ededed; z-index: 2; } } .logo-layout { text-align: center; text-align: left; margin-right: 52px; float: left; height: 100%; .logo { position: relative; width: 150px; height: 100%; display: inline-block; color: #fff; } } .menu { float: left; min-width: 600px; .lang { box-sizing: border-box; text-align: center; padding-right: 10px; a { display: inline-block; font-size: 16px; font-weight: bold; margin-left: 5px; color: #727272; transition: color 0.3s ease; &:hover{ color: #fff; } } .active{ color: #fff; } } .list { justify-content: space-between; height: 100%; a { display: inline-block; line-height: 80px; margin-right: 47px; font-size: 16px; text-decoration: none; font-weight: bold; position: relative; transition: color $mc; &::before { z-index: 2; } &.active { color: #727272; &::after { border-top-color: #727272; transform: translateY(-50%) scale(1.3); } &::before { transform: translateY(-50%) scale(0.7); border-top-color: #000; } } } } } .ctrl { align-items: center; font-size: 16px; float: right; padding: 20px 0; &>div { display: inline-block; vertical-align: middle; } .shop-btn { width: 140px; height: 40px; line-height: 40px; background-color: #1FE4DC; text-align: center; font-weight: 600; margin-right: 25px; } .country { width: 20px; height: 21px; display: inline-block; background: url(~@/assets/images/home/CHINA.png) no-repeat center center; vertical-align: middle; } .language-w { padding: 0 30px 0 10px; } .language { margin: 0 15px 0 0; color: #8F8F8F; cursor: pointer; vertical-align: middle; font-size: 16px; font-weight: 600; &.is-active { color: #202020; } } .user { width: 20px; height: 20px; background: url(~@/assets/images/home/account-icon.png) no-repeat center center; cursor: pointer; background-size: contain; } } } @media screen and (max-width: 1600px){ } @media screen and (max-width: 1450px){ }