Files
ClassContent/历届学生/吴欣阳/项目开发/上课项目/商城PSD/css/index.css
2024-09-27 02:06:13 +08:00

205 lines
3.5 KiB
CSS

.footer {
position: fixed;
bottom: 0;
z-index: 999;
width: 100%;
height: 1rem;
background-color: #000000;
display: flex;
align-items: center;
justify-content: space-around;
}
.footer li {
font-size: 0.24rem;
color: #ffffff;
position: relative;
}
.footer .active::after {
content: "";
position: absolute;
width: 0.51rem;
height: 0.03rem;
background-color: #ffffff;
border-radius: 0.015rem;
top: 0.6rem;
left: 50%;
transform: translateX(-50%);
}
.footer .active {
font-size: 0.3rem !important;
}
.content {
height: calc(100vh - 1rem);
background: url("../img/back.png");
background-size: cover;
position: relative;
}
.menu {
display: flex;
height: 0.42rem;
align-items: center;
justify-content: space-between;
padding: 0 0.37rem;
padding-top: 0.37rem;
}
.menu .scode{
width: 0.42rem;
height: 0.42rem;
}
.menu .list{
display: flex;
align-items: center;
}
.menu .list li{
margin-right: 0.24rem;
font-size: 0.3rem;
color: #fff;
position: relative;
}
.menu .list li:last-child {
margin-right: 0;
}
.menu .search{
width: 0.43rem;
height: 0.43rem;
}
.list .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;
top: 0.5rem;
left: 50%;
transform: translateX(-50%);
}
.user_info {
position: absolute;
bottom: 0;
right: 0.19rem;
text-align: center;
font-size: 0;
}
.user_info li:first-child {
position: relative;
}
.user_info li{
margin-bottom: 0.36rem;
}
.user_info li:last-child{
margin-bottom: 0.1rem;
}
.user_info li img {
width: 0.65rem;
height: 0.65rem;
}
.user_info .user {
width: 0.96rem;
height: 0.97rem;
border-radius: 100%;
border: solid 0.03rem #ffffff;
}
.user_info .add {
position: absolute;
width: 0.34rem;
height: 0.34rem;
bottom: -6px;
left: 50%;
transform: translateX(-50%);
}
.user_info li p {
font-size: 0.2rem;
color: #ffffff;
margin-top: 0.09rem;
}
.music {
font-size: 0;
position: absolute;
left: 0.3rem;
bottom: 0.13rem;
}
.music_shop_title {
margin-bottom: 0.22rem;
display: flex;
align-items: center;
}
.music_shop_title img {
width: 0.28rem;
height: 0.26rem;
margin-right: 0.1rem;
}
.music_shop_title span {
font-size: 0.26rem;
color: #ffc600;
}
.music_shop {
width: 5.85rem;
height: 1.68rem;
background-color: #ffffff;
padding: 0.1rem;
box-sizing: border-box;
position: relative;
display: flex;
align-items: center;
}
.music_shop .shop_img {
width: 1.48rem;
height: 1.48rem;
margin-right: 0.15rem;
}
.shop_text h3{
font-size: 0.28rem;
color: #333333;
margin-bottom: 0.15rem;
}
.price{
margin-bottom: 0.1rem;
}
.price .m{
font-size: 0.28rem;
color: #333333;
}
.price .tips{
padding: 0.03rem 0.1rem;
background-color: #ea4e3d;
border-radius: 0.12rem;
color: #fff;
font-size: 0.2rem;
margin-left: 5px;
}
.shop_text .his{
font-size: 0.2rem;
color: #626262;
}
.car {
width: 0.46rem;
height: 0.46rem;
position: absolute;
right: 0.34rem;
bottom: 0.17rem;
}
.music_text {
margin-top: 0.29rem;
display: flex;
align-items: center;
}
.music_text img {
width: 0.27rem;
height: 0.28rem;
margin-right: 0.13rem;
}
.music_text span {
font-size: 0.24rem;
color: #ffffff;
}