301 lines
4.8 KiB
CSS
301 lines
4.8 KiB
CSS
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 0.4rem;
|
|
position: fixed;
|
|
z-index: 999;
|
|
width: 100%;
|
|
padding-top: 0.38rem;
|
|
box-sizing: border-box;
|
|
top: 0;
|
|
}
|
|
|
|
|
|
|
|
|
|
.header ul {
|
|
display: flex;
|
|
}
|
|
|
|
.header ul li {
|
|
font-family: AdobeHeitiStd-Regular;
|
|
font-size: 0.36rem;
|
|
color: #ffffff;
|
|
margin-left: 0.34rem;
|
|
position: relative;
|
|
}
|
|
|
|
.header ul .active::after {
|
|
content: " ";
|
|
position: absolute;
|
|
bottom: -0.1rem;
|
|
width: 0.4rem;
|
|
height: 0.04rem;
|
|
background-color: #ffffff;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
border-radius: 0.02rem;
|
|
}
|
|
|
|
|
|
.header img {
|
|
width: 0.62rem;
|
|
height: 0.48rem;
|
|
}
|
|
|
|
|
|
.content {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.content .background {
|
|
width: 7.5rem;
|
|
height: 5.5rem;
|
|
}
|
|
|
|
.main {
|
|
margin-left: 0.24rem;
|
|
margin-right: 0.41rem;
|
|
}
|
|
|
|
.main>li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 0.42rem;
|
|
}
|
|
|
|
.main .left {
|
|
width: 0.86rem;
|
|
height: 0.86rem;
|
|
margin-right: 0.23rem;
|
|
position: relative;
|
|
}
|
|
|
|
.main .left img {
|
|
width: 0.86rem;
|
|
height: 0.86rem;
|
|
}
|
|
|
|
.main .left img:last-child {
|
|
width: 0.27rem;
|
|
height: 0.29rem;
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0
|
|
}
|
|
|
|
|
|
|
|
.main .right {}
|
|
|
|
.main .right .name {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.23rem;
|
|
}
|
|
|
|
.main .right .name span {
|
|
font-family: PingFang-SC-Bold;
|
|
font-size: 0.3rem;
|
|
color: #5a6f92;
|
|
}
|
|
|
|
.main .right .name span:last-child {
|
|
font-family: PingFangSC-Regular;
|
|
font-size: 0.24rem;
|
|
color: #999999;
|
|
}
|
|
|
|
.main .right p {
|
|
font-family: PingFangSC-Regular;
|
|
font-size: 0.24rem;
|
|
color: #686868;
|
|
margin-bottom: 0.26rem;
|
|
|
|
}
|
|
|
|
.main .right .goods {
|
|
display: flex;
|
|
}
|
|
|
|
.main .right .goods li {
|
|
position: relative;
|
|
}
|
|
|
|
.main .right .goods li:nth-child(2) {
|
|
margin-left: 0.11rem;
|
|
margin-right: 0.11rem;
|
|
}
|
|
|
|
.main .right .goods li .tupian {
|
|
position: relative;
|
|
}
|
|
|
|
.main .right .goods li .tupian img {
|
|
width: 1.85rem;
|
|
height: 1.85rem
|
|
}
|
|
|
|
.main .right .goods li .tupian img:last-child {
|
|
height: 0.4rem;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.main .right .goods li .price {
|
|
position: absolute;
|
|
display: flex;
|
|
align-items: center;
|
|
bottom: 0;
|
|
left: 0.85rem
|
|
}
|
|
|
|
.main .right .goods li .price img {
|
|
width: 0.12rem;
|
|
height: 0.16rem;
|
|
margin-right: 0.07rem;
|
|
}
|
|
|
|
.main .right .goods li .price span {
|
|
font-family: PingFang-SC-Medium;
|
|
font-size: 0.24rem;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.main .right .goods li .price span:last-child {
|
|
font-size: 0.2rem;
|
|
}
|
|
|
|
.main .right .under {
|
|
margin-top: 0.27rem;
|
|
margin-right: 0.13rem
|
|
}
|
|
|
|
.main .right .hour {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.main .right .time {}
|
|
|
|
.main .right .time span {
|
|
font-family: PingFangSC-Regular;
|
|
font-size: 0.24rem;
|
|
color: #989898;
|
|
}
|
|
|
|
.main .right .time span:last-child {
|
|
font-family: PingFangSC-Regular;
|
|
font-size: 0.2rem;
|
|
}
|
|
|
|
.main .right .drop {
|
|
width: 0.39rem;
|
|
height: 0.27rem;
|
|
background-color: #f1f1f1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center
|
|
}
|
|
|
|
.main .right .drop img {
|
|
width: 0.2rem;
|
|
height: 0.05rem;
|
|
}
|
|
|
|
|
|
.comment {
|
|
margin-top: 0.38rem;
|
|
width: 5.7rem;
|
|
background-color: #f7f7f7;
|
|
border-radius: 0.1rem;
|
|
padding-left: 0.29rem;
|
|
padding-top: 0.28rem;
|
|
box-sizing: border-box;
|
|
padding-bottom: 0.2rem
|
|
}
|
|
|
|
.comment .like {
|
|
padding-bottom: 0.21rem
|
|
}
|
|
|
|
.comment .like img {
|
|
width: 0.29rem;
|
|
height: 0.26rem;
|
|
margin-right: 0.22rem;
|
|
}
|
|
|
|
.comment .like span {
|
|
font-family: PingFang-SC-Bold;
|
|
font-size: 0.3rem;
|
|
color: #5a6f92;
|
|
}
|
|
|
|
.comment .like span:nth-child(3) {
|
|
color: #3c3c3c;
|
|
}
|
|
|
|
.comment .discuss {}
|
|
|
|
.comment .discuss li {
|
|
margin-top: 0.21rem;
|
|
}
|
|
|
|
.comment .discuss li span {
|
|
font-family: PingFang-SC-Bold;
|
|
font-size: 0.3rem;
|
|
color: #5a6f92;
|
|
}
|
|
|
|
.comment .discuss li span:last-child {
|
|
font-family: PingFang-SC-Medium;
|
|
font-size: 0.3rem;
|
|
color: #0e0e0e;
|
|
}
|
|
|
|
|
|
|
|
.fooder {
|
|
height: 1rem;
|
|
background-color: #000000;
|
|
position: fixed;
|
|
z-index: 999;
|
|
width: 100%;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-left: 0.39rem;
|
|
padding-right: 0.54rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.fooder li {
|
|
font-family: AdobeHeitiStd-Regular;
|
|
font-size: 0.24rem;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.fooder .active::after {
|
|
content: " ";
|
|
width: 0.51rem;
|
|
height: 0.03rem;
|
|
border-radius: 0.015rem;
|
|
position: absolute;
|
|
background: #ffffff;
|
|
background: #ffffff;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
bottom: -0.2rem;
|
|
}
|
|
|
|
.fooder li:nth-child(3) {
|
|
font-family: AdobeHeitiStd-Regular;
|
|
font-size: 0.3rem;
|
|
color: #ffffff;
|
|
position: relative;
|
|
} |