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,326 @@
.header {
position: fixed;
width: 100%;
left: 0;
top: 0;
height: 95px;
padding: 10px 14px 7.5px;
box-sizing: border-box;
background: linear-gradient(90deg,#0af,#0085ff);
z-index: 999;
}
.header_location {
height: 34px;
color: #fff;
display: flex;
align-items: center;
}
.header_location .icon-dingwei {
font-size: 15px;
margin-right: 4px;
}
.header_location .icon-xiangxia {
font-size: 9px;
transform: scale(0.5);
}
.header_location span {
font-size: 17px;
font-weight: bold;
}
.footer {
width: 100%;
height: 50px;
left: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: space-around;
position: fixed;
background: #fff;
border-top: 1px solid rgba(0,0,0,.1);
box-sizing: border-box;
}
.footer li img {
margin-bottom: -3px;
width: 21px;
}
.footer li p {
font-size: 12px;
color: #8e8e93;
}
.header_search {
background: #fff;
height: 36px;
margin-top: 6px;
display: flex;
align-items: center;
justify-content: center;
}
.header_search i{
font-size: 17px;
color: #999;
}
.header_search span{
font-size: 14px;
color: #999;
margin-left: 4px;
}
.content {
margin-top: 95px;
margin-bottom: 60px;
}
.food_list {
display: flex;
flex-wrap: wrap;
padding-top: 10px;
}
.food_list p{
font-size: 12px;
color: #666;
}
.food_list li{
width: 20%;
text-align: center;
margin-bottom: 10px;
}
.food_list img{
width: 45px;
height: 45px;
}
.meal_line {
display: flex;
justify-content: space-between;
background: linear-gradient(0deg,#f4f4f4 5%,#fafafa 95%);
padding-left: 15px;
padding-top: 12px;
}
.meal_line_left p:nth-child(1) {
font-size: 17px;
color: #333;
font-weight: bold;
margin-bottom: 5px;
}
.meal_line_left p:nth-child(2) {
margin-bottom: 9px;
font-size: 13px;
color: #777;
}
.meal_line_left p:nth-child(3) {
font-size: 12px;
color: #af8260;
font-weight: 700;
}
.meal_line_left+img {
width: 141px;
}
.title_type {
display: flex;
justify-content: space-around;
height: 40px;
align-items: center;
}
.title_type i{
font-size: 7px;
color: #666;
transform: scale(0.6);
display: inline-block;
}
.title_type span{
font-size: 14px;
color: #666;
}
.vip{
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
background: #ffefc4;
}
.vip .vip1{
display: flex;
/* justify-content: flex-start; */
flex-wrap: wrap;
}
.vip1 p:nth-child(1){
font-size: 12px;
}
.vip1 p:nth-child(2){
display: flex;
align-items: center;
margin-left: 15px;
font-size: 12px;
}
.vip .vip1 img{
background-image: #f3d37a;
width: 17px;
height: 17px;
margin-left: 10px;
margin-top: 5px;
}
.vip .vip2 {
font-size: 12px;
}
.title1 {
display: flex;
justify-content: center;
align-items: center;
font-size: 15px;
margin: 10px;
}
.title1::before {
content: "";
height: 1px;
background: #999;
width: 20px;
margin-right: 10px;
}
.title1::after {
content: "";
height: 1px;
background: #999;
width: 20px;
margin-left: 10px;
}
.shop_list {
margin-top: 20px;
}
.shop_list .list_item {
display: flex;
margin-bottom: 20px;
}
.shop_list li .shopimg{
width: 65px;
height: 65px;
}
.shop_list li .list_r{
margin-left: 10px;
flex: 1;
}
.list_r_text .text_title {
display: flex;
justify-content: space-between;
align-items: center;
}
.list_r_text .text_title .title_left{
width: 80%;
display: flex;
align-items: center;
}
.title_left span:nth-child(1) {
background: linear-gradient(-139deg,#fff100,#ffe339);
padding: 1px 2.5px;
color: #6f3f15;
font-size: 11px;
display: inline-block;
width: 24px;
}
.title_left span:nth-child(2) {
font-size: 15px;
color: #333;
font-weight: 700;
width: 84%;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: 5px;
}
.list_r_text .text_title .icon-xiangxia{
color: #777;
transform: scale(0.5);
}
.text_zan {}
.text_zan img{
width: 60px;
height: 10px;
}
.text_zan span{
font-size: 11px;
color: #666;
}
.text_price {
display: flex;
justify-content: space-between;
margin: 4px 0;
font-size: 0;
}
.text_price span:nth-child(2n)::before {
color: #ddd;
content: "|";
margin: 0 3px;
}
.text_tags {
display: flex;
margin-top: 7px;
}
.text_tags li {
padding: 0 8px;
border: 1px solid #ddd;
box-sizing: border-box;
font-size: 10px;
color: rgb(102, 102, 102);
transform: scale(0.8);
margin-left: -5px;
}
.list_r_activity {
justify-content: space-between;
align-items: center;
margin-top: 13px;
}
.list_r_activity li{
display: flex;
justify-content: center;
align-items: center;
}
.act_left {
display: flex;
width: 84%;
justify-items: center;
align-content: center;
align-items: center;
}
.act_left span{
background: rgb(240, 115, 115);
color: #fff;
font-size: 12px;
padding: 1px 2px;
border-radius: 2px;
box-sizing: border-box;
margin-right: 6px;
transform: scale(0.86);
display: inline-block;
height: 18px;
}
.act_left p{
font-size: 12px;
color: #777;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
transform: scale(0.9);
margin-left: -10px;
}
.act_right {
display: flex;
width: 20%;
justify-content: flex-end;
}
.act_right span{
font-size: 11px;
color: #777;
}

View File

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

View File

@@ -0,0 +1,12 @@
.active {
color: #0089dc !important;
}
.margin_10 {
margin: 0 10px;
}
.text {
font-size: 11px;
transform: scale(0.9);
color: #666;
display: inline-block;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@@ -0,0 +1 @@
<svg width="60" height="10" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="0%" y1="50%" y2="50%" id="a"><stop stop-color="#FFDE00" offset="0%"/><stop stop-color="#FFB000" offset="100%"/></linearGradient></defs><path d="M54.017 8.072l-2.552 1.561c-.476.291-.758.096-.626-.455l.696-2.909-2.273-1.944c-.424-.362-.325-.691.239-.736l2.982-.237L53.63.589c.213-.515.557-.523.774 0l1.146 2.763 2.982.237c.556.044.67.368.24.736l-2.274 1.944.696 2.91c.13.542-.143.75-.626.454l-2.551-1.56zm-48 0L3.465 9.633c-.476.291-.758.096-.626-.455l.696-2.909-2.273-1.944c-.424-.362-.325-.691.239-.736l2.982-.237L5.63.589c.213-.515.557-.523.774 0L7.55 3.352l2.982.237c.556.044.67.368.24.736L8.497 6.269l.696 2.91c.13.542-.143.75-.626.454l-2.551-1.56zm12 0l-2.552 1.561c-.476.291-.758.096-.626-.455l.696-2.909-2.273-1.944c-.424-.362-.325-.691.239-.736l2.982-.237L17.63.589c.213-.515.557-.523.774 0l1.146 2.763 2.982.237c.556.044.67.368.24.736l-2.274 1.944.696 2.91c.13.542-.143.75-.626.454l-2.551-1.56zm12 0l-2.552 1.561c-.476.291-.758.096-.626-.455l.696-2.909-2.273-1.944c-.424-.362-.325-.691.239-.736l2.982-.237L29.63.589c.213-.515.557-.523.774 0l1.146 2.763 2.982.237c.556.044.67.368.24.736l-2.274 1.944.696 2.91c.13.542-.143.75-.626.454l-2.551-1.56zm12 0l-2.552 1.561c-.476.291-.758.096-.626-.455l.696-2.909-2.273-1.944c-.424-.362-.325-.691.239-.736l2.982-.237L41.63.589c.213-.515.557-.523.774 0l1.146 2.763 2.982.237c.556.044.67.368.24.736l-2.274 1.944.696 2.91c.13.542-.143.75-.626.454l-2.551-1.56z" fill="url(#a)" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,280 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/clear.css">
<link rel="stylesheet" href="./css/public.css">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_2269051_1tmtiyf2f6u.css">
<link rel="stylesheet" href="./css/a.css">
<title>饿了么</title>
</head>
<body>
<div class="header">
<div class="header_location">
<i class="iconfont icon-dingwei"></i>
<span>信旺华府骏苑(东门)</span>
<i class="iconfont icon-xiangxia"></i>
</div>
<div class="header_search">
<i class="iconfont icon-xinbaniconshangchuan-"></i>
<span>搜索饿了么商家、商品名称</span>
</div>
</div>
<div class="content">
<ul class="food_list">
<li>
<img src="https://cube.elemecdn.com/7/d8/a867c870b22bc74c87c348b75528djpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>美食</p>
</li>
<li>
<img src="https://cube.elemecdn.com/9/21/60ac33f023d9074e13cd78f9b5964jpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>夜宵</p>
</li>
<li>
<img src="https://cube.elemecdn.com/e/58/bceb19258e3264e64fb856722c3c1jpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>跑腿代购</p>
</li>
<li>
<img src="https://cube.elemecdn.com/b/7f/432619fb21a40b05cd25d11eca02djpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>汉堡披萨</p>
</li>
<li>
<img src="https://cube.elemecdn.com/2/35/696aa5cf9820adada9b11a3d14bf5jpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>甜品饮品</p>
</li>
<li>
<img src="https://cube.elemecdn.com/7/d6/6f2631288a44ec177204e05cbcb93jpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>地方小吃</p>
</li>
<li>
<img src="https://cube.elemecdn.com/e/89/185f7259ebda19e16123884a60ef2jpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>米粉面馆</p>
</li>
<li>
<img src="https://cube.elemecdn.com/5/1a/dc885d2ce022d2ee60495acafb795jpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>包子粥店</p>
</li>
<li>
<img src="https://cube.elemecdn.com/a/78/0fb469b2da210827ec16896e00420jpeg.jpeg?x-oss-process=image/format,webp/resize,w_90,h_90,m_fixed" alt="">
<p>炸鸡炸串</p>
</li>
</ul>
<div class="meal_line margin_10">
<div class="meal_line_left">
<p>品质套餐</p>
<p>搭配齐全吃得好</p>
<p>立即抢购 ></p>
</div>
<img src="https://cube.elemecdn.com/e/ee/df43e7e53f6e1346c3fda0609f1d3png.png?x-oss-process=image/format,webp/resize,w_282,h_188,m_fixed" alt="">
</div>
<div class="vip margin_10">
<div class="vip1">
<img src="https://cube.elemecdn.com/8/0e/4dd212d831becab6e3ebd484c0941jpeg.jpeg?x-oss-process=image/format,webp/resize,w_34" alt="">
<p>超级会员·</p>
<p style="transform: scale(0.6); margin-left: -26px; ">已为我节省56元</p>
</div>
<div class="vip2">
<p>下单可享奖励金></p>
</div>
<!-- <ul class="vip">
<li>
</li>
</ul> -->
</div>
<div class="title1">
推荐商家
</div>
<ul class="title_type">
<li>
<span>综合排序</span>
<i class="iconfont icon-xiangxia"></i>
</li>
<li>
<span>综合排序</span>
</li>
<li>
<span>综合排序</span>
</li>
<li>
<span>综合</span>
<i class="iconfont icon-xiangxia"></i>
</li>
</ul>
<ul class="shop_list margin_10">
<li class="list_item">
<img src="https://cube.elemecdn.com/6/F4/6463D570844DE884F377CC2533731jpeg.jpeg?x-oss-process=image/format,webp/resize,w_130,h_130,m_fixed" class="shopimg" alt="">
<div class="list_r">
<div class="list_r_text">
<div class="text_title">
<div class="title_left">
<span>品牌</span>
<span>k肯德基宅急送(合肥潜山路店)</span>
</div>
<i class="iconfont icon-xiangxia"></i>
</div>
<div class="text_zan">
<img src="./img/xx.svg" alt="">
<span>4.7&nbsp;&nbsp;月售1350单</span>
</div>
<div class="text_price">
<div class="price_left">
<span class="text">¥40起送</span>
<span class="text">配送¥9</span>
</div>
<div class="price_right">
<span class="text">140m</span>
<span class="text">30分钟</span>
</div>
</div>
<ul class="text_tags">
<li>汉堡薯条</li>
<li>汉堡薯条</li>
</ul>
</div>
<ul class="list_r_activity">
<li>
<div class="act_left">
<span>特</span>
<p>特价商品5元起</p>
</div>
<div class="act_right">
<span>7个活动</span>
</div>
</li>
</ul>
</div>
</li>
<li class="list_item">
<img src="https://cube.elemecdn.com/6/F4/6463D570844DE884F377CC2533731jpeg.jpeg?x-oss-process=image/format,webp/resize,w_130,h_130,m_fixed" class="shopimg" alt="">
<div class="list_r">
<div class="list_r_text">
<div class="text_title">
<div class="title_left">
<span>品牌</span>
<span>k肯德基宅急送(合肥潜山路店)</span>
</div>
<i class="iconfont icon-xiangxia"></i>
</div>
<div class="text_zan">
<img src="./img/xx.svg" alt="">
<span>4.7&nbsp;&nbsp;月售1350单</span>
</div>
<div class="text_price">
<div class="price_left">
<span class="text">¥40起送</span>
<span class="text">配送¥9</span>
</div>
<div class="price_right">
<span class="text">140m</span>
<span class="text">30分钟</span>
</div>
</div>
<ul class="text_tags">
<li>汉堡薯条</li>
<li>汉堡薯条</li>
</ul>
</div>
<ul class="list_r_activity">
<li>
<div class="act_left">
<span>特</span>
<p>特价商品5元起</p>
</div>
<div class="act_right">
<span>7个活动</span>
</div>
</li>
</ul>
</div>
</li>
<li class="list_item">
<img src="https://cube.elemecdn.com/6/F4/6463D570844DE884F377CC2533731jpeg.jpeg?x-oss-process=image/format,webp/resize,w_130,h_130,m_fixed" class="shopimg" alt="">
<div class="list_r">
<div class="list_r_text">
<div class="text_title">
<div class="title_left">
<span>品牌</span>
<span>k肯德基宅急送(合肥潜山路店)</span>
</div>
<i class="iconfont icon-xiangxia"></i>
</div>
<div class="text_zan">
<img src="./img/xx.svg" alt="">
<span>4.7&nbsp;&nbsp;月售1350单</span>
</div>
<div class="text_price">
<div class="price_left">
<span class="text">¥40起送</span>
<span class="text">配送¥9</span>
</div>
<div class="price_right">
<span class="text">140m</span>
<span class="text">30分钟</span>
</div>
</div>
<ul class="text_tags">
<li>汉堡薯条</li>
<li>汉堡薯条</li>
</ul>
</div>
<ul class="list_r_activity">
<li>
<div class="act_left">
<span>特</span>
<p>特价商品5元起</p>
</div>
<div class="act_right">
<span>7个活动</span>
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
<ul class="footer">
<li>
<img src="./img/footer_1.png" alt="">
<p class="active">首页</p>
</li>
<li>
<img src="./img/footer_1.png" alt="">
<p>发现</p>
</li>
<li>
<img src="./img/footer_1.png" alt="">
<p>订单</p>
</li>
<li>
<img src="./img/footer_1.png" alt="">
<p>我的</p>
</li>
</ul>
</body>
</html>