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,182 @@
/* 头部开始 */
.header{
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
padding-top: .6rem;
padding-bottom: .6rem;
background-color: #fff;
}
.header a{
display: flex;
align-items: center;
}
.icon-touxiang:before {
content: "\e640";
font-size: 1.5rem;
color: #ccc;
}
.header div{
width: 85%;
height: 1.8rem;
padding-left: .95rem;
margin-left: .5rem;
background: #f1f1f4;
border-radius: 1.5rem;
font-size: .75rem;
line-height: 1.8rem;
color: #ccc;
}
/* 头部结束 */
/* 中间内容开始 */
.content{
margin-top: 2.9rem;
}
.jiu{
margin-top: .6rem;
}
.jiu ul li img{
width: 3rem;
height: 3rem;
}
.jiu ul li span{
padding-top: .3rem;
font-size: .6rem;
color: #666;
}
.jiu_ul{
display: flex;
flex-wrap: wrap;
}
.jiu_ul li{
width: 20%;
}
.jiu_ul li a{
display: flex;
flex-direction: column;
align-items: center;
}
.sancan{
margin-top: 2rem;
}
.sancan>span,.dajia>span{
font-size: 1rem;
font-weight: 600;
color: #999;
line-height: 1.1rem;
margin-bottom: 5rem;
}
.sancan ul:nth-child(2){
display: flex;
margin-bottom: .5rem;
}
/* --------------------------------------- */
/* ----------------------------------------------- */
.sancan_ul li,.dajia_ul li{
margin-top: .6rem;
position: relative;
font-size: .9rem;
margin-right: 1.5rem;
color: #666;
padding-bottom: .25rem;
display: flex;
align-items: flex-end;
}
.three_meals_item img{
width: 10rem;
height: 13.5rem;
border-radius: 0.7rem;
}
.tuijian{
margin-top: 2rem;
}
.tuijian>span{
font-size: 1.5rem;
font-weight: 600;
color: #333;
}
.tuijian_title{
display: flex;
flex-wrap: wrap;
}
.tuijian_title li{
box-shadow: 0px 0px 0.6rem rgb(0 0 0 / 10%);
background: #fff;
border-radius: 1.05rem;
align-items: center;
justify-content: center;
height: 2rem;
display: flex;
flex: 20%;
margin:.6rem;
}
.tuijian_title li span{
font-size: .6rem;
color: #333;
font-weight: 600;
}
.tuijian_title img{
width: .9rem;
height: .9rem;
}
/* 中间内容结束 */
/* 底部内容开始 */
.flood{
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 999;
background-color: #fff;
}
.flood img{
width: 1.5rem;
height: 1.5rem;
}
.flood p{
font-size: .6rem;
}
.flood ul{
display: flex;
align-items: center;
justify-content: space-around;
}
.flood ul li{
display: flex;
flex-direction: column;
}
/* 底部内容结束 */

View File

@@ -0,0 +1,36 @@
.header{
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #f5f5f5;
padding-top: .5rem;
padding-bottom: .5rem;
background-color: #fff;
}
.header input{
width: 65%;
background: #eee;
color: gray;
}
.tiao{
width: 3rem;
height: 1.8rem;
background: #ff4c39;
border-radius: .1rem;
text-align: center;
line-height: 1.8rem;
color: #fff;
}
.content{
margin-top: 3.2rem;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

View File

@@ -0,0 +1,56 @@
.header{
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
display: flex;
justify-content: space-between;
padding-top: .5rem;
padding-bottom: .5rem;
border-bottom: 1px solid #f5f5f5;
align-items: center;
background-color: #fff;
}
.icon-sousuo:before {
font-size: 1.5rem;
}
.icon-jiantouarrowhead7:before{
font-style: 1rem;
}
.header>a{
font-size: 1rem;
color: #333;
}
.caipu{
font-size: 1.3rem;
color: #000;
font-weight: 600;
}
.content{
margin-top: 2.8rem;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.content a{
width: 48%;
}
.tuitupian{
position: relative;
}
.icon-shipin:before {
color: #333;
font-size: 1.5rem;
content: "\e610";
position: absolute;
top: .5rem;
right: .5rem;
}
.tuitupian span:nth-child(3){
width: 100%;
background-color: #fff;
color: black;
}

View File

@@ -0,0 +1,38 @@
.header{
display: flex;
}
.header video{
position: relative;
width: 100%;
}
.header a{
margin: .5rem .8rem 0;
position: absolute;
height: 1.5rem;
background: rgba(0,0,0,0.5);
border-radius: .75rem;
color: #fff;
}
.header a:last-child{
right: 0;
}
.content h2{
margin-top: .5rem;
font-weight: 700;
margin-bottom: 1rem;
}
.content p{
font-size: 0.7rem;
color: #757575;
}

View File

@@ -0,0 +1,14 @@
body,ul,li,h1,h2,h3,h4,h5,h6,p {
list-style: none;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
}
input {
outline: none;
border: none;
}

View File

@@ -0,0 +1,146 @@
.comm{
padding-left: .4rem;
padding-right: .4rem;
}
.comms{
padding-left: .8rem;
padding-right: .8rem;
}
/* ----------------------------------------- */
.three_meals_item{
width: 100%;
}
.text{
font-size: .6rem !important;
color: #333;
font-weight: 600;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.desc{
margin-top: .3rem;
font-size: .55rem;
color: #ff8d8d;
line-height: .7rem;
background: #fff2f2;
border-radius: .1rem;
padding: .2rem .3rem;
}
.three_meals_list {
display: flex;
justify-content: space-around;
}
.three_meals_item{
width: 10rem;
}
.three_meals_item img{
width: 10rem;
height: 13.5rem;
border-radius: 0.7rem;
}
/* -------------------------------------------- */
/* --------------------------------------------------- */
.tuitupian{
width: 9.5rem;
display: flex;
flex-direction: column;
margin-top: .5rem;
}
.tuitupian span:nth-child(2){
margin-top: .3rem;
font-size: .9rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #333;
font-weight: 600;
}
.tuitupian span:nth-child(3){
margin-top: .3rem;
width: 10%;
padding: 0 .15rem;
background: #ff8d8d;
color: #fff;
font-size: .4rem;
}
.tuitupian span:nth-child(4){
margin-top: .3rem;
font-size: .55rem;
color: #ff8d8d;
line-height: .7rem;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
background: #fff2f2;
border-radius: .1rem;
padding: .2rem .3rem;
}
.tuitupian img{
width: 100%;
border-radius: .5rem;
}
.yonghu{
margin-top: .3rem;
display: flex;
justify-content: space-between;
}
.yonghu img{
width: .9rem;
height: .9rem;
}
.yonghu div span{
font-size: .5rem !important;
color: #666 !important;
}
.distupian{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
/* ------------------------------------------------------- */
/* 每日三餐激活样式 */
.activesan,.dajia_actives{
font-size: 1.4rem !important;
color: #333 !important;
}
.activesan::after,.dajia_actives::after{
content: '';
height: .3rem;
border-radius: .15rem;
width: 100%;
left: 0px;
bottom: .15rem;
background: #ff9d9b;
position: absolute;
z-index: 50;
display: block;
}
/* 为你推荐激活样式 */
.tui_actives{
background: #fe9b95 !important;
box-shadow: 0px 0px 0.6rem rgb(255 155 149 / 50%) !important;
}
.tui_actives span{
color: #fff !important;
}
/* 首页底部激活样式 */
.flood .floot_active{
color: #f15a4f;
}

View File

@@ -0,0 +1,59 @@
body,ul,li {
margin: 0;
padding: 0;
list-style: none;
}
.swiper,
.swiper_list {
overflow: hidden;
position: relative;
}
.swiper-wrapper,
.wrapper_list {
display: flex;
}
.swiper-wrapper li,
.wrapper_list li {
flex-shrink: 0;
width: 100%;
}
.swiper-wrapper img,
.wrapper_list img {
width: 100%;
height: 100%;
}
.swiper-button {
position: absolute;
top: 50%;
color: #fff;
font-size: 23px;
padding: 5px 5px;
background: #00000075;
transform: translateY(-50%);
}
.prev {
left: 0;
}
.next {
right: 0;
}
.swiper-pagination,
.pagination {
display: flex;
position: absolute;
left: 50%;
bottom: 16px;
transform: translate(-50%);
}
.swiper-pagination li,
.pagination li {
width: 8px;
height: 8px;
border-radius: 100%;
background: #CCC;
margin-right: 5px;
}
.swiper-pagination .active,
.pagination .active {
background: #007aff !important;
}

View File

@@ -0,0 +1,70 @@
.lb-toast {
padding: 8px 12px;
position: fixed;
left: 50%;
transform: translate(-50%);
background-color: rgba(0, 0, 0, 0.7);
border-radius: 8px;
z-index: 99999;
}
.lb-toast_text {
color: #fff;
font-size: 14px;
line-height: 20px;
}
.spinner {
width: 50px;
height: 60px;
text-align: center;
font-size: 10px;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}
.spinner > div {
background-color: #67CF22;
height: 100%;
width: 6px;
display: inline-block;
-webkit-animation: stretchdelay 1.2s infinite ease-in-out;
animation: stretchdelay 1.2s infinite ease-in-out;
}
.spinner .rect2 {
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s;
}
.spinner .rect3 {
-webkit-animation-delay: -1.0s;
animation-delay: -1.0s;
}
.spinner .rect4 {
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}
.spinner .rect5 {
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}
@-webkit-keyframes stretchdelay {
0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
20% { -webkit-transform: scaleY(1.0) }
}
@keyframes stretchdelay {
0%, 40%, 100% {
transform: scaleY(0.4);
-webkit-transform: scaleY(0.4);
} 20% {
transform: scaleY(1.0);
-webkit-transform: scaleY(1.0);
}
}