<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="2.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_3375711_ufjbbl3qkv.css">
<title>Document</title>
</head>
<body >
<header>
<!-- 顶部 -->
<div class="top">
<div class="logo iconfont icon-taobao"></div>
<div class="search">
<div class="bb">
<span class="xun">寻找宝贝店铺 </span>
<div class="ss"><span >搜索</span></div>
</div>
</div>
<div class="qdao"><img src="../5.8/img/O1CN01ftum4629SHP6bCqTm_!!6000000008066-2-tps-99-99.png" alt=""></div>
</div>
<ul class="nav">
<li class="item"><a href=""><img src="../5.8/img/1.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/2.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/3.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/4.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/5.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/6.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/7.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/8.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/9.png" alt=""></a>天猫新品</li>
<li class="item"> <a href=""><img src="../5.8/img/10.png" alt=""></a>天猫新品</li>
</ul>
</header>
<main style="height: 1600px">
<div class="navs" onclick="">
<div class="box">
<div class="title" >
<h3 class="jhs">聚划算</h3>
<span class="tag">品牌折扣</span>
</div>
<div class="dsec">
<div class="left"><img src="./img/11.webp" alt=""></div>
<div class="right"> <img src="./img/12.webp" alt=""></div>
</div>
</div>
<div class="box">
<div class="title">
<h3 class="jhs">天天特卖</h3>
<span class="tag">1元秒杀</span>
</div>
<div class="dsec">
<div class="left"><img src="./img/13.webp" alt=""></div>
<div class="right"><img src="./img/14.webp" alt=""></div>
</div>
</div>
<div class="box">
<div class="title">
<h3 class="jhs">有好货</h3>
<span class="tag" style="background-color: rgb(63,142,227)">好口碑</span>
</div>
<div class="dsec">
<div class="left"><img src="./img/15.webp" alt=""></div>
<div class="right"><img src="./img/16.webp" alt=""></div>
</div>
</div>
<div class="box">
<div class="title">
<h3 class="jhs">每日好店</h3>
<span class="tag" style="background-color: rgb(241,156,60)">特色</span>
</div>
<div class="dsec">
<div class="left"><img src="./img/17.webp" alt=""></div>
<div class="right"><img src="./img/18.webp" alt=""></div>
</div>
</div>
</div>
<div class="bot">
<div class="tp"><img src="./img/19.webp" alt=""></div>
<div class="box">
<img src="./img/20.webp" alt="">
<div class="tt"><span >鸣笛加厚不锈钢电水壶家用烧水壶大容量电热水壶茶壶燃气电磁炉用</span></div>
<div class="jg"><span class="qian" style="color:rgb(238,113,64)">¥ 20</span><span class="rs">900+人已购买</span></div>
</div>
<div class="box">
<img src="./img/21.webp" alt="">
<div class="tt"><span >厨房洗菜篮子不锈钢沥水篮洗菜盆网篮圆形水果篮果盘淘米篮洗米筛</span></div>
<div class="jg"><span class="qian" style="color:rgb(238,113,64)">¥ 11.2</span><span class="rs">48人已购买</span></div>
</div>
<div class="box">
<img src="./img/22.webp" alt="">
<div class="tt"><span >100支埃及棉纯棉贡缎四件套1.8m 米长绒棉全棉春秋田园风美式简约</span></div>
<div class="jg"><span class="qian" style="color:rgb(238,113,64)">¥ 286</span><span class="rs">17人已购买</span></div>
</div>
<div class="box">
<img src="./img/23.webp" alt="">
<div class="tt"><span >日本进口盘御浓烧青海波盘子碟子日式和风餐具碗釉下彩陶瓷面碗</span></div>
<div class="jg"><span class="qian" style="color:rgb(238,113,64)">¥ 24.5</span><span class="rs">100+人已购买</span></div>
</div>
<div class="box">
<img src="./img/24.webp" alt="">
<div class="tt"><span >日本进口盘御浓烧青海波盘子碟子日式和风餐具碗釉下彩陶瓷面碗</span></div>
<div class="jg"><span class="qian" style="color:rgb(238,113,64)">¥ 16.5</span><span class="rs">100+人已购买</span></div>
</div>
</div>
</main>
<div class="bt">
<button class="anniu">打开淘宝</button>
</div>
<footer>
<div class="item a">
<a href="" class="iconfont icon-shejiaotubiao-44"></a>
</div>
<div class="item">
<a href="" class="iconfont icon-gouwuche"></a>
<a href="">购物车</a>
</div>
<div class="item">
<a href="" class="iconfont icon-wodetaobao "></a>
<a href="">我的淘宝</a>
</div>
</footer>
</body>
</html>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
a{
text-decoration: none;
}
li{
list-style: none;
}
:root{
font-size: calc(100vw / 3.75);
}
body{
font-size: 0.12rem;
max-width: 720px;
min-width: 320px;
margin: auto;
background-color: #f4f4f4;
}
@media screen and (max-width: 320px) {
:root {
font-size: 85px;
}
}
@media screen and (min-width: 640px) {
:root {
font-size: 170px;
}
}
header {
position: relative;
}
header .top{
width: 100vw;
height: 51px;
position: fixed;
left: 0;
right: 0;
top: 0;
background-color: #f4f4f4;
display: grid;
grid-template-columns: 50px 1fr 35px;
gap: 0 10px;
padding: 0.05rem;
}
header .top .search .bb{
display: grid;
grid-template-columns: repeat(2,1fr);
grid-template-rows: 35px;
}
header .top .search .bb .xun{
place-self: center start;
font-size: 0.14rem;
color: rgb(102,102,102);
padding-left: 20px;
padding-bottom: 4px;
}
header .top .search .bb .ss{
place-self: center end;
display: grid;
grid-template-columns: 0.6rem;
grid-template-rows: 27px;
margin-bottom: 7px;
margin-top: 3px;
padding: 1px 0;
font-size: 0.14rem;
color: #fff;
border-radius: 0.16rem;
border: 0.01rem solid #fff;
background: linear-gradient(to right, #FF8D0E, #FF5000);
}
header .top .search .bb .ss span{
place-self: center;
}
header .top .search{
height: 35px;
border: 0.015rem solid #ff5000;
border-radius: 0.5rem;
}
header .top .qdao img{
width: 100%;
padding-top: .01rem;
}
header .top .logo{
font-size: 20px;
color: rgb(245, 97, 28);
place-self: center;
margin-left: 0.05rem;
}
header .nav{
position:absolute;
top: 51px;
display: grid;
grid-template-columns: repeat(5,1fr);
grid-template-rows: repeat(2,1fr);
padding: 0 0.05rem 0.15rem 0.05rem;
background:#fff;
margin: 0 0.1rem;
border-radius: 0.1rem;
}
header .nav .item{
display: grid;
place-items: center;
}
header .nav img{
width: 100%;
}
main .navs {
display: grid;
grid-template-rows: repeat(2,1fr);
grid-template-columns: repeat(2,1fr);
background-color: #fff;
border-radius: 0.2rem ;
}
main .navs .box:first-of-type{
border-right: 0.1px solid rgb(221, 218, 218);
border-bottom: 0.1px solid rgb(221, 218, 218);
}
main .navs .box:last-of-type{
border-left: 0.4px solid rgb(221, 218, 218);
border-top: 0.1px solid rgb(221, 218, 218);
}
main .navs .box .dsec .right img{
width: 83.2px;
height: 83.2px;
}
main .navs .box .dsec .left img{
width: 65.52px;
height:65.52px;
}
main .navs .box .title{
display: flex;
}
main .navs .box .title .jhs{
font-size: 0.15rem;
color: #111111;
padding-left: 0.06rem;
margin-left: 0.03rem;
}
main .navs .box .dsec{
display: grid;
grid-template-columns: repeat(2,1fr);
place-items: center;
}
main .navs .box .title .tag{
color: rgb(255, 255, 255);
font-size: 11px;
background-color: rgb(255, 66, 0);
border-radius: 0.02rem;
padding: 0 0.03rem;
margin-left: 0.1rem;
line-height: 0.14rem;
height: 0.14rem;
}
main{
position: relative;
top: calc(0.51rem + 1.66rem);
padding: 0.1rem;
margin-top: 1px;
}
main img{
width: 100%;
height: 100%;
}
main .bot{
display: grid;
grid-template-columns: repeat(2,1fr);
grid-template-rows: repeat(3,1fr);
gap: 10px;
position: relative;
top: 0.1rem;
}
main .bot img{
border-radius: 0.1rem;
}
main .bot .box{
display: grid;
border-radius: 0.1rem;
background-color: #fff;
}
main .bot .box .tt{
padding: 10px 5px 10px 15px;
}
main .bot .box .jg{
padding-bottom: 10px;
}
main .bot .box .jg .rs{
color: #999999;
padding-left: 5px;
}
main .bot .box .jg .qian{
font-size: 14.56px;
line-height: 16.64px;
padding-left: 10px;
}
footer {
width: 100vw;
position: fixed;
left: 0;
right: 0;
bottom: 0;
background-color: #f4f4f4;
display: grid;
grid-template-columns: repeat(3,1fr);
place-items: center;
}
footer .item{
display: grid;
place-items: center;
}
footer .item .iconfont{
font-size: 0.3rem;
}
footer .item a{
color: #5D656B;
}
footer .item.a .iconfont{
color: coral;
font-size: 0.5rem;
}
.bt{
display: grid;
place-items: center;
}
.bt .anniu{
width: 1.35938rem;
height: 0.421875rem;
box-shadow: rgb(18 18 18 / 25%) 0px 2px 5px;
background-color: rgb(255, 80, 0);
font-size: 0.164063rem;
color: rgb(255, 255, 255);
border-radius: 0.210938rem;
text-align: center;
line-height: 0.421875rem;
font-weight: bold;
align-items: center;
z-index: 1000000;
position: fixed;
left: 50%;
bottom: 0.703125rem;
font-family: Helvetica, sans-serif;
transform: translate(-50%);
text-decoration: none;
user-select: none;
border: none;
}
相关推荐
© 2020 asciim码
人生就是一场修行