<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./xiaomi.css">
<link rel="stylesheet" href="./gouwuche/iconfont.css">
</head>
<body>
<div class="shang1">
<div class="shang2">
<div class="shang1-left">
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
<a href="#">小米商城</a>
<span>|</span>
</div>
<div class="shang1-right">
<a href="#">消息</a>
<span>|</span>
<a href="#">消息</a>
<span>|</span>
<a href="#">消息</a>
<span>|</span>
<button><em class="iconfont gouwuche"></em>购物车()</button>
</div>
</div>
</div>
<div class="zhong1">
<div class="zhong2">
<div class="zhong1-left"></div>
<div class="zhong1-center">
<ul>
<li><a href="#">Xiaomi手机</a></li>
<li><a href="#">Xiaomi手机</a></li>
<li><a href="#">Xiaomi手机</a></li>
<li><a href="#">Xiaomi手机</a></li>
<li><a href="#">Xiaomi手机</a></li>
<li><a href="#">Xiaomi手机</a></li>
<li><a href="#">Xiaomi手机</a></li>
</ul>
</div>
<div class="zhong1-right">
<input type="text">
<button><em class=""></em> </button>
</div>
</div>
<div class="zhong5">
<div class="container">
<img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/72d2f359aa032bc5f6372b3022b39a92.jpg?thumb=1&w=1269&h=476&f=webp&q=90"
alt="" width="1226px">
<div class="zhong3">
<ul>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
<li><a href="#">手机<span>></span></a></li>
</ul></div>
<div class="xia1">
<ul>
<li><a href="#">保障服务<span></span></a></li>
<li><a href="#">保障服务<span></span></a></li>
<li><a href="#">保障服务<span></span></a></li>
</ul></div>
<div class="xia-right">
<img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/6b67117bc92924fb2ff0e7ad2be86084.png?w=632&h=340"
alt=""width="316px">
<img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/6b67117bc92924fb2ff0e7ad2be86084.png?w=632&h=340"
alt=""width="316px">
<img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/6b67117bc92924fb2ff0e7ad2be86084.png?w=632&h=340"
alt=""width="316px">
</body>
</html>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none;
}
li {
list-style: none;
}
.shang1{
height: 40px;
background-color: #333;
line-height: 40px;
}
.shang2{
width: 1226px;
margin: 0 anto;
}
.shang1 .shang2{
display:flex;
justify-content: space-between;
align-items: center;
}
.shang1 a{
font-size: 12px;
color: #b0b0b0;
}
.zhong1{
}
.shang1 span{
color: #424242;
margin: 0 3px;
}
.zhong1{
height: 100px;
line-height: 100px;
}
.zhong1.zhong2{
display:flex;
justify-content: space-between;
align-items: center;
}
.zhong1-left{
width: 56px;
height: 56px;
background: url(https://cdn.cnbj1.fds.api.mi-img.com/mi.com-assets/shop/img/logo-mi2.png) no-repeat;
background-size: 56px;
}
.zhong1-center ul {
width: 700px;
display: flex;
justify-content: space-between;
}
.zhong1-center ul li a {
font-size: 16px;
color: #333;
}
.zhong1-right {
position: relative;
width: 300px;
height: 50px;
}
.zhong1-right input {
position: absolute;
top: 0;
outline: none;
width: 245px;
height: 50px;
border: 1px solid #e0e0e0;
}
.zhong1-right button {
position: absolute;
top: 0;
right: 0;
width: 52px;
height: 51px;
border: 1px solid #e0e0e0;
}
.zhong3 .zhong4 {
position: relative;
}
.zhong3 ul {
position: absolute;
top: 0;
left: 0;
width: 234px;
height: 460px;
background: rgba(105, 101, 101, .6);
padding: 20px 30px;
}
.zhong3 ul li {
height: 42px;
}
.zhong3 ul li a {
color: #FFFFFF;
font-size: 14px;
}
.xia1 {
margin: 0;
padding: 3px;
list-style-type: none;
font-size: 12px;
text-align: center;
background: #5f5750;
width: 234px;
height: 170px;
position: absolute;
}
.xia1 ul li a{
list-style: none;
text-decoration: none;
color:#FFFFFF;
display: flex;
justify-content: space-between;
}
.xia-right{
display: block;
width: 316px;
height: 170px;
display: flex;
right: 0;
}