first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,155 @@
.header {
position: fixed;
left: 0;
top: 0;
z-index: 999;
width: 100%;
height: 1rem;
background-color: #000000;
opacity: 0.7;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 0.24rem;
padding-right: 0.4rem;
box-sizing: border-box;
}
.header img {
height: 0.65rem;
}
.header .open {
width: 1.44rem;
height: 0.52rem;
background-color: #d0302c;
border-radius: 0.08rem;
font-size: 0.24rem;
color: #ffffff;
text-align: center;
line-height: 0.52rem;
}
.content {
margin-top: 1rem;
}
.banner {
height: 10.07rem;
position: relative;
}
.banner img {
height: 100%;
}
.banner .page{
width: 1rem;
height: 0.48rem;
background-color: rgb(0 0 0 / 60%);
border-radius: 0.24rem;
font-size: 0.28rem;
color: #ffffff;
text-align: center;
line-height: 0.48rem;
position: absolute;
right: 0.4rem;
bottom: 0.47rem;
}
.user_info {
padding-top: 0.17rem;
padding-bottom: 0.44rem;
border-bottom: 0.16rem solid #f3f3f3;
}
.user_info .user_wrap {
display: flex;
margin-bottom: 0.24rem;
}
.user_info .text {
font-size: 0.32rem;
line-height: 0.5rem;
color: #333333;
}
.user_info .user_wrap img{
width: 0.72rem;
height: 0.72rem;
margin-right: 0.16rem;
}
.user_info .user_wrap .user_name{}
.user_info .user_wrap .user_name .title{
font-size: 0.28rem;
color: #333333;
margin-bottom: 0.05rem;
}
.user_info .user_wrap .user_name .time{
font-size: 0.24rem;
color: #999999;
}
.comment {}
.comment .title {
height: 1.01rem;
background-color: #ffffff;
line-height: 1.01rem;
font-size: 0.32rem;
color: #333333;
padding-left: 0.24rem;
}
.comment_list {}
.comment_list li {
display: flex;
margin-bottom: 0.4rem;
padding-top: 0.3rem;
}
.comment_list li .user_ava{
width: 0.7rem;
height: 0.71rem;
margin-right: 0.2rem;
}
.comment_list li .list_text{
flex: 1;
}
.list_text .text_user{}
.list_text .text_user .user_title{
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.1rem;
}
.list_text .text_user .user_title span{
font-size: 0.28rem;
color: #333333;
}
.list_text .text_user .user_title .zan{
display: flex;
align-items: center;
}
.list_text .text_user .user_title .zan img{
width: 0.26rem;
height: 0.27rem;
margin-right: 0.1rem;
}
.list_text .text_user .user_title .zan span{
font-size: 0.24rem;
color: #999999;
}
.list_text .text_user .time{
font-size: 0.2rem;
color: #999999;
margin-bottom: 0.38rem;
}
.list_text .text_content{
font-size: 0.28rem;
line-height: 0.42rem;
color: #333333;
}
.all_comment {
width: 7.02rem;
height: 0.88rem;
border-radius: 0.08rem;
border: solid 0.02rem #d0302c;
margin: 0 auto 0.4rem;
font-size: 0.28rem;
line-height: 0.88rem;
color: #d0302c;
text-align: center;
}

View File

@@ -0,0 +1,17 @@
/* 专门用来清除标签的默认样式的 */
li {
list-style: none; /* 清除li标签的小圆点 */
}
a {
text-decoration: none; /* 清除a标签的下划线 */
}
body,ul,p,h1,h2,h3,h4,h5,h6{
margin: 0;
padding: 0;
}
input {
outline: none;
}

View File

@@ -0,0 +1,197 @@
.header {
position: fixed;
width: 100%;
height: .9rem;
left: 0;
top: 0;
background: url("../img/header_back.png");
background-size: cover;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0.19rem;
box-sizing: border-box;
}
.header .back {
width: 0.34rem;
height: 0.34rem;
}
.header .home {
width: 0.32rem;
height: 0.32rem;
}
.header p {
font-size: 0.4rem;
font-weight: bold;
letter-spacing: 0.016rem;
color: #ffffff;
}
.footer {
position: fixed;
width: 100%;
height: 1.47rem;
background-color: #ffffff;
left: 0;
bottom: 0;
display: flex;
justify-content: space-between;
}
.footer_nums {
display: flex;
align-items: center;
padding-left: 0.46rem;
}
.footer_nums .car_icon{
position: relative;
}
.footer_nums .car_icon img{
width: 0.77rem;
height: 0.73rem;
}
.footer_nums .price{
font-size: 0.36rem;
color: #666666;
margin-left: 0.51rem;
}
.footer_nums .price span{
color: #ff5400;
}
.footer_submit {
width: 3.15rem;
height: 1.47rem;
background-color: #ed1755;
font-family: SourceHanSansCN-Regular;
font-size: 0.491rem;
color: #ffffff;
text-align: center;
line-height:1.47rem;
}
.content {
height: calc(100vh - .9rem - 1.47rem);
margin-top: .9rem;
display: flex;
}
.menu {
width: 2.95rem;
background-color: #f7f7f7;
overflow-y: scroll;
}
.menu ul li{
height: 1.31rem;
border-bottom: 1px solid #ddd;
font-size: 0.393rem;
color: #2a2a2a;
text-align: center;
line-height: 1.31rem;
border-right: 1px solid #ddd;
position: relative;
}
.menu ul li .nums{
right: 0.19rem;
top: 0.16rem;
width: 0.37rem;
height: 0.37rem;
font-size: 0.229rem;
display: flex;
align-items: center;
justify-content: center;
}
.nums span {
zoom: 0.7;
}
.menu ul .active {
border-right: none;
color: #ff5400;
border-left: 0.13rem solid #ed1755;
}
.list {
padding:0 0.32rem;
flex: 1;
overflow-y: scroll;
}
.list li {
display: flex;
border-bottom: 0.03rem solid #eeeeee;
padding-bottom: 0.35rem;
padding-top: 0.37rem;
}
.list li img {
width: 2.47rem;
height: 1.97rem;
margin-right: 0.41rem;
}
.list li .list_right {}
.list li .list_right .add{
display: flex;
align-items: center;
justify-content: flex-end;
font-size: 0;
}
.list li .list_right .add .reduce{
width: 0.66rem;
height: 0.66rem;
background-color: #fff;
border-radius: 0.04rem;
border: solid 0.02rem #ff7800;
font-size: 0.59rem;
color: #ff7800;
display: flex;
align-items: center;
justify-content: center;
}
.list li .list_right .add input{
width: 0.85rem;
border: none;
height: 0.66rem;
text-align: center;
}
.list li .list_right .add .plus{
width: 0.66rem;
height: 0.66rem;
background-color: #ed1755;
border-radius: 0.04rem;
font-size: 0.59rem;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.list li .list_right {
flex: 1;
padding-right: 0.33rem;
}
.list li .list_right .title{
font-size: 0.426rem;
color: #333333;
margin-bottom: 0.28rem;
}
.list li .list_right .numss{
display: flex;
align-items: baseline;
justify-content: space-between;
margin-bottom: 0.23rem;
}
.list li .list_right .sales{
font-size: 0.295rem;
color: #999999;
}
.list li .list_right .numss .money{
font-size: 0.295rem;
color: #333333;
}
.list li .list_right .money span{
font-size: 0.491rem;
color: #ff5400;
}

View File

@@ -0,0 +1,18 @@
/* 存放使用频率高的css代码 */
.nums {
width: 0.5rem;
height: 0.5rem;
background-color: #ff5400;
border-radius: 100%;
font-size: 0.36rem;
line-height: 0.5rem;
color: #ffffff;
text-align: center;
position: absolute;
}
.padding {
padding: 0 0.23rem;
}