234 lines
4.0 KiB
CSS
234 lines
4.0 KiB
CSS
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
}
|
|
|
|
.header {
|
|
position: fixed;
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
padding: 0 0.37rem;
|
|
box-sizing: border-box;
|
|
align-items: center;
|
|
top: 0.29rem;
|
|
z-index: 999;
|
|
}
|
|
|
|
.header img {
|
|
width: 0.42rem;
|
|
height: 0.42rem;
|
|
}
|
|
.header ul {
|
|
display: flex;
|
|
}
|
|
.header ul .active::after {
|
|
content: "";
|
|
width: 0.35rem;
|
|
height: 0.02rem;
|
|
background-color: #ffffff;
|
|
border-radius: 0.01rem;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
bottom: -0.1rem;
|
|
}
|
|
|
|
|
|
.content {
|
|
flex: 1;
|
|
background: url("../img/back.png");
|
|
background-size: cover;
|
|
position: relative;
|
|
}
|
|
|
|
.shop {
|
|
position: absolute;
|
|
bottom: 0.1rem;
|
|
left: 0.3rem;
|
|
}
|
|
|
|
.shop .shop_name{
|
|
margin-bottom: 0.22rem;
|
|
padding-left: 0.07rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.shop .shop_name img{
|
|
width: 0.28rem;
|
|
height: 0.26rem;
|
|
margin-right: 0.1rem;
|
|
}
|
|
.shop .shop_name span{
|
|
font-size: 0.26rem;
|
|
color: #ffc600;
|
|
}
|
|
|
|
.shop .shop_goods{
|
|
width: 5.85rem;
|
|
height: 1.68rem;
|
|
background-color: #ffffff;
|
|
position: relative;
|
|
display: flex;
|
|
margin-bottom: 0.29rem;
|
|
}
|
|
.shop_goods .shop_goods_img{
|
|
width: 1.48rem;
|
|
height: 1.48rem;
|
|
margin-left: 0.09rem;
|
|
margin-top: 0.1rem;
|
|
margin-right: 0.15rem;
|
|
}
|
|
|
|
.shop_goods_text .goods_title{
|
|
font-size: 0.28rem;
|
|
color: #333333;
|
|
margin-top: 0.18rem;
|
|
margin-bottom: .18rem;
|
|
}
|
|
.shop_goods_text .goods_price{
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: .12rem;
|
|
}
|
|
.goods_price .price{
|
|
font-size: 0.28rem;
|
|
color: #333333;
|
|
}
|
|
.goods_price .goods_select{
|
|
margin-left: 0.03rem;
|
|
width: 0.6rem;
|
|
height: 0.24rem;
|
|
background-color: #ea4e3d;
|
|
border-radius: 0.12rem;
|
|
display: inline-block;
|
|
font-size: 0.2rem;
|
|
color: #fffefe;
|
|
text-align: center;
|
|
line-height: 0.2rem;
|
|
}
|
|
.goods_price .goods_select span{
|
|
zoom: 0.8;
|
|
}
|
|
.shop_goods_text .goods_nums{
|
|
font-size: 0.2rem;
|
|
color: #626262;
|
|
}
|
|
|
|
.shop_goods .shop_goods_car{
|
|
width: 0.46rem;
|
|
height: 0.46rem;
|
|
position: absolute;
|
|
right: 0.34rem;
|
|
bottom: 0.17rem;
|
|
}
|
|
|
|
.shop .shop_music{
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.shop .shop_music img{
|
|
width: 0.27rem;
|
|
height: 0.28rem;
|
|
margin-right: 0.13rem;
|
|
}
|
|
.shop .shop_music span{
|
|
font-size: 0.24rem;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.user {
|
|
position: absolute;
|
|
right: 0.19rem;
|
|
bottom: 0.14rem;
|
|
}
|
|
.user .user_avter {
|
|
width: 0.96rem;
|
|
height: 0.97rem;
|
|
border: solid 0.03rem #ffffff;
|
|
border-radius: 100%;
|
|
position: relative;
|
|
margin-bottom: .46rem;
|
|
}
|
|
.user .user_avter .user_it {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 100%;
|
|
}
|
|
.user .user_avter .add {
|
|
width: 0.34rem;
|
|
height: 0.33rem;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
bottom: -0.14rem;
|
|
}
|
|
|
|
.user .list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.user .list li {
|
|
text-align: center;
|
|
margin-bottom: 0.36rem;
|
|
}
|
|
.user .list li img {
|
|
margin-bottom: 0.09rem;
|
|
}
|
|
.user .list li:nth-child(1) img {
|
|
width: 0.68rem;
|
|
height: 0.63rem;
|
|
}
|
|
.user .list li:nth-child(2) img {
|
|
width: 0.67rem;
|
|
height: 0.8rem;
|
|
}
|
|
.user .list li:nth-child(3) img {
|
|
width: 0.7rem;
|
|
height: 0.7rem;
|
|
}
|
|
.user .list li:nth-child(4) {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
|
|
.user .list li:nth-child(4) img {
|
|
width: 0.61rem;
|
|
height: 0.61rem;
|
|
}
|
|
.user .list li p {
|
|
font-size: 0.2rem;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.footer {
|
|
height: 1rem;
|
|
background-color: #000000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.footer li {
|
|
font-size: 0.24rem;
|
|
color: #ffffff;
|
|
position: relative;
|
|
}
|
|
|
|
.footer .active {
|
|
font-size: 0.3rem;
|
|
}
|
|
|
|
.footer .active::after {
|
|
content: "";
|
|
width: 0.51rem;
|
|
height: 0.03rem;
|
|
background-color: #ffffff;
|
|
border-radius: 0.015rem;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
bottom: -0.24rem;
|
|
} |