Files
ClassContent/历届学生/front-end-team-11/项目开发/上课项目/psd练习/css/video.css
2024-09-27 02:06:13 +08:00

225 lines
4.3 KiB
CSS

body {
display: flex;
flex-direction: column;
height: 100vh;
}
.content {
flex: 1;
background: url("../img/background.png");
background-size: cover;
position: relative;
}
.header {
position: fixed;
width: 100%;
height: .9rem;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0.37rem;
box-sizing: border-box;
}
.header img {
width: 0.42rem;
height: 0.42rem;
}
.header ul {
display: flex;
width: 2.18rem;
justify-content: space-between;
}
.header ul li{
font-size: 0.3rem;
color: #fefefe;
box-shadow: 0rem 0.03rem 0.02rem 0rem
rgba(0, 0, 0, 0.74);
position: relative;
}
.header ul .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.12rem;
}
.shop {
position: absolute;
left: 0.3rem;
bottom: 0.1rem;
}
.shop .name{
display: flex;
align-items: center;
margin-bottom: 0.22rem;
}
.shop .name img{
width: 0.28rem;
height: 0.26rem;
margin-right: 0.1rem;
}
.shop .name p{
font-family: PingFangSC-Regular;
font-size: 0.26rem;
color: #ffc600;
}
.shop .item{
width: 5.85rem;
height: 1.68rem;
background-color: #ffffff;
padding: 0.1rem 0 0.1rem 0.09rem;
box-sizing: border-box;
display: flex;
position: relative;
}
.shop .item .item_img{
width: 1.48rem;
height: 1.48rem;
margin-right: 0.15rem;
}
.shop .item .text .title{
font-family: PingFang-SC-Bold;
font-size: 0.28rem;
color: #333333;
margin-top: 0.18rem;
margin-bottom:0.29rem;
}
.shop .item .text .price_wrap{
margin-bottom: 0.15rem;
display: flex;
align-items: center;
}
.shop .item .text .price_wrap .price{
font-family: PingFang-SC-Medium;
font-size: 0.28rem;
color: #333333;
margin-right: 0.03rem;
}
.shop .item .text .price_wrap .tips{
width: 0.6rem;
height: 0.24rem;
background-color: #ea4e3d;
border-radius: 0.12rem;
font-size: 0.2rem;
color: #fffefe;
display: flex;
align-items: center;
justify-content: center;
}
.shop .item .text .price_wrap .tips span {
zoom: 0.74;
}
.shop .item .text .count{
font-family: PingFang-SC-Medium;
font-size: 0.2rem;
zoom: 0.8;
color: #626262;
}
.shop .item .car_icon{
width: 0.46rem;
height: 0.46rem;
position: absolute;
bottom: 0.17rem;
right: 0.34rem;
}
.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-family: PingFangSC-Regular;
font-size: 0.24rem;
color: #ffffff;
}
.video_action {
position: absolute;
right: 0.19rem;
bottom: 0.14rem;
display: flex;
flex-direction: column;
align-items: center;
}
.video_action .photo{
width: 0.96rem;
height: 0.97rem;
position: relative;
margin-bottom: 0.49rem;
}
.video_action .photo img:first-child{
width: 100%;
height: 100%;
border-radius: 100%;
border: solid 0.03rem #ffffff;
box-sizing: border-box;
}
.video_action .photo img:last-child {
width: 0.34rem;
height: 0.34rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -0.12rem;
}
.video_action ul{}
.video_action ul li {
text-align: center;
margin-bottom: 0.32rem;
}
.video_action ul li:last-child {
margin-bottom: 0;
}
.video_action ul li img{
width: 0.67rem;
height: 0.67rem;
margin-bottom: 0.15rem;
}
.video_action ul li p{
font-family: SourceHanSansCN-Regular;
font-size: 0.2rem;
color: #ffffff;
}
.footer {
height: 1rem;
background-color: #000000;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 0.39rem;
padding-right: 0.54rem;
}
.footer li {
font-family: AdobeHeitiStd-Regular;
font-size: 0.24rem;
color: #ffffff;
position: relative;
}
.footer .active {
font-size: 0.3rem;
}
.footer .active::after {
content: "";
position: absolute;
width: 0.51rem;
height: 0.03rem;
background-color: #ffffff;
border-radius: 0.015rem;
left: 50%;
transform: translateX(-50%);
bottom: -0.25rem;
}