95 lines
1.5 KiB
CSS
95 lines
1.5 KiB
CSS
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 0.9rem;
|
|
padding: 0 0.3rem;
|
|
position: fixed;
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0%;
|
|
right: 0%;
|
|
z-index: 999;
|
|
background: #fff;
|
|
box-sizing: border-box;
|
|
border-bottom: .02rem solid #e9e9e9;
|
|
}
|
|
|
|
.header .search {
|
|
height: 0.7rem;
|
|
background: #f5f5f5;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-left: 0.26rem;
|
|
font-size: 0.28rem;
|
|
}
|
|
|
|
.header .search i {
|
|
margin-right: 0.2rem;
|
|
}
|
|
|
|
.content {
|
|
margin-top: 0.9rem;
|
|
height: calc(100vh - 0.9rem);
|
|
display: flex;
|
|
}
|
|
|
|
.left {
|
|
width: 1.6rem;
|
|
height: 100%;
|
|
background: #f5f5f5;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.left li {
|
|
height: 1.4rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.left .active {
|
|
background: #fff;
|
|
}
|
|
|
|
.left li .img {
|
|
height: 0.5rem;
|
|
width: 0.5rem;
|
|
background: url("https://s1.st.meishij.net/p2/20191108/20191108113258_481.png");
|
|
background-position: 0 0;
|
|
background-size: .5rem 10rem;
|
|
}
|
|
|
|
.left li p {
|
|
font-size: 0.24rem;
|
|
color: #333;
|
|
margin-top: .08rem;
|
|
}
|
|
|
|
.right {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-content: flex-start;
|
|
overflow-y: scroll;
|
|
flex: 1;
|
|
}
|
|
|
|
.right li {
|
|
width: 33.3%;
|
|
text-align: center;
|
|
height: 1.8rem;
|
|
|
|
}
|
|
|
|
.right li img {
|
|
width: 1.24rem;
|
|
height: 1.24rem;
|
|
}
|
|
|
|
.right li p {
|
|
font-size: 0.24rem;
|
|
color: #333;
|
|
} |