240 lines
4.2 KiB
CSS
240 lines
4.2 KiB
CSS
.header {
|
|
height: 0.9rem;
|
|
position: fixed;
|
|
width: 100%;
|
|
top:0;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 0.37rem;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
z-index: 999;
|
|
}
|
|
.header .scode {
|
|
width: 0.42rem;
|
|
height: 0.42rem;
|
|
}
|
|
.header ul {
|
|
display: flex;
|
|
}
|
|
.header ul li {
|
|
font-size: 0.3rem;
|
|
color: #fff;
|
|
margin-right: 0.25rem;
|
|
}
|
|
.header ul li:last-child {
|
|
margin-right: 0 !important;
|
|
}
|
|
.header .search {
|
|
width: 0.43rem;
|
|
height: 0.43rem;
|
|
}
|
|
.header .active {
|
|
position: relative;
|
|
}
|
|
.header .active::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 0.35rem;
|
|
height: 0.02rem;
|
|
background-color: #ffffff;
|
|
box-shadow: 0rem 0.02rem 0.02rem 0rem
|
|
rgba(12, 0, 255, 0.35);
|
|
border-radius: 0.01rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
bottom: -0.1rem;
|
|
}
|
|
|
|
.content {
|
|
height: calc(100vh - 1rem);
|
|
background: url("../img/back.png");
|
|
background-size: cover;
|
|
position: relative;
|
|
}
|
|
|
|
.footer {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 1rem;
|
|
background-color: #000000;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
z-index: 999;
|
|
}
|
|
.footer .active {
|
|
position: relative;
|
|
}
|
|
.footer .active a {
|
|
font-size: 0.3rem;
|
|
}
|
|
.footer .active::after {
|
|
content: "";
|
|
width: 0.51rem;
|
|
height: 0.03rem;
|
|
background-color: #ffffff;
|
|
border-radius: 0.015rem;
|
|
position: absolute;
|
|
bottom: -0.26rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
.footer li a {
|
|
font-size: 0.24rem;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.user_action {
|
|
position: absolute;
|
|
right: 0.19rem;
|
|
bottom: 0.14rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.user_top {
|
|
width: 0.96rem;
|
|
height: 0.97rem;
|
|
border: solid 0.03rem #ffffff;
|
|
position: relative;
|
|
border-radius: 100%;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
.user_top .tx {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 100%;
|
|
}
|
|
.user_top .add {
|
|
position: absolute;
|
|
bottom: -0.16rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 0.34rem;
|
|
height: 0.33rem;
|
|
}
|
|
.user_action ul {
|
|
|
|
}
|
|
.user_action ul li {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
margin-bottom: 0.27rem;
|
|
}
|
|
.user_action ul li:nth-child(2) img{
|
|
width: 0.7rem;
|
|
height: 0.7rem;
|
|
}
|
|
|
|
.user_action ul li:last-child{
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.user_action ul p{
|
|
font-size: 0.2rem;
|
|
color: #ffffff;
|
|
}
|
|
.user_action ul img {
|
|
width: 0.68rem;
|
|
height: 0.63rem;
|
|
margin-bottom: 0.09rem;
|
|
}
|
|
|
|
.shop {
|
|
position: absolute;
|
|
bottom: 0.1rem;
|
|
left: 0.3rem;
|
|
}
|
|
.shop_name {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 0.22rem;
|
|
}
|
|
.shop_name img {
|
|
width: 0.28rem;
|
|
height: 0.26rem;
|
|
}
|
|
.shop_name p {
|
|
font-size: 0.26rem;
|
|
color: #ffc600;
|
|
margin-left: 0.1rem;
|
|
}
|
|
.shop_music {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 0.27rem;
|
|
}
|
|
.shop_music img{
|
|
width: 0.27rem;
|
|
height: 0.28rem;
|
|
margin-right: 0.13rem;
|
|
}
|
|
.shop_music p{
|
|
font-size: 0.24rem;
|
|
color: #ffffff;
|
|
}
|
|
.shop_item {
|
|
width: 5.85rem;
|
|
height: 1.68rem;
|
|
background-color: #ffffff;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.shop_item .shop_img {
|
|
width: 1.48rem;
|
|
height: 1.48rem;
|
|
margin-right: 0.15rem;
|
|
margin-left: 0.09rem;
|
|
}
|
|
.shop_item_right h3{
|
|
width: 3.61rem;
|
|
font-size: 0.28rem;
|
|
color: #333333;
|
|
overflow: hidden;
|
|
text-overflow:ellipsis;
|
|
white-space: nowrap;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
.shop_item_right .price {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 0.1rem;
|
|
}
|
|
|
|
.shop_item_right .price span{
|
|
font-size: 0.28rem;
|
|
color: #333333;
|
|
}
|
|
.shop_item_right .price .jx{
|
|
width: 0.6rem;
|
|
height: 0.24rem;
|
|
background-color: #ea4e3d;
|
|
border-radius: 0.12rem;
|
|
margin-left: 0.03rem;
|
|
font-size: 0.2rem;
|
|
zoom: 0.9;
|
|
color: #fffefe;
|
|
padding: 0.03rem 0.1rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.shop_item_right .tip {
|
|
font-size: 0.2rem;
|
|
color: #626262;
|
|
zoom: 0.9;
|
|
}
|
|
.shop_item .car {
|
|
width: 0.46rem;
|
|
height: 0.46rem;
|
|
position: absolute;
|
|
right: 0.34rem;
|
|
bottom: 0.17rem;
|
|
} |