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,23 @@
@import "./config.css";
body,ul,li,p,h1,h2,h3,h4,h5,h6,figure {
margin: 0;
padding: 0;
}
body {
font-size: 0;
}
a {
text-decoration: none;
color: var(--blackColor);
}
li {
list-style: none;
}
::-webkit-scrollbar {
width: 0;
height: 0;
}

View File

@@ -0,0 +1,20 @@
/*放全局颜色,尺寸等代码*/
:root {
--themeColor: #fb7299;
--otherThemeColor: #fe7fa2;
--whiteColor: #fff;
--blackColor: #000;
--textColor: #999;
--fontSize12: 0.24rem;
--fontSize13: 0.26rem;
--fontSize14: 0.28rem;
--fontSize15: 0.3rem;
--fontSize16: 0.32rem;
--fontSize17: 0.34rem;
--fontSize18: 0.36rem;
--fontSize19: 0.38rem;
--fontSize20: 0.4rem;
--fontSize21: 0.42rem;
}

View File

@@ -0,0 +1,21 @@
.menu {
padding: .4rem .3rem;
}
.menu .text{
font-size: .32rem;
font-weight: 400;
margin-bottom: .2rem;
}
.menu ul{
display: flex;
flex-wrap: wrap;
}
.menu ul li{
padding: .06rem .2rem;
font-size: .28rem;
background: var(--themeColor);
margin-right: .2rem;
color: #fff;
border-radius: .4rem;
margin-bottom: .14rem;
}

View File

@@ -0,0 +1,93 @@
@import "./config.css";
.header {
position: fixed;
width: 100%;
height: 1.6rem;
top: 0;
left: 0;
right: 0;
z-index: 999;
}
.header .header_top {
background: var(--themeColor);
height: 0.88rem;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0.3rem;
}
.header .header_top .icon-taozi1,
.header .header_top .icon-wo {
font-size: 0.45rem;
color: var(--whiteColor);
}
.header .header_top .search {
flex: 1;
background: var(--whiteColor);
height: 0.6rem;
border-radius: 0.6rem;
margin-left: 10px;
margin-right: 10px;
display: flex;
align-items: center;
}
.header .header_top .search i {
color: var(--textColor);
font-size: 0.26rem;
margin-right: .1rem;
margin-left: .26rem;
margin-top: .02rem;
}
.header .header_top .search span {
font-size: var(--fontSize12);
color: var(--textColor);
}
.header .header_menu {
height: 0.72rem;
display: flex;
align-items: center;
background: var(--otherThemeColor);
padding-left: 0.3rem;
}
.header .header_menu ul {
display: flex;
flex: 1;
overflow-x: scroll;
}
.header .header_menu ul li {
font-size: 0.26rem;
margin-right: 0.26rem;
color: var(--textColor);
flex-shrink: 0;
}
.header .header_menu .active {
color: var(--whiteColor);
}
.header .header_menu a {
color: var(--whiteColor);
width: 0.8rem;
height: 0.72rem;
text-align: center;
line-height: 0.72rem;
}
.content{
margin-top: 1.6rem;
}
.swiper{
font-size: .4rem;
}
.swiper.slide{
height: calc(100VH - 1.6rem - 1rem)!important;
}

View File

@@ -0,0 +1,3 @@
.imgList img {
width: 100%;
}

View File

@@ -0,0 +1,118 @@
@import "./config.css";
.footer {
position: fixed;
bottom: 0;
height: 1rem;
width: 100%;
background: var(--whiteColor);
z-index: 999;
display: flex;
align-items: center;
justify-content: space-around;
}
.footer li {
text-align: center;
}
.footer li .active i,
.footer li .active p {
color: var(--themeColor);
}
.footer li a {}
.footer li a i {}
.footer li a p {
font-size: 0.24rem;
margin-top: 0.04rem;
}
.content{
margin-top: 0.9rem;
margin-bottom: 1rem;
}
.list {
display: flex;
justify-content: space-between;
padding: .16rem;
flex-wrap: wrap;
}
.list .item {
width: 49%;
margin-bottom: .24rem;
}
.list .item .img {
position: relative;
}
.list .item .img img {
width: 100%;
}
.list .item .img span {
position: absolute;
z-index: 1;
color: #fff;
right: .2rem;
bottom: .28rem;
font-size: .24rem;
background: var(--themeColor);
padding: .06rem .18rem;
border-radius: .6rem;
}
.list .item .text .title{
font-size: 0.34rem;
font-weight: 400;
margin-top: 0.2rem;
}
.list .item .text .model,
.list .item .text .mechanism{
font-size: 0.28rem;
color: #bdb7b7;
}
.list .item .tags{
margin-top: 0.1rem;
display: flex;
flex-wrap: wrap;
}
.list .item .tags a{
font-size: 0.24rem;
flex-shrink: 0;
padding: 0.08rem 0.18rem;
background: var(--themeColor);
margin-right: 0.1rem;
color: #fff;
border-radius: 0.2rem;
margin-bottom: 0.1rem;
}
.pub_title {
width: 100%;
position: fixed;
left: 0;
top: 0;
height: .9rem;
background: var(--themeColor);
color: #fff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 .2rem;
box-sizing: border-box;
}
.pub_title i {
font-size: .4rem;
}
.pub_title span {
font-size: .36rem;
flex: 1;
margin-left: 0.28rem;
margin-right: 0.18rem;
}

View File

@@ -0,0 +1,50 @@
.me_top {
font-size: .4rem;
height: 4rem;
width: 100%;
background-color:var(--themeColor);
color: aliceblue;
}
.me_top i {
color:var(--whiteColor);
font-size: 1.4rem;
position: absolute;
left: 3.04rem;
line-height: 4rem;
}
.wode {
position: absolute;
left: 3.34rem;
top: 2.7rem;
}
ul {
font-size: .4rem;
margin-top: .1rem;
color:var(--textColor);
}
li {
margin-top: .2rem;
display: flex;
justify-content: space-between;
}
li a {
color:var(--textColor);
}
.my_list{
width: 100%;
margin-left: .1rem;
}
li i {
height: .4rem;
width: .4rem;
margin-right: .1rem;
line-height: .52rem;
}

View File

@@ -0,0 +1,40 @@
.detailed{
display: flex;
flex-wrap: wrap;
}
.photo{
width: 40%;
margin: 0 5%;
}
.introduce{
font-size: .5rem;
}
img{
width: 100%;
}
.mo{
font-size: 0.34rem;
font-weight: 400;
margin-top: 0.2rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ww,.mec{
font-size: 0.28rem;
color: #bdb7b7;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ee span{
font-size: 0.24rem;
flex-shrink: 0;
padding: 0.08rem 0.18rem;
background: var(--themeColor);
margin-right: 0.1rem;
color: #fff;
border-radius: 0.2rem;
margin-bottom: 0.1rem;
}

View File

@@ -0,0 +1,18 @@
.top {
border-top: 0.02rem solid #e2e2e2;
}
.left {
border-left: 0.02rem solid #e2e2e2;
}
.right {
border-right: 0.02rem solid #e2e2e2;
}
.bottom {
border-bottom: 0.02rem solid #e2e2e2;
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}