<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>商城首页</title>
<style>
#father{
border: 1px solid red;
width: 1300px;
height:2200px;
margin: auto;
}
#logo{
border: 1px solid blue;
width: 1300px;
height: 50px;
}
.top{
border: 1px solid black;
width: 431px;
height: 50px;
float: left;
}
#top{
padding-top: 12px;
padding-left: 30px;
width: 401px;
height: 38px;
}
#menu{
border: 1px solid red;
width: 1300px;
height: 50px;
background-color: black;
}
li a{
color: white;
}
ul li{
display: inline;
}
#product{
border: 1px solid red;
width: 1300px;
height: 550px;
}
#product_top{
border: 1px solid black;
width: 1285px;
height: 40px;
padding-left: 15px;
padding-top: 10px;
}
#product_bottom{
border: 1px solid blue;
width: 100%;
height: 498px;
}
#product_bottom_left{
border: 1px solid red;
width: 185px;
height:498px;
float: left;
}
#product_bottom_right{
border: 1px solid black;
width: 1110px;
height: 498px;
float: left;
}
#big{
border: 1px solid blue;
width: 550px;
height: 249px;
float: left;
}
.small{
border: 1px solid red;
width: 183px;
height: 249px;
float: left;
text-align: center;
}
#bottom{
text-align: center;
}
a{
text-decoration: none;
}
</style>
</head>
<body>
<div id="father">
<!--1.logo部分-->
<div id="logo">
<div class="top">
<img src="img/logo2.png" height="47px"/>
</div>
<div class="top">
<img src="img/header.png" height="47px"/>
</div>
<div class="top" id="top">
<a href="#">登录</a>
<a href="#">注册</a>
<a href="#">购物车</a>
</div>
</div>
<!--2.导航栏部分-->
<div id="menu">
<ul>
<li><a href="#" style="font-size: 25px;">首页</a></li>
<li><a href="#">手机数码</a></li>
<li><a href="#">电脑办公</a></li>
<li><a href="#">家用电器</a></li>
<li><a href="#">鞋靴箱包</a></li>
<li><a href="#">育婴保健</a></li>
</ul>
</div>
<!--3.轮播图部分-->
<div>
<img src="img/1.jpg" width="100%"/>
</div>
<!--4.热门商品-->
<div id="product">
<div id="product_top">
<font style="font-size: 25px;">热门商品</font>
<img src="img/title2.jpg" />
</div>
<div id="product_bottom">
<div id="product_bottom_left">
<img src="img/big01.jpg" width="100%" height="100%"/>
</div>
<div id="product_bottom_right">
<div id="big">
<a href="#"><img src="img/middle01.jpg" width="100%" height="100%"/></a>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
</div>
</div>
</div>
<!--5.广告图片-->
<div style="margin-top: 12px;">
<img src="img/ad.jpg" width="100%"/>
</div>
<!--6.最新商品-->
<div id="product">
<div id="product_top">
<font style="font-size: 25px;">最新商品</font>
<img src="img/title2.jpg" />
</div>
<div id="product_bottom">
<div id="product_bottom_left">
<img src="img/big01.jpg" width="100%" height="100%"/>
</div>
<div id="product_bottom_right">
<div id="big">
<a href="#"><img src="img/middle01.jpg" width="100%" height="100%"/></a>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg" />
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
<div class="small">
<img src="img/small03.jpg"/>
<a href="#"><p style="color: gray;">电炖锅</p></a>
<p style="color: red;">¥399</p>
</div>
</div>
</div>
</div>
<!--7.广告图片-->
<div>
<img src="img/footer.jpg" width="100%"/>
</div>
<!--8.友情链接和版权信息-->
<div id="bottom">
<a href="#">关于我们</a>
<a href="#">联系我们</a>
<a href="#">招贤纳士</a>
<a href="#">法律声明</a>
<a href="#">友情链接</a>
<a href="#">支付方式</a>
<a href="#">配送方式</a>
<a href="#">服务声明</a>
<a href="#">广告声明</a>
<p>
Copyright © 2005-2018 千锋商城 版权所有
</p>
</div>
</div>
</body>
</html>