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,28 @@
:root {
/* app的主题色,如果要修改主题的话,修改这里即可 */
--themeColor: #fb7299;
--whiteColor: #fff;
}
body {
font-size: 0;
}
body,p,ul,li,h1,h2,h3,h4,h5,h6,input,figure {
margin: 0;
padding: 0;
border: none;
}
li {
list-style: none;
}
input {
outline: none;
}
a {
text-decoration: none;
color: #000;
}

View File

@@ -0,0 +1,176 @@
.header {
width: 100%;
height: 2.25rem;
display: flex;
align-items: center;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
background: #fff;
padding: 0 0.5rem;
box-sizing: border-box;
}
.header i {
color: #666;
font-size: .9rem !important;
}
.header a {
width: 90%;
height: 1.5rem;
border: none;
padding-left: 0.95rem;
margin-left: 0.5rem;
background: #f1f1f4;
border-radius: 1.5rem;
font-size: .75rem;
line-height: 1.5rem;
}
.banner_swiper img {
width: 100%;
}
.menu {
display: flex;
flex-wrap: wrap;
}
.menu li {
width: 20%;
text-align: center;
}
.menu img {
width: 2.5rem;
height: 2.5rem;
}
.menu p {
font-size: .6rem;
color: #666;
}
.threeMeals {
margin-top: 1.6rem;
}
.threeMeals .title {
font-size: .8rem;
font-weight: 600;
color: #999;
line-height: 1.1rem;
margin-bottom: 0.5rem;
}
.threeMeals ul {
display: flex;
margin-bottom: 0.5rem;
align-items: flex-end;
}
.threeMeals ul li {
position: relative;
font-size: .8rem;
margin-right: 1rem;
color: #666;
}
.active{
font-size: 1.4rem !important;
color: #333 !important;
}
.threeMeals ul .active::after {
content: "";
height: 0.3rem;
border-radius: 0.15rem;
width: 100%;
left: 0px;
background: #ff9d9b;
position: absolute;
display: block;
}
.threeMealsList {
display: flex;
justify-content: space-between;
}
.threeMealsList_item {}
.threeMealsList_item img {
width: 8.35rem;
height: 11.9rem;
border-radius: .35rem;
}
.threeMealsList_item .one {
margin-top: .5rem;
font-size: .9rem;
font-weight: 600;
color: #333;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 167px;
margin-bottom: 6px;
}
.threeMealsList_item .two {
padding: 0 .15rem;
background: #ff8d8d;
color: #fff;
font-size: .4rem;
}
.threeMealsList_item .the {
font-size: .55rem;
color: #ff8d8d;
line-height: .7rem;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
background: #fff2f2;
border-radius: .1rem;
padding: .2rem .3rem;
}
.recommend {
margin-top: 1.6rem;
}
.recommend .title {
font-size: 1.25rem;
font-weight: 600;
color: #333;
line-height: 1.8rem;
margin-bottom: 0.8rem;
}
.recommend ul {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.recommend ul li {
width: 33%;
border-radius: 1.05rem;
margin-bottom: 1rem;
}
.recommend ul li a {
display: flex;
align-items: center;
justify-content: center;
}
.recommend ul img {
width: 0.9rem;
height: 0.9rem;
margin-right: 0.2rem;
}
.recommend ul span {
font-size: .6rem;
color: #333;
line-height: 2.1rem;
display: inline-block;
vertical-align: top;
font-weight: 600;
}
.recommend_active {
background: #fe9b95 !important;
box-shadow: 0px 0px 0.6rem rgb(255 155 149 / 50%) !important;
}
.recommend_active span {
color: #fff !important;
}

View File

@@ -0,0 +1,20 @@
/* 存放使用率高的css代码 */
::-webkit-scrollbar {
width: 0 !important;
height: 0 !important;
}
.ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.padding_lr {
padding: 0 0.8rem;
box-sizing: border-box;
}
.content {
margin-top: 2.25rem;
margin-bottom: 2.5rem;
}