摘要:<!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 style="background:#f5f5f5;">
<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>
<div>
<img src="images/footlogo.png" alt="">
</div>
<div class="footer_last_texts">
<div class="footer_last_text1"> <ul> <li><a href="">小米商城</a><span></span></li> <li><a href="">MIUI</a><span></span></li> <li><a href="">米家</a><span></span></li> <li><a href="">米聊</a><span></span></li> <li><a href="">多看</a><span></span></li> <li><a href="">游戏</a><span></span></li> <li><a href="">路由器</a><span></span></li> <li><a href="">米粉卡</a><span></span></li> <li><a href="">政企服务</a><span></span></li> <li><a href="">小米天猫店</a><span></span></li> <li><a href="">隐私政策</a><span></span></li> <li><a href="">问题反馈</a><span></span></li> <li><a href="">廉正举报</a><span></span></li> <li><a href="">Select Region</a></li> </ul> </div>
<div class="footer_last_text2">
<a href="">© mi.com</a>
京ICP证110507号
<a href="">京ICP备10046444号</a>
<a href="">京公网安备11010802020134号</a>
<a href="">京网文[2017]1530-131号</a><br>
<a href="">(京)网械平台备字(2018)第00005号</a>
<a href="">互联网药品信息服务资格证 (京) -非经营性-2014-0090</a>
<a href="">营业执照</a>
<a href="">医疗器械公告</a><br>
违法和不良信息举报电话:185-0130-1238,本网站所列数据,除特殊说明,所有数据均出自我司实验室测试
</div>
</div>
<div class="footer_last_icon">
<img src="images/footericon1.png" alt="">
<img src="images/footericon2.png" alt="">
<img src="images/footericon3.png" alt="">
<img src="images/footericon4.png" alt="">
<img src="images/footericon5.png" alt="">
</div>
</div>
<div></div>
<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{
width: 1225px;
margin: 0px auto;
}
.content_class{
height: 50px;
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;
}
.footer_last_logo,.footer_last_texts{
float: left;
}
.footer_last_logo{
margin-right: 8px;
}
.footer_last_text1 li{
float: left;
}
.footer_last_text1 a{
font-size: 12px;
color: #757575;
}
.footer_last_text1 li span{ font-size: 2px; border-left: 1px solid #b0b0b0; margin: 2px 3.5px; }
.footer_last_text2{
float: left;
text-align: left;
font-size: 10px;
color: #ccc;
}
.footer_last_texts a:hover{
color: #ef3a3b;
}
.footer_last_icon{
float:right;
}
.footer_last_icon img{
width: 85px;
height: 28px;
}
.ending{
margin-top: 25px;
font-size: 24px;
font-family: "楷体";
color: #ccc;
}
批改老师:天蓬老师批改时间:2018-12-04 09:12:13
老师总结:span标签,本不支持宽度设计, 它的大小完全由内部元素决定 , 通常也不能独立使用, 如果仍有问题, 可以在群中,或者提交工单