personal_center.css 5.9 KB
body{
    background-color: #F4F5F9;
}
*{
    margin: 0;
    padding: 0;
}
.container{
    width: 7.5rem;
    line-height: 1;
    display: flex;
    flex-flow: column;
    align-items: center;
}
.head{
    width: 7.5rem;
    height: 4.91rem;
    /*background:linear-gradient(-35deg,rgba(134,31,84,0.8),rgba(15,75,156,0.8));*/
    background: url("../images/18.png");
    background-size: cover;
    display: flex;
    flex-flow: column;
    align-items: center;
}
.head_box{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 0.83rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.2rem;
}
.head_t{
    display: flex;
}
.head_t_left{
    width: 1.88rem;
    height: 0.45rem;
    border:1px solid rgba(181,181,181,1);
    border-radius: 0.23rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.head_t_left input{
    width: 1rem;
    outline: none;
    border: none;
    background-color: transparent;
    box-sizing: border-box;
    padding: 0.1rem;
}
.head_t_left_search{
    width: 0.8rem;
    height: 0.45rem;
    background:rgba(149,149,149,1);
    border:1px solid rgba(191,191,191,1);
    border-radius: 0.23rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.head_portrait{
    width: 1.45rem;
    height: 1.45rem;
    display: flex;
    border: 0.04rem solid rgba(255,255,255,1);
    border-radius: 50%;
    background-color: #ffffff;
}
.head_portrait img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.head_name{
    font-size: 0.3rem;
    font-family:MicrosoftYaHei;
    font-weight:400;
    color:rgba(255,255,255,1);
    line-height: 0.8rem;
}
.head_search{
    width: 4.48rem;
    height: 0.45rem;
    border:1px solid rgba(181,181,181,1);
    border-radius: 0.23rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.head_search input{
    width: 3.2rem;
    outline: none;
    border: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.1rem;
    background-color: transparent;
    color: #ffffff;
}
.head_search_button{
    width: 1.2rem;
    height: 0.45rem;
    background:rgba(149,149,149,1);
    border:1px solid rgba(191,191,191,1);
    border-radius: 0.23rem;


    font-size: 0.24rem;
    font-family:MicrosoftYaHei;
    font-weight:400;
    color:rgba(255,255,255,1);
    line-height:42px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.menu{
    width: 6.86rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.menu_top{
    width: 6.86rem;
    display: flex;
    justify-content: space-around;
}
.menu_bottom{
    width: 6.86rem;
    display: flex;
    justify-content: space-around;
}
.menu_item{
    margin-top: 0.22rem;
    display: flex;
    flex-flow: column;
    align-items: center;
}
.menu_item_top{
    width: 0.7rem;
    height: 0.7rem;
    background:linear-gradient(0deg,rgba(0,87,182,1),rgba(0,141,209,1));
    border-radius:50%;
    display: flex;
}
.menu_item_top img{
    width: 100%;
    height: 100%;
}
.menu_item_bottom{
    margin-top: 0.1rem;
    font-size: 0.26rem;
    font-family:MicrosoftYaHei;
    font-weight:400;
    color:rgba(51,51,51,1);
}
.middle{
    width: 7.5rem;
    height: 1.96rem;
    margin-top: 0.23rem;
    display: flex;
    position: relative;
    align-items: center;
}
.middle img{
    width: 100%;
    height: 100%;
}
.middle_text{
    width: 100%;
    font-size: 0.32rem;
    font-family:MicrosoftYaHei;
    font-weight:400;
    color:rgba(255,255,255,1);
    line-height: 0.29rem;
    position: absolute;
    text-align: center;
}
.new{
    width: 1.56rem;
    height: 0.5rem;
    font-size: 0.27rem;
    display: flex;
    align-items: center;
    margin-top: 0.1rem;

}
.new_text{
    margin-left: 0.1rem;
}
.new_underline{
    width: 1.56rem;
    height:2px;
    background:linear-gradient(-35deg,rgba(134,31,84,1),rgba(15,75,156,1));
    margin-top: 0.1rem;
}
.bottom{
    display: flex;
    margin-top: 0.03rem;
    width: 7.5rem;
    justify-content: space-between;
    margin-bottom: 0.88rem;
}
.bottom_left{
    width: 3.56rem;
    margin-left: 0.4rem;
}
.bottom_left_top{
    margin-top: 0.2rem;
    height: 0.4rem;
    line-height: 0.4rem;
    font-size: 0.26rem;
    color: #333333;
    box-sizing: border-box;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.bottom_left_bottom{
    height: 1.04rem;
    line-height: 0.36rem;
    font-size: 0.22rem;
    color: #666666;
    box-sizing: border-box;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-top: 0.1rem;
}
.bottom_right{
    width: 3.26rem;
    height: 3.77rem;
    display: flex;
}
.bottom_right img{
    width: 100%;
    height: 100%;
}
/*底部菜单栏*/
.bottom_menu{
    width: 7.5rem;
    height: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #ffffff;
    position: fixed;
    bottom: 0;
}
.bottom_menu_index{
    display: flex;
    flex-flow: column;
    align-items: center;
    color: #666666;
    line-height: 1.2;
}
.bottom_menu_index_text{
    font-size: 0.24rem;
    color: #666666;
}

/*菜单栏目*/
.head_menu{
    width: 1.9rem;
    display: flex;
    flex-flow: column;
    background-color: #F4F5F9;
    position: relative;
}
.head_menu_item{
    width: 1.9rem;
    height: 0.55rem;
    line-height: 0.55rem;
    display: flex;
    align-items: center;
    position: relative;
    color: #333333;
}
/*下划线*/
.head_menu_item:before{
    content: "";
    width: 1.9rem;
    height: 1px;
    position: absolute;
    bottom: 0;
    background-color: #CED5D5;
}
.head_menu_item_text{
    font-size: 0.24rem;
    margin-left: 0.1rem;
}