摘要:<!DOCTYPE html><html><head><meta charset="UTF-8"><title>小米商城</title><link rel="icon" type="image/x-icon" href="images/footlogo
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>小米商城</title>
<link rel="icon" type="image/x-icon" href="images/footlogo.png">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" type="text/javascript" href="js/jquery-3.3.1.js">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div>
<div>导航div</div>
</div>
<div>
<div>
<div>主体导航</div>
<div>
<div></div>
<div></div>
</div>
<div></div>
<div>
<div></div>
<div style="background:url(images/midAD1.jpg)"></div>
<div style="background:url(images/midAD2.jpg)"></div>
<div style="background:url(images/midAD3.jpg); margin-right:0px;"></div>
</div>
<div></div>
<!-- 小米闪购 -->
<div>
<h1 style="margin:20px 0px;">小米闪购</h1>
<div style="border-top:1px solid #E53935; background-color:#F1EDED;"></div>
<div style="border-top:1px solid #FFAC13;"></div>
<div style="border-top:1px solid #83C44E;"></div>
<div style="border-top:1px solid #2196F3"></div>
<div style="margin-right:0px;border-top:1px solid #E53935;"></div>
</div>
<div></div>
<div style="background:url(images/longAD1.jpg)"></div>
<div>手机</div>
<div>
<div style="background:url(images/buy/手机AD.jpg")></div>
<div>
<div style="margin-right:13px;"></div>
<div style="margin-right:13px;"></div>
<div style="margin-right:13px;"></div>
<div></div>
<div style="margin-right:13px; margin-top:10px"></div>
<div style="margin-right:13px; margin-top:10px"></div>
<div style="margin-right:13px; margin-top:10px"></div>
<div style="margin-top:10px"></div>
</div>
</div>
<div></div>
<div style="background:url(images/longAD2.jpg)"></div>
<div>家电</div>
<div>
<div style="background:url(images/buy/家电AD1.jpg)"></div>
<div></div>
<div></div>
<div></div>
<div style="margin-right:0px;"></div>
<div style="background:url(images/buy/家电AD2.jpg);margin-top:10px;"></div>
<div style="margin-top:10px;"></div>
<div style="margin-top:10px;"></div>
<div style="margin-top:10px;"></div>
<div style="margin-top:10px; margin-right:0px; background:none;">
<div></div>
<div></div>
</div>
</div>
<div></div>
<div style="background:url(images/longAD3.jpg)"></div>
<div>智能</div>
<div>
<div style="background:url(images/buy/智能AD1.jpg)"></div>
<div></div>
<div></div>
<div></div>
<div style="margin-right:0px;"></div>
<div style="background:url(images/buy/智能AD2.jpg);margin-top:10px;"></div>
<div style="margin-top:10px;"></div>
<div style="margin-top:10px;"></div>
<div style="margin-top:10px;"></div>
<div style="margin-top:10px; margin-right:0px; background:none;">
<div></div>
<div></div>
</div>
</div>
<div style="background:url(images/longAD4.jpg)"></div>
</div>
</div>
<div> <div> <a href="https://www.mi.com/static/fast/" target="_blank"><i class="fa fa-wrench"></i>预约维修服务</a><span></span> <a href="https://www.mi.com/service/exchange/#back" target="_blank"><i class="fa fa-rotate-right"></i>7天无理由退货</a><span></span> <a href="https://www.mi.com/service/exchange/#back" target="_blank"><i class="fa fa-refresh"></i>15天免费换货</a><span></span> <a href="https://www.mi.com/service/buy/postage/" target="_blank"><i class="fa fa-gift"></i>满150元包邮</a><span></span> <a href="https://www.mi.com/static/maintainlocation/" target="_blank"><i class="fa fa-map-marker"></i>520余家售后网点</a> </div> <div></div> <div> <dl> <dt>帮助中心</dt> <dd><a href="">账户管理</a></dd> <dd><a href="">购物指南</a></dd> <dd><a href="">订单操作</a></dd> </dl> <dl> <dt>服务支持</dt> <dd><a href="">售后政策</a></dd> <dd><a href="">自助服务</a></dd> <dd><a href="">相关下载</a></dd> </dl> <dl> <dt>线下门店</dt> <dd><a href="">小米之家</a></dd> <dd><a href="">服务网点</a></dd> <dd><a href="">授权体验店</a></dd> </dl> <dl> <dt>关于小米</dt> <dd><a href="">了解小米</a></dd> <dd><a href="">官方微信</a></dd> <dd><a href="">投资者关系</a></dd> </dl> <dl> <dt>关注我们</dt> <dd><a href="">新浪微博</a></dd> <dd><a href="">订单操作</a></dd> <dd><a href="">联系我们</a></dd> </dl> <dl> <dt>特色服务</dt> <dd><a href="">F 码通道</a></dd> <dd><a href="">礼物码</a></dd> <dd><a href="">防伪查询</a></dd> </dl> <div> <p>400-100-5678</p> <p>周一至周日 8:00-18:00<br>(仅收市话费)</p> <button><i class="fa fa-commenting"></i> 联系客服</button>
</div>
</div>
</div>
</body>
</html>
*{margin: 0px;padding: 0px;}
li{list-style: none;}
a{text-decoration: none;color: #ccc;cursor: pointer;}
.clear{clear: both;}
/*头部样式*/
.header{
width: 100%;
height: 40px;
background-color: #333;
}
.menu{
width: 1225px;
height: 40px;
background-color: #F5F5F5;
margin: 0px auto;
}
/*中间样式*/
.content_1{
width: 1225px;
margin: 0px auto;
}
.content_nav{
height: 90px;
background-color: #F5F5F5;
margin: 10px auto;
}
.content_menu{
margin: 10px auto;
}
.content_menu_l{
width: 235px;
height: 500px;
background-color: #F5F5F5;
float: left;
}
.content_menu_r{
width: 990px;
height: 500px;
background-color: blue;
float: left;
}
.content_pic{
margin: 10px auto;
}
.content_pic_1{
background-color:#5F5750;
width: 235px;
height: 170px;
float: left;
margin-right: 14px;
}
.content_pic_0{
width: 316px;
height: 170px;
float: left;
margin-right: 14px;
}
/*小米闪购*/
.content_gou{
margin: 10px auto;
}
.content_gou_1{
width: 235px;
height:340px;
background-color: #FAFAFA;
margin-right: 12.5px;
float: left;
}
.content_longAD{
height: 119px;
margin: 10px auto;
}
.content_class{
height: 100px;
background-color: #F5F5F5;
margin: 10px auto;
}
.content_classpic{
height: 614px;
width: 1225px;
background-color: #F5F5F5;
margin: 10px auto;
}
/*手机分类图片*/
.content_classpic_l{
width: 234px;
height: 614px;
margin-right: 12px;
float: left;
}
.content_classpic_r{
width: 979px;
height: 614px;
float: left;
}
.content_classpic_r div{
width: 235px;
height: 302px;
background: #ccc;
float: left;
}
/*家电分类图片样式*/
.content_classpic_AD{
width: 234px;
height: 302px;
margin-right: 12px;
float: left;
}
.content_classpic_1{
width: 235px;
height: 302px;
background: #ccc;
margin-right: 13px;
float: left;
}
/*家电最后一个上下分层*/
.content_classpic_lstup{
width: 235px;
height: 146px;
background: #ccc;
}
.content_classpic_lstdn{
width: 235px;
height: 146px;
margin-top: 10px;
background: #ccc;
}
/*底部样式*/
.footers{ width: 1225px; margin: 40px auto; text-align: center; } .footer_service{ width: 1225px; height: 56px; } .footer_service a{ color: #616161; font-size: 16px; line-height: 18px; margin: 0px 55px; } .footer_service a:hover{ color: #FF6700; } .footer_service a i{ margin-right: 10px; } .footer_service span{ border-left: 1px solid #E0E0E0; } .footer_line{ width: 1226px; border-bottom: 1px solid #E0E0E0; display: block; } .footer_list{ margin-top: 25px; width: 1225px; height: 140px; } .footer_list dl{ width: 74px; float: left; margin-right: 86px; display: block; } .footer_list dt{ text-align: left; font-size: 14px; color: #424242; margin-bottom: 26px; } .footer_list dd{ text-align: left; font-size: 12px; color: #424242; line-height: 18px; margin: 10px 0px; } .footer_list dd a{ color: #757575; } .footer_list dd a:hover{ color: #FF6700; } .footer_tel{ float: left; width: 258px; height: 112px; border-left: 1px solid #E0E0E0; } .footer_telephone{ font-size: 22px; color: #FF6700; } .footer_jobtime{ font-size: 12px; color: #424242; } .footer_callme{ margin-top: 20px; width: 120px; height: 30px; border: 1px solid #FF6700; background: #fff; color: #FF6700; font-size: 14px; line-height: 14px; } .footer_callme:hover{ background: #FF6700; color: #fff; }