header a { color: #fff; } .ms-badge12 { /* width: 50px; */ padding: 0 20px; line-height: 32px; display: inline-block; color: #ffffff; font-size: 12px; text-align: center; border: 1px solid rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 0.05); height: 34px; border-width: 1px; border-radius: 4px; } .user-name { color: #ffffff; font-size: 14px; line-height: 22px; } header .notification .iconfont { margin-top: -5px; } .icon-arrow-bottom { width: 12px; height: 25px; background: url(/static/index/image/nav/nav-arrow-down.svg) no-repeat center center; background-size: 100% 100%; } .icon-arrow-bottom:before { content: ''; } @media (min-width: 1001px) and (max-width: 1200px) { header .container { width: 100%; padding-right: 5px; padding-left: 05px; } .header .ms-nav { margin: 26px 0 0; } .header .ms-nav>li { margin: 0 1.2vw; } .header .ms-nav>li>a { padding: 0 0 5px; } .header .ms-nav>li a:hover { color: #ffffff; } .user-name { color: #ffffff; } } @media (min-width: 768px) and (max-width: 1000px) { header .container { width: 100%; padding-right: 0; padding-left: 0; } .header .ms-nav { margin: 26px 0 0 -25px; } .header .ms-nav>li { margin: 0 1vw; } .header .ms-nav>li>a { padding: 0 0 5px; } .header .header-left img.hidden-xs { transform: scale(0.7) translateX(-10px); } .user-name { color: #ffffff; display: none; } .ms-badge12 { padding: 0 10px; } } @media (max-width: 767px) { header .iconfont { background: url(/static/index/image/m/moban2/icon-menu.svg) no-repeat center center; background-size: 100% 100%; width: 34px; height: 34px; /* display: inline-block; */ /* vertical-align: middle; */ /* position: absolute; */ pointer-events: none; margin: unset; } header .iconfont::before { content: ''; } .header .ms-nav .phone-user-center .icon-arrow-down { background-image: url(/static/index/image/m/nav/icon-arrow-down.svg); background-size: 100% 100%; width: 20px; height: 20px; display: inline-block; vertical-align: middle; position: absolute; right: 0; top: 10px; margin: unset; } .header .phone-menu { background-image: url(/static/index/image/m/moban2/icon-menu.svg); margin-top: 17px; /* top: 17px; */ /* right: 0; */ pointer-events: auto; } header { background: url(/static/index/image/m/nav/nav-bg.png) no-repeat center; background-position: top center; background-size: 100% 100%; box-shadow: unset; height: 68px; position: fixed; z-index: 1000; } .header .header-left { margin: 17px 0 0 3.4px; } .header .header-left img { width: 119px; height: 34px; } /* nav */ .header .phone-user-name .iconfont { /* position: relative; */ width: 30px; height: 24px; /* top: -2px; */ background: unset; margin-right: 12px; } .header .phone-user-name .iconfont img { display: block; width: 30px; height: 24px; } .header .phone-user-name { line-height: 24px; height: 24px; font-family: Microsoft YaHei; font-weight: 400; font-size: 14px; color: rgba(21, 21, 21, 1); margin-bottom: 12px; display: inline-flex!important; } .header .phone-user-name .certified { margin-left: 6px; } .header .phone-shadow { left: 0; opacity: 0; pointer-events: none; transition: all 0.5s cubic-bezier(0.4, 0, 1, 1); } .header .phone-shadow.show { opacity: 1; pointer-events: auto; } .header .ms-nav { margin: 0 0 15px 0; position: relative; top: unset; } .header .phone-nav-wrap { background: #fff; width: 300px; height: 100%; position: fixed; left: -200%; top: 0; cursor: pointer; z-index: 1001; padding: 20px 12px; } .header .ms-nav>li { float: none; border-bottom: unset; padding-left: 20px; margin-bottom: 9px; position: relative; font-family: Source Han Sans SC; font-weight: 500; vertical-align: middle; margin: unset; margin-bottom: 9px; } .header .ms-nav>li.active::before { content: ""; width: 4px; height: 32px; top: 5px; left: 0; position: absolute; background-color: rgba(33, 104, 251, 1); } .header .ms-nav>li.active { background-color: rgba(248, 248, 248, 1); } .header .ms-nav>li>a, .header .ms-nav>li .user1>a { font-size: 16px; line-height: 44px; font-size: 16px; color: rgba(38, 38, 38, 1); width: 85%; display: inline-block; } .header .ms-nav>li.active>a, .header .ms-nav>li.active .user1>a { color: rgba(33, 104, 251, 1); } /* nav 二级 */ .header .ms-nav .phone-user-center dl a { color: rgb(88 88 88); padding-left: 0.2rem; font-size: 0.25rem; line-height: 0.55rem; } /* 登錄按鈕 */ .login .btn-nav { width: 121px; height: 34px; border-radius: 4px; border: 1px solid rgba(33, 104, 251, 1); font-size: 16px; line-height: 34px; } .header .btn-white { background: #fff; color: rgba(33, 104, 251, 1); } .header .login { position: relative; right: unset; } .login-in .login-user .logout1 { height: 34px; border-radius: 4px; border: 1px solid rgba(33, 104, 251, 1); font-size: 16px; line-height: 34px; background: #fff; color: rgba(33, 104, 251, 1); margin: 0 0 0 9px; width: 259px; text-align: center; } .login-in .login-user { padding-top: 30px; } /* 登錄信息 */ .login-in { position: relative; right: unset; top: unset; } }