亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

小米商城總體框架和底部布局

original 2019-04-14 09:46:51 609
abstrait:<!-- 以下有兩個文件,一個是HTML文件,另一個是CSS樣式文件。 --><!doctype html><html><head><meta charset="UTF-8"><title>小米商城</title><!-- 引入title左邊的logo圖標 --><link r

<!-- 以下有兩個文件,一個是HTML文件,另一個是CSS樣式文件。 -->

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>小米商城</title>

<!-- 引入title左邊的logo圖標 -->

<link rel="icon" type="image/x-icon" href="static/images/footlogo.png">

<link rel="stylesheet" href="static/css/style1.css">

<!-- 引入外部字體CSS -->

<link rel="stylesheet" href="static/font-awesome/css/font-awesome.min.css">

<script src="static/js/jq_3.3.1_mi.js"></script> <!-- 引入jquery -->

</head>

<body>

<!-- 頭部代碼-導航 -->

<div>

<div></div>


</div>


<!-- 主體部分代碼 -->

<div> <!-- 內容s -->

<div>

<!-- 導航條下面的圖片和菜單 -->

<div>mi cai dan</div> 


<div> <!-- 菜單下第一“行”左右兩側div塊內容,需要浮動 -->

<div></div>

<div></div>

</div>

<div></div> 清除浮動。


<div>

<div></div>

<div style="background: url(static/images/midAD1.jpg);margin-right: 14px;"></div>

<div style="background: url(static/images/midAD2.jpg);margin-right: 14px;" ></div>

<div style="background: url(static/images/midAD3.jpg);">

</div>

</div>

<div></div>


<!-- 小米閃購 -->

<div>

<h1>小米閃購</h1>

<div style="margin-right: 12.7px;border-top: 1px solid red"></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>

<div></div>


<!-- 一張寬圖片 -->

<div style="background: url(static/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></div>


<!-- 一張寬圖片 -->

<div style="background: url(static/images/longAD2.jpg);">

</div>


<!-- 家電行 -->

<div>家電</div>

<div>

<div style="margin-right: 12.7px;background: url(static/images/buy/家電AD1.jpg);"></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;background: url(static/images/buy/家電AD2.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>

<div></div>

</div>

</div>


<!-- 一張寬圖片 -->

<div style="background: url(static/images/longAD3.jpg);">

</div>


<div>智能</div>

<div>

<div style="margin-right: 12.7px;background: url(static/images/buy/智能AD1.jpg);"></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;background: url(static/images/buy/智能AD2.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>

<div></div>

</div>

</div>


<!-- 一張寬圖片 -->

<div style="background: url(static/images/longAD4.jpg);">

</div>

</div>

</div>


<!-- 底部代碼 -->

<div>

<div>

<!-- footer部分分為兩個大的div -->

<!-- 第一個叫footer_top_li;第二個叫footer_buttom_li -->

<div>

<div>

<a href=""><i class="fa fa-wrench"></i>預約維修服務</a><span></span> <!-- 做豎線 -->

<a href=""><i class="fa fa-clock-o"></i>7天無理由退貨</a><span></span>

<a href=""><i class="fa fa-anchor"></i>15天免費換貨</a><span></span>

<a href=""><i class="fa fa-envelope"></i>滿150元包郵</a><span></span>

<a href=""><i class="fa fa-car"></i>520余家售后網(wǎng)點</a>

</div>

<span></span> <!-- 做橫線 -->

<!-- 底部第二部分 -->

<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="">服務網(wǎng)點</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="">聯(lián)系我們</a></dd>

</dl>

<dl>

<dt>特色服務</dt>

<dd><a href="">F碼通道</a></dd>

<dd><a href="">禮物碼</a></dd>

<dd><a href="">防偽查詢</a></dd>

</dl>


<!-- 聯(lián)系電話 -->

<div>

                        <p>400-100-5678</p>

                        <p>周一至周日 8:00-18:00<br>(僅收市話費)</p>

                        <button><span class="fa fa-commenting "></span> 聯(lián)系客服</button>

                     </div>

</div>

<div></div>

</div>

</div>


<!-- footer_buttom_li部分(第二大部分) -->

<div>

<div>

<img src="static/images/footlogo.png" alt="" >

</div>

<div>

<a href="">小米商城</a><span></span>

<a href="">MIUI</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="">商城用戶協(xié)議</a><span></span>

<a href="">賬號協(xié)議</a><span></span>

<a href="">問題反饋</a><span></span>

<a href="">廉政舉報</a><span></span>

<a href="">誠信合規(guī)</a><span></span>

<a href="">Select Region</a><br>

<span class="fa fa-copyright"></span><a href="">mi.com</a>

<span>京ICP證110507號 </span>

<a href="">京ICP備10046444號</a>

<a href="">京工網(wǎng)安備11010802020134號</a>

<a href="">京網(wǎng)文[2017]1530-131號</a><br>

<a href="">(京)網(wǎng)械平臺備字(2018)第00005號</a>

<a href="">互聯(lián)網(wǎng)藥品信息服務資格證(京)-非經(jīng)營性-2014-0090</a>

<a href="">營業(yè)執(zhí)照</a>

<a href="">醫(yī)療器械公告</a><br>

<a href="" style="margin-left:63px;">增值電信業(yè)務許可證</a>

<span>網(wǎng)絡食品經(jīng)營備案(京) [2018]WLSPJYBAHF-12</span>

<a href="">食品經(jīng)營許可證</a><br>

<span style="margin-left:63px;">違法和不良信息舉報電話:185-0130-1238</span>

<a href="">知識產(chǎn)權侵權投訴</a>

<span>本網(wǎng)站所列數(shù)據(jù),除特殊說明,所有數(shù)據(jù)均出自我司實驗室測試</span>

</div>

<div>

<a href=""><img src="static/images/footericon1.png" width="85px" alt=""></a>

<a href=""><img src="static/images/footericon2.png"></a>

<a href=""><img src="static/images/footericon3.png"></a>

<a href=""><img src="static/images/footericon4.png"></a>

<a href=""><img src="static/images/footericon5.png"></a>

</div>

<div>

<p>探索黑科技,小米為發(fā)燒而生!</p>

</div>

</div>

</div>

</div>


</body>

</html>


<!-- 以下是CSS樣式文件: -->

/*網(wǎng)頁通用的樣式*/

*{margin: 0px;padding: 0px;} /*去除瀏覽器自帶內外邊距*/

li{list-style: none;} /*去除所有l(wèi)i標簽的列表樣式*/

/*去除a鏈接中的下劃線及字體顏色樣式,將鼠標指針設置為手型*/

a{text-decoration: none;color: #000;cursor: pointer;}

.clear{clear: both;} /*所有清除浮動類*/


/*頭部樣式*/

.header{width: 100%;height:40px ;background:#333; }

.menu{background:#ccc;width: 1226px;height: 40px;margin: 0px auto;}


/*主體部分樣式*/

.content{width: 1226px;margin: 0px auto;}

.contentMenu{background: #ccc;width: 1226px;height: 90px;margin: 10px auto;}


.contentPic{margin: 10px auto;}

.contentPic_l{float: left; background: #ccc;width: 246px;height: 480px;}

.contentPic_r{float: left; background: blue;width: 980px;height: 480px;}


.contentPic_ul{/*background: #ccc;width: 1226px;height: 180px;*/margin: 10px auto;}

.contentPic_ul_1{float: left;background:#5f5750 ;width: 235px;height: 170px;margin-right: 10px; }

.contentPic_ul_0{float: left;width:317px ;height: 170px; }


/*小米閃購*/

.contentShop{width: 1226px;height: 340px;margin: 10px auto;}

.contentShop_1{float: left; width:235px;height:340px ;background: #ccc;}


/*一張寬圖片*/

.contentImg{width: 1226px;height: 100px;margin: 10px auto;}


/*手機*/

.contentUL{background: #ccc;width: 1226px;height: 80px;margin: 10px auto;}

.contentPhone{width: 1226px;height:614px;margin: 10px auto;}

.contentPhone_l{float: left; width:234px;height:614px;background:url(../images/buy/手機AD.jpg);

margin-right: 12px;}

.contentPhone_r{float: left;width:980px;height:614px;}

.contentPhone_r div{float: left;width:235px;height:300px;background: #ccc;}


/*家電、智能*/

.contentPhone_0,.contentPhone_1{width:235px ;height: 300px;float: left;background: #ccc;}

.contentPhone_2{float: left;}

.contentPhone_1_t,.contentPhone_1_d{width:235px ;height: 145px;background: #ccc;}

.contentPhone_1_d{margin-top: 10px;}


/*底部樣式*/

/*底部第一行*/

.footer{/*background: #ccc;*/width: 1226px;/*height: 300px;*/margin: 10px auto;}

.footer_top_li_1{width: 1226px;height: 80px;/*background: pink;*/ line-height: 80px;text-align: center;}

.footer_top_li_1 a{color:#616161;padding: 0 50px; font-size: 16px;/*background: pink;*/}

.footer_top_li_1 a i{margin-right: 5px;}

.footer_top_li_1 span{border-left: 1px solid #e0e0e0;/*font-size: 20px;margin: 0 50px;color: red;*/ }

.footer_top_li_1 a:hover{color:#ff6700; }

.line{border-bottom: 2px solid #e0e0e0;width: 1226px;display: block;margin-bottom: 5px;}


/*底部第二部分*/

.foot_top_li_2_a{width: 1226px;height: 160px;/*background: green;*/}

.foot_top_li_2_a dl{float: left;display: block;width: 135px;margin: 40px 10px;}

.foot_top_li_2_a dl dt{color:#616161;font-size: 14px;line-height: 14px;margin-bottom: 20px;}

.foot_top_li_2_a dl dd{color:#616161;font-size: 12px;/*line-height: 12px;*/margin: 16px 0px;}

.foot_top_li_2_a dl dd a:hover{color:#ff6700;}

.foot_top_li_2_a .connect{margin-top: 40px;display: inline-block;padding: 0 30px;border-left: 1px solid #e0e0e0;}

.foot_top_li_2_a .connect .telephone{font-size: 22px;line-height: 22px;color:#ff6700;margin: 10px auto;text-align: center;}

.foot_top_li_2_a .connect .time{font-size: 12px;text-align: center;}

.foot_top_li_2_a .connect button{width: 118px;height: 28px;font-size: 12px;line-height:28px;border: 1px solid #ff6700;color:#ff6700;background: #fff;margin-top: 20px; }

.foot_top_li_2_a .connect button:hover{background:#ff6700;color: #fff; }


/*底部第三部分*/

.footer_buttom_li_1 .picture1{float: left;margin-right: 6px;}

.footer_buttom_li_2 a{font-size: 12px;line-height: 12px;}

.footer_buttom_li_2 a:hover{color:#ff6700;}

.footer_buttom_li_2 span{font-size: 12px;line-height: 12px;margin: 0px 5px;

 border-right: 1px solid #ccc;}


.footer_buttom_li_3{margin: 30px 0px;margin-left: 63px;}


.footer_buttom_li_4 p{font-family: 楷體;font-size: 18px;color:#616161;text-align: center; }


Professeur correcteur:天蓬老師Temps de correction:2019-04-14 21:55:23
Résumé du professeur:html中用到了大量的style內聯(lián)樣式, 真的有必要這樣嗎?

Notes de version

Entrées populaires