<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="icon" href="img/logo.png" />
<title>一号店首页</title>
<style type="text/css">
#head {
width: 100%;
}
#head_tip {
height: 30px;
background-color: #e7e7e7;
line-height: 30px;
padding-left: 40px;
padding-right: 30px;
}
#head_tip a {
text-decoration: none;
color: orangered;
}
#search {
border: 2px red solid;
width: 300px;
height: 35px;
display: inline-block;
}
#head_content {
background-image: url("img/loginlogo.jpg");
background-position: 40px 20px;
background-repeat: no-repeat;
padding-left: 350px;
padding-top: 35px;
padding-bottom: 20px;
position: relative;
}
#shoppingCar {
width: 100px;
height: 30px;
border: 1px #ccc solid;
display: inline-block;
margin-left: 100px;
text-align: center;
line-height: 30px;
position: absolute;
top: 40px;
}
#search input[type=text] {
width: 70%;
height: 30px;
border: 0;
padding-left: 5px;
}
#search input[type=button] {
width: 26%;
height: 35px;
background-color: red;
border: 0;
color: white;
}
</style>
</head>
<body>
<div id="head">
<div id="head_tip">
<span>送货至:四川</span>
<span style="float: right;">
你好,请登录!
<a href="#">免费注册</a>
<span>|我的订单|</span>
<span class="text">
收藏夹
<img src="img/t_arrow.gif" />
</span>
<span class="text">
客户服务
<img src="img/t_arrow.gif" />
</span>
<span class="text">
网站导航
<img src="img/t_arrow.gif" />
</span>
</span>
</div>
<div id="head_content">
<!-- <img src="img/loginlogo.jpg" id="logoImg"/> -->
<div id="search">
<input type="text" placeholder="搜索" />
<input type="button" value="搜索">
<p style="line-height: 00px;">咖啡 iphone 6s 新鲜美食 蛋糕 日用品 连衣裙</p>
<!-- // <p style="line-height: 25px;margin: 0;font-size: 12px;">咖啡 iphone 6s </p> -->
</div>
<div id="shoppingCar">
<img src="img/car.png" />
购物车
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="toubu" href="img/logo.png" />
<title>一号店首页</title>
<style type="text/css">
#head_nav{
border-bottom: 2px solid orangered;
height: 40px;
width: 90%;
margin: 0 auto;
}
#head_nav ul{
list-style: none;
margin: 0;
padding: 0;
}
#head_nav ul li{
float: left;
height: 40px;
width: 80px;
text-align: center;
line-height: 40px;
}
#head_nav ul li a{
text-decoration: none;
font-weight: bold;
}
#head_nav ul li:first-child{
background-color: red;
width: 20%;
color: white;
}
#head_nav ul li:nth-child(2) a,#head_nav ul li:nth-child(3) a{
color: red;
}
#main{
width: 90%;
margin:0 auto;
}
.content_1{
border: 1px solid red;
width: 100%;
height: 350px;
}
.banner_left{
float: left;
width: 20%;
height: 350px;
background-color: #B01D1D;
}
.banner_left ul{
list-style: none;
margin: 0;
padding: 0;
}
.banner_left ul li{
width: 80%;
height: 40px;
line-height: 40px;
padding-left: 40px;
position: relative;
}
.banner_left ul li a{
text-decoration: none;
color: white;
}
.banner_left ul li img{
position: absolute;
top: 15px;
right: 10px;
}
.banner_left ul li:first-child{
background-image: url("img/nav1.png");
background-repeat: no-repeat;
background-position: 10px 12px;
}
.banner_left ul li:nth-child(2){
background-image: url("img/nav2.png");
background-repeat: no-repeat;
background-position: 10px 12px;
}
.banner_left ul li:nth-child(3){
background-image: url("img/nav3.png");
background-repeat: no-repeat;
background-position: 10px 12px;
}
.banner_left ul li:nth-child(4){
background-image: url("img/nav4.png");
background-repeat: no-repeat;
background-position: 10px 12px;
}
.banner_left ul li:nth-child(5){
background-image: url("img/nav5.png");
background-repeat: no-repeat;
background-position: 10px 12px;
}
.banner{
float: left;
width: 60%;
height: 350px;
text-align: center;
}
.banner_right{
float: right;
border: 1px solid yellow;
width: 18%;
height: 350px;
}
#io{
width: 87%;
height: 40px;
border-bottom: 1px solid #ccc;
line-height: 40px;
padding-left: 10px;
padding-right: 10px;
}
.qw{
font-size: 18px;
font-weight: 900;
}
.we{
font-size: 12px;
float: right;
}
.zr_3 a{text-decoration: none;
color: #ccc;
font-size: 15px;}
.zr_3 ul{
height: 10px;
list-style: none;
padding-left: 5px;
/* line-height: 20px; */
}
.qianbao{
height: 20px;
padding-left: 10px;
font-size: 18px;
}
.sy img{
height: 80px;
width: 240px;
margin-left: 12px;
}
.sy p{
color: #ccc;
font-size: 15px;
margin-left: 10px;
margin-top: 5px;
}
.sp{
height: 60px;
/* width: 90%; */
}
.sp_1{
height: 50px;
width:50px
margin-left: 80px;
}
/* .content_2{width: 100%;
height: 200px;
border: 1px solid red;
} */
.section03{
margin-top: 10px;
margin-bottom:20px;
width: 100%;
height: 220px;
}
.section031{
position: relative;
display: inline-block;
height: 100%;
width: 290px;
background-color:#d8eefc;
text-align: center;
overflow: hidden;
}
.section031 span:nth-child(1){
background-color: red;
color: #FFFFFF;
}
.section031 span:nth-child(2){
font-size: 12px;
color: red;
}
.section031 div:nth-child(1){
width: 100%;
overflow: hidden;
}
.section032{
position: relative;
float: right;
height: 100%;
}
.section032>div{
position: relative;
display: block;
height: 100%;
width: 290px;
float: left;
border: 1px solid #eaeaea;
text-align: center;
}
.section032 div:nth-child(1){
border-right: none;
}
.section032 div:nth-child(2){
border-right: none;
}
.section032 div:nth-child(3){
border-right: none;
}
.section032 div div:nth-child(1){
width: 100%;
height: 65%;
overflow: hidden;
}
.section032 img{
margin-top: 5px;
}
.section032 p{
line-height: 4px;
}
.section032 a{
color: gray;
text-decoration: none;
/* 去除下划线 */
}
.section0321{
color: rgba(21, 21, 20, 0.95);
font-weight: bold;
}
.section0322{
color: gray;
font-size: 12px;
}
.section0323{
color: red;
font-size: 20px;
font-weight: bold;
}
.section0324{
color: gray;
font-size: 12px;
font-weight: 400;
}
.remen{
position: absolute;
/* 绝对定位 */
left:10px ;
top: 5px;
}
</style>
</head>
<body>
<iframe src="toubu.html" width="100%" height="165px" frameborder="0"></iframe>
<div id="head_nav">
<ul>
<li>全部商品分类</li>
<li>
<a href="#">首页</a>
</li>
<li>
<a href="#">自营超市</a>
</li>
<li>
<a href="#">1号团</a>
</li>
<li>
<a href="#">1号超市</a>
</li>
</ul>
<span style="float: right;"> 惊喜多</span>
</div>
<div id="main">
<div class="content_1">
<div class="banner_left">
<ul>
<li>
<a href="#">进口食、生鲜</a>
<img src="img/n_arrow.gif"/>
</li>
<li>
<a href="#">进口食品、生鲜</a>
<img src="img/n_arrow.gif"/>
</li>
<li>
<a href="#">进口食品、生鲜</a>
<img src="img/n_arrow.gif"/>
</li>
<li>
<a href="#">进口食品生鲜</a>
<img src="img/n_arrow.gif"/>
</li>
<li>
<a href="#">进口、生鲜</a>
<img src="img/n_arrow.gif"/>
</li>
</ul>
</div>
<div class="banner">
<img src="img/ban1.jpg" width="98%" height="350px"/>
</div>
<div class="banner_right">
<div id="io">
<span class="qw">快讯</span>
<span class="we">更多></span>
</div>
<div class="zr_3">
<ul>
<li><span>【特惠】</span><a href="#">菊一轮明月 表无尽惦念</a></li>
</ul>
<ul>
<li><span>【特惠】</span><a href="#">好奇金装成长裤新品上市</a></li>
</ul>
<ul>
<li><span>【特惠】</span><a href="#">大牌闪购 抢!</a></li>
</ul>
<ul>
<li><span>【特惠】</span><a href="#">发福利 买车就抢千元油卡</a></li>
</ul>
<ul>
<li><span>【特惠】</span><a href="#">家电低至五折</a></li>
</ul>
</div>
<div class="qianbao">
<span>1号店钱包</span>
</div>
<div class="sy">
<p>收益日结,收益赚High!</p>
<img src="img/oneAD.jpg"/>
</div>
</div>
</div>
<div class="section03">
<div class="section031">
<div><img src="img/l_img.jpg" /></div>
<div><span>¥53.00</span> <span>16R</span></div>
</div>
<div class="section032">
<div>
<div><a href="#" class="jiantou31"></a><a href="#"><img src="img/hot1.jpg" /></a></div>
<div>
<a href="#">
<p class="section0321">德国进口</p>
<p class="section0322">德亚全脂纯牛奶200ml*48盒</p >
</a>
<p class="section0323">¥189 <span class="section0324">26R</span></p >
<img src="img/hot.png" class="remen" />
</div>
</div>
<div>
<div><a href=" "><img src="img/hot2.jpg" /></a></div>
<div>
<a href="#">
<p class="section0321">iPhone 6S</p >
<p class="section0322">Apple/苹果 iPhone 6s Plus公开版</p >
</a>
<p class="section0323">¥5288 <span class="section0324">25R</span></p >
<img src="img/hot.png" class="remen" />
</div>
</div>
<div>
<div><a href="#"><img src="img/hot3.jpg" /></a></div>
<div>
<a href="#">
<p class="section0321">倩碧特惠组合套装</p >
<p class="section0322">倩碧补水组合套装8折促销</p >
</a>
<p class="section0323">¥368 <span class="section0324">18R</span></p >
<img src="img/hot.png" class="remen" />
</div>
</div>
<div>
<div><a href="#" class="jiantou32"></a><a href="#"><img src="img/hot4.jpg" /></a></div>
<div>
<a href="#">
<p class="section0321">品利特级橄榄油</p >
<p class="section0322">750ml*4瓶装组合 西班牙原装进口</p >
</a>
<p class="section0323">¥280 <span class="section0324">30R</span></p >
<img src="img/hot.png" class="remen" />
</div>
</div>
</div>
</div>
<div id="foot"></div>
</body>
</html>