Files
ClassContent/历届学生/zheng-yuqing/项目练习/上课项目/橱窗/css/live.css
2024-09-27 02:06:13 +08:00

229 lines
4.0 KiB
CSS

.header {
position: fixed;
width: 100%;
display: flex;
justify-content: space-between;
height: 45px;
align-items: center;
padding: 0 0.37rem;
box-sizing: border-box;
z-index: 999;
}
.header img {
width: 0.42rem;
height: 0.42rem;
}
.header ul {
display: flex;
align-items: center;
}
.header ul li {
font-size: 0.3rem;
color: #fefefe;
position: relative;
}
.header ul li:nth-child(2) {
margin: 0 0.23rem;
}
.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;
bottom: -0.1rem;
left: 50%;
transform: translateX(-50%);
}
.content {
height: calc(100vh - 1rem);
margin-top: 0 !important;
background: url("../img/backimg.png");
background-size: cover;
position: relative;
}
.auth {
position: absolute;
right: 0.19rem;
bottom: 0.14rem;
display: flex;
flex-direction: column;
align-items: center;
}
.auth .follow {
width: 0.96rem;
height: 0.97rem;
position: relative;
}
.auth .follow .head{
width: 100%;
height: 100%;
border: solid 0.03rem #ffffff;
border-radius: 100%;
box-sizing: border-box;
}
.auth .follow .add{
width: 0.34rem;
height: 0.33rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -0.16rem;
}
.auth ul {
margin-top: 0.42rem;
}
.auth ul li {
margin-bottom: 0.36rem;
}
.auth ul li img {
width: 0.68rem;
height: 0.63rem;
margin-bottom: 0.09rem;
}
.auth ul li p {
font-size: 0.2rem;
color: #ffffff;
}
.music {
position: absolute;
left: 0.3rem;
bottom: 0.1rem;
}
.music .shop_name {
display: flex;
align-items: center;
margin-bottom: 0.22rem;
}
.music .shop_name img {
width: 0.28rem;
height: 0.26rem;
margin-right: 0.1rem;
margin-left: 0.07rem;
}
.music .shop_name span{
font-size: 0.26rem;
color: #ffc600;
}
.music .item {
position: relative;
width: 5.85rem;
height: 1.68rem;
background-color: #ffffff;
padding-left: 0.09rem;
padding-top: 0.1rem;
padding-bottom: 0.1rem;
box-sizing: border-box;
display: flex;
align-items: center;
}
.music .item .item_img{
width: 1.48rem;
height: 1.48rem;
margin-right: 0.15rem;
}
.music .item .item_right{}
.music .item .item_title{
font-size: 0.28rem;
color: #333333;
margin-bottom: .16rem;
}
.music .item .item_price{
font-size: 0.28rem;
color: #333333;
margin-bottom: .09rem;
display: flex;
align-items: center;
}
.music .item .item_price .back{
width: 0.6rem;
height: 0.24rem;
background-color: #ea4e3d;
border-radius: 0.12rem;
display: inline-block;
font-size: 0.2rem;
color: #fffefe;
display: flex;
align-items: center;
justify-content: center;
margin-left: 0.03rem;
}
.music .item .back span {
zoom: 0.8;
}
.music .item .item_his{
font-size: 0.2rem;
color: #626262;
zoom: 0.78;
}
.music .item .car{
position: absolute;
width: 0.46rem;
height: 0.46rem;
right: 0.34rem;
bottom: 0.17rem;
}
.music_name {
margin-top: 0.27rem;
display: flex;
align-items: center;
}
.music_name img {
width: 0.27rem;
height: 0.28rem;
margin-right: 0.13rem;
}
.music_name span {
font-size: 0.24rem;
color: #ffffff;
}
.footer {
width: 100%;
height: 1rem;
background-color: #000000;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 0.39rem;
padding-right: 0.54rem;
position: fixed;
box-sizing: border-box;
bottom: 0;
left: 0;
z-index: 999;
}
.footer li {
font-size: 0.24rem;
color: #ffffff;
position: relative;
height: 100%;
display: flex;
align-items: center;
}
.footer .active::after {
content: "";
position: absolute;
width: 0.51rem;
height: 0.03rem;
background-color: #ffffff;
border-radius: 0.015rem;
bottom: 0.05rem;
left: 50%;
transform: translateX(-50%);
}