摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>小米商城</title> <link rel="stylesheet icon" href="imag
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>小米商城</title> <link rel="stylesheet icon" href="images/footlogo.png"> <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <!-- 头部 --> <div> <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);margin-right:10px;"></div> <div style="background: url(images/midAD2.jpg);margin-right:10px;"></div> <div style="background: url(images/midAD3.jpg);"></div> </div> <div></div> <!-- 小米闪购 --> <div> <h1>小米闪购</h1> <div style="margin-right:10px;border-top:solid 1px red;"></div> <div style="margin-right:10px;border-top:solid 1px #e6b422;"></div> <div style="margin-right:10px;border-top:solid 1px #006e54;"></div> <div style="margin-right:10px;border-top:solid 1px #007bbb;"></div> <div style="margin-right:10px;border-top:solid 1px #765c47;"></div> </div> <div></div> <div style="background: url(images/longAD1.jpg);"></div> <div>手机</div> <div> <div></div> <div> <div style='margin-right: 12.7px'></div> <div style='margin-right: 12.7px'></div> <div style='margin-right: 12.7px'></div> <div></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-top: 12.7px'></div> </div> </div> <div style="background: url(images/longAD2.jpg);"></div> <div>智能</div> <div> <div style='margin-right: 12.7px;margin-top: 12.7px;background: url(images/buy/家电AD1.jpg);'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-top: 12.7px'></div> <div style='margin-right: 12.7px;background: url(images/buy/家电AD2.jpg);margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-top: 12.7px'> <div></div> <div></div> </div> </div> <div style="background: url(images/longAD3.jpg);"></div> <div>家电</div> <div> <div style='margin-right: 12.7px;margin-top: 12.7px;background: url(images/buy/智能AD1.jpg);'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-top: 12.7px'></div> <div style='margin-right: 12.7px;background: url(images/buy/智能AD2.jpg);margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-right: 12.7px;margin-top: 12.7px'></div> <div style='margin-top: 12.7px'> <div></div> <div></div> </div> </div> <div></div> <div style="background: url(images/longAD4.jpg);"></div> <div></div> </div> </div> <div></div> <!-- 底部 --> <div> <div> <div> <div> <a href=""><i class="fa fa-wrench"></i>预约维修服务<span></span></a> <a href=""><i class="fa fa-rotate-right"></i>7天无理由退货<span></span></a> <a href=""><i class="fa fa-refresh"></i>15天免费换货<span></span></a> <a href=""><i class="fa fa-gift"></i>满150元包邮<span></span></a> <a href=""><i class="fa fa-map-marker"></i>520余家售后网点</a> </div> <span></span> </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>Feir-520-1314</p> <p>周一至周日8:00-18:00<br>仅收市话费</p> <button><span class="fa fa-commenting"></span>联系客服</button> </div> <div></div> </div> <div > <div style="margin-right: 15px"> <img src="images/footlogo.png" alt=""> </div> <div class="footer_bottom_li_2 " style="margin-right: 50px"> <div> <ul> <li>小米商城<span></span></li> <li>MIUI<span></span></li> <li>米家<span></span></li> <li>米聊<span></span></li> <li>多看<span></span></li> <li>游戏<span></span></li> <li>路由器<span></span></li> <li>米粉卡<span></span></li> <li>政企服务<span></span></li> <li>小米天猫店<span></span></li> <li>隐私政策<span></span></li> <li>问题反馈<span></span></li> <li>Select Region</li> </ul> </div> <div> <a href="">mi.com</a>icp证123123185 <a href="">icp备45464号</a> <a href="">公安备案号</a> <a href="">京网文</a> <br> 不良信息举报 </div> </div> <div> <img src="images/footericon1.png" alt="" style="margin-right: 10px"> <img src="images/footericon2.png" alt="" style="margin-right: 10px"> <img src="images/footericon3.png" alt="" style="margin-right: 10px"> <img src="images/footericon4.png" alt="" style="margin-right: 10px"> <img src="images/footericon5.png" alt=""> </div> </div> <div>探索黑科技,小米为发烧而生!</div> </div> </div> </div> </body> </html>
*{margin:0;padding: 0} li{list-style: none;} a{text-decoration: none;color:#ccc;cursor: pointer;} .clear{clear:both;} /*头部*/ .header{background: #333;width: 100%;height: 40px;} .menu{background: #ccc;width: 1226px;height: 40px;margin:0 auto;} /*主体*/ .contents{width: 1226px;margin:0px auto;} .contentMune{background: #ccc;height: 70px;margin:10px auto;} .contentPic{margin:10px auto;} .contentPic_left{width: 246px;height: 460px;background: #ccc;float: left; } .contentPic_right{width: 980px;height: 460px;background: #333;float: left; } .contentPic_ul{height: 170px;margin:10px auto;} .contentPic_ul_1{width: 235px;height: 170px;background: #5f5750;margin-right: 10px;float: left;} .contentPic_ul_0{width: 317px;height: 170px;background: #333;margin-right: 10px; float: left;} /*小米闪购*/ .contentShop{height: 415px;margin:10px auto;} .contentShop_1{float: left;width:235px; height:340px;background: #ccc;} .contentImg{background: #ccc;height: 100px;margin:10px auto;} .contentUl{background: #ccc;height: 80px;margin:10px auto;} .contentPhione{height: 614px;margin:10px auto;} .contentPhione_left{height: 614px;width:234px;background: url(../images/buy/手机AD.jpg);float: left;} .contentPhione_right{height: 614px;width: 980px;float: right;} .contentPhione_right div{float: left;width: 235px;height: 300px;background: #ccc;} .contentPhione_0,.contentPhione_1{float: left;width: 235px;height: 300px;background: #ccc;} .contentPhione_2{float: left;;} .contentPhione_2_t,.contentPhione_2_d{width: 235px;height: 145px;background: #ccc;} .contentPhione_2_d{margin-top: 10px;} /*底部*/ .footer{width: 1226px;margin:10px auto;} .footer_top_li_1{width: 1226px;height: 80px;line-height: 80px;text-align: center;} .footer_top_li_1 a{font-size: 16px;color: #616161;font-weight: 300;} .footer_top_li_1 a:hover{color: #ff6700} .footer_top_li_1 a i{font-size: 18px;margin-right: 10px;} .footer_top_li_1 span{font-size: 18px;color: #616161;border-left: 1px solid #e0e0e0;margin:0 56px;} .separate{width: 1226px;border-bottom: 1px solid #e0e0e0;display: block;} .footer_top_li_2{ width: 1226px;height: 100px;margin:40px 0; } .footer_top_li_2_a dl{float: left; display: block;width: 160px;} .footer_top_li_2_a dl dt{font-size: 14px;line-height: 14px;color:#424242;margin-bottom: 26px;} .footer_top_li_2_a dl dd{font-size: 14px;line-height: 18px;margin-top: 10px;} .footer_top_li_2_a dl dd a{color: #757575} .footer_top_li_2_a dl dd a:hover{color: #ff6700} .footer_top_li_2_a .connect{width:258px;height: 112px;border-left: 1px solid #e0e0e0;float: right;text-align: center; } .telephone{color: #ff6700;margin:0 5px;font-size: 22px;line-height: 22px;} .time{color: #616161;margin:0 16px;font-size: 12px;} .footer_top_li_2_a .connect button{width: 118px;height: 28px;font-size: 12px;line-height: 28px;border:1px solid #ff6700;color: #ff6700;background:#ffffff;margin-top:20px;} .footer_top_li_2_a .connect button:hover{background: #ff6700;color: white} .footer_bottom_li{margin-top: 20px;} .footer_bottom_li_1,.footer_bottom_li_2,.footer_bottom_li_3{float: left;margin-right:10px;} .footer_bottom_li_a{width: 640px;height:19px;} .footer_bottom_li_a li{height: 19px;font-size: 12px;float: left;color: #757575} .footer_bottom_li_a li:hover{color:#ff6700} .footer_bottom_li_a li span{height: 4px;color:#757575;border-left: 1px solid #b0b0b0;margin:3px;} .footer_bottom_li_b {width: 640px;color: #b0b0b0;font-size: 12px;} .footer_bottom_li_b a:hover{color:#ef3a3b } .footer_bottom_li_3 img{ width: 83px;float: left; } .footer_bottom_li_4{clear:both;margin-top: 15px;text-align: center;font-family: "楷体";font-size: 24px;color: #ccc}
批改老师:韦小宝批改时间:2019-01-05 09:08:33
老师总结:不错不错!写的很完美!课后记得要多练习!大多网页的架构基本上都是差不多的!