Files
ClassContent/历届学生/front-end-team-10/项目练习/学生项目/薛涛/2.18/css/dynamic.css
2024-09-27 02:06:13 +08:00

242 lines
3.9 KiB
CSS

body {
display: flex;
flex-direction: column;
height: 100vh;
}
.header {
height: .9rem;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 0.4rem;
top: 0;
box-sizing: border-box;
position: fixed;
width: 100%;
z-index: 1;
}
.header ul {
font-family: AdobeHeitiStd-Regular;
font-size: 0.36rem;
color: #ffffff;
display: flex;
}
.header ul li {
margin-left: 0.36rem;
}
.header ul li:first-child {
margin-left: 0;
}
.header .activation {
position: relative;
}
.header .activation::after {
position: absolute;
content: "";
width: 0.4rem;
height: 0.04rem;
background-color: #ffffff;
border-radius: 0.02rem;
left: 50%;
transform: translateX(-50%);
bottom: -0.1rem;
box-sizing: border-box;
}
.header img {
width: 0.56rem;
height: 0.43rem;
}
.content {
flex: 1;
background: url("../img/timg.png") no-repeat;
background-size: contain;
display: flex;
position: relative;
width: 100%;
}
.content .zz {
width: 7.5rem;
height: 5.65rem;
background-color: #00000052;
}
.content .portrait {
width: 0.86rem;
height: 0.86rem;
border: solid 0.01rem #efeded;
border-radius: 100%;
box-sizing: border-box;
position: absolute;
top: 5.93rem;
left: 0.24rem;
}
.content .product {
/* margin-top: 6.03rem; */
padding: 0;
}
.content .product .exclusivee {
display: flex;
justify-content: space-between;
align-items: center;
}
.content .product .exclusivee .big {
font-family: PingFang-SC-Bold;
font-size: 0.3rem;
color: #5a6f92;
}
.content .product .exclusivee .distance {
font-family: PingFangSC-Regular;
font-size: 0.24rem;
color: #999999;
}
.content .evaluate {}
.content .evaluate p {
width: 5.74rem;
/* height: 0.95rem; */
font-family: PingFangSC-Regular;
font-size: 0.24rem;
color: #686868;
}
.content .evaluate ul {
display: flex;
}
.content .evaluate ul li {
}
.content .evaluate ul li img {
width: 1.85rem;
height: 1.85rem;
}
.content .evaluate ul li span {
font-family: PingFang-SC-Medium;
font-size: 0.24rem;
color: #ffffff;
}
.content .time {
display: flex;
justify-content: space-between;
align-items: center;
}
.content .time span {
font-family: PingFangSC-Regular;
font-size: 0.2rem;
color: #989898;
}
.content .time img {
width: 0.34rem;
height: 0.26rem;
}
.content .good {
width: 5.7rem;
height: 1.97rem;
background-color: #f7f7f7;
border-radius: 0.1rem;
margin-left: 0.28rem;
}
.content .good .name {
display: flex;
align-items: center;
margin-top : 0.24rem;
}
.content .good .name img {
width: 0.29rem;
height: 0.26rem;
}
.content .good .name span {
font-family: PingFang-SC-Bold;
font-size: 0.3rem;
color: #5a6f92;
}
.content .good ul {
display: flex;
align-items: center;
}
.content .good ul li {
font-family: PingFang-SC-Bold;
font-size: 0.3rem;
color: #5a6f92;
}
.footer {
height: 1rem;
background-color: #000000;
display: flex;
justify-content: space-between;
margin-bottom: .1rem;
}
.footer li {
display: flex;
align-items: center;
padding-left: 0.39rem;
padding-right: 0.54rem;
box-sizing: border-box;
}
.footer li a {
font-family: AdobeHeitiStd-Regular;
font-size: 0.24rem;
color: #ffffff;
}
.footer .activation {
position: relative;
}
.footer .activation a {
font-family: AdobeHeitiStd-Regular;
font-size: 0.3rem;
color: #ffffff;
}
.footer .activation::after {
position: absolute;
content: "";
width: 0.51rem;
height: 0.03rem;
background-color: #ffffff;
border-radius: 0.015rem;
left: 50%;
transform: translateX(-50%);
bottom: 0.01rem;
box-sizing: border-box;
position: fixed;
}