header.css 2.3 KB
/*导航*/

.nav {
    position: relative;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    padding: 0 0.32rem;
    box-sizing: border-box;
    justify-content: space-between;
    width: 100%;
    height: 0.88rem;
    background-color: white;
}

.navImg1 {
    width: 0.44rem;
    height: 0.44rem;
}

.navImg2 {
    width: 1.16rem;
    height: 0.73rem;
}

.navImg3 {
    width: 0.4rem;
    height: 0.4rem;
}

.navImg1 img,
.navImg2 img,
.navImg3 img {
    width: 100%;
    height: 100%
}

.nav_down {
    width: 100%;
    display: none;
    background-color: white;
    z-index: 9999;
    position: absolute;
    top: 0.88rem;
    left: 0;
}

.nav_downBtn {
    padding: 0.3rem 0;
    margin: 0 0.32rem;
    box-sizing: border-box;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    border-bottom: 1px solid #EBEBEB;
}

.nav_downTxt {
    font-size: 0.26rem;
    color: rgba(51, 51, 51, 1);
}

.nav_landing,
.nav_reg {
    line-height: 1;
    padding: 0.24rem 0.44rem;
    font-size: 0.34rem;
    border-radius: 0.4rem;
}

.nav_landing {
    color: white;
    background: rgba(18, 237, 136, 1);
}

.nav_reg {
    color: #333333;
}

.nav_downImg {
    width: 0.8rem;
    height: 0.8rem;
}

.nav_downImg img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.nav_downName {
    font-size: 0.3rem;
    margin-left: 0.26rem;
    color: rgba(51, 51, 51, 1);
}

.nav_downN {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    padding: 0.36rem 0;
    margin: 0 0.32rem;
    box-sizing: border-box;
    border-bottom: 1px solid #EBEBEB;
}

.nav_downImg2 {
    width: 0.32rem;
    margin-left: auto;
}

.nav_drop-down {
    display: none;
    padding-left: 0.3rem;
    margin: 0 0.32rem;
    border-bottom: 1px solid #EBEBEB;
}

.nav_drop-down ul li {
    color: #999999;
    font-size: 0.26rem;
    padding: 0.2rem 0;
}

.nav_search {
    display: none;
    width: 4rem;
    height: 0.6rem;
}

.nav_search form {
    width: 100%;
    height: 100%;
}

.nav_search input {
    width: 100%;
    height: 0.6rem;
    display: block;
    font-size: 0.24rem;
    padding-left: 0.4rem;
    padding-right: 0.2rem;
    box-sizing: border-box;
    background: rgba(242, 242, 242, 1);
    border-radius: 0.28rem;
    outline: none;
    border: none;
}