<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
<style type="text/css">
* {
padding: 0;
margin: 0;
background-color: grey;
}
ul{
list-style: none;
}
.nav{
width: 750px;
margin: 0 auto -5px;
}
.main{
width: 750px;
margin: 0 auto;
}
.box{
height: 180px;
display: flex;
}
.box>.left{
height: 100%;
flex: 1;
color: white;
border: 2px solid white;
justify-content: space-around;
flex-wrap: wrap;
display: flex;
}
.box>.left>p{
width: 100%;
height: 50px;
line-height: 80px;
text-align: center;
}
.box>.left>img{
width: 50%;
height: 50%;
}
.box>.right{
height: 100%;
flex: 2;
border: 1px solid white;
}
.box>.right>ul{
display: flex;
flex-wrap: wrap;
}
.box>.right>ul>li{
width: 246px;
height: 89px;
border: 1px solid white;
color: white;
line-height: 100px;
text-align: center;
}
.red *{
background-color: #ff5555;
}
.bule *{
background-color: #00a7f7;
}
.green *{
background-color: #7cb832;
}
.white *{
background-color: #fff;
}
.yellow *{
background-color: #ff9900;
}
.yellow>ul{
display: flex;
text-align: center;
color: white;
line-height: 60px;
}
.yellow>ul>li{
border: 2px solid white;
flex: 1;
height: 60px;
}
.icon{
}
.icon>ul{
display: flex;
flex-wrap: wrap;
}
.icon>ul>li{
padding-top: 20px;
width: 185.5px;
height: 100px;
text-align: center;
line-height: 20px;
border: 1px solid white;
}
.bottom{
display: flex;
justify-content: space-around;
margin-top: 10px;
padding-top: 10px;
}
.bottom *{
background-color: white;
}
.bottom>li{
height: 100px;
flex: 1;
background-color: white;
text-align: center;
line-height: 30px;
}
</style>
</head>
<body>
<header class="nav">
<img src="images/header.png" alt="">
</header>
<div class="main">
<div class="box red">
<div class="left"><p>酒店</p><img src="images/hotel.png" alt=""></div>
<div class="right">
<ul>
<li>特惠酒店</li>
<li>海外酒店</li>
<li>客栈</li>
<li>民宿</li>
</ul>
</div>
</div>
<div class="box bule">
<div class="left"><p>机票</p><img src="images/flight.png" alt=""></div>
<div class="right">
<ul>
<li>低价机票</li>
<li>汽车票 船票</li>
<li>火车票</li>
<li>专车 自驾</li>
</ul>
</div>
</div>
<div class="box green">
<div class="left"><p>度假</p><img src="images/holiday.png" alt=""></div>
<div class="right">
<ul>
<li>景点 门票</li>
<li>旅游图购</li>
<li>自由行</li>
<li>周边 短途</li>
</ul>
</div>
</div>
<div class="yellow">
<ul>
<li>金融 理财</li>
<li>保险 车险</li>
<li>换外币</li>
</ul>
</div>
<div class="icon white">
<ul>
<li>
<img src="images/icon_04_01.png" alt="">
<p>签证 WIFI</p>
</li>
<li>
<img src="images/icon_04_02.png" alt="">
<p>出境游</p>
</li>
<li>
<img src="images/icon_04_03.png" alt="">
<p>一日游</p>
</li>
<li>
<img src="images/icon_04_04.png" alt="">
<p>美食林</p>
</li>
<li>
<img src="images/icon_04_05.png" alt="">
<p>汽车票</p>
</li>
<li>
<img src="images/icon_04_09.png" alt="">
<p>游轮游</p>
</li>
<li>
<img src="images/icon_04_07.png" alt="">
<p>超级巴士</p>
</li>
<li>
<img src="images/icon_04_01.png" alt="">
<p>攻略</p>
</li>
</ul>
</div>
<ul class="bottom">
<li><img src="images/icon_01.png" alt=""><p>下载APP</p></li>
<li><img src="images/icon_02.png" alt=""><P>我的订单</p></li>
<li><img src="images/icon_03.png" alt=""><P>我的</p></li>
</ul>
</div>
</body>
</html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
<style type="text/css">
* {
padding: 0;
margin: 0;
background-color: grey;
}
ul{
list-style: none;
}
.nav{
width: 750px;
margin: 0 auto -5px;
}
.main{
width: 750px;
margin: 0 auto;
}
.box{
height: 180px;
display: flex;
}
.box>.left{
height: 100%;
flex: 1;
color: white;
border: 2px solid white;
justify-content: space-around;
flex-wrap: wrap;
display: flex;
}
.box>.left>p{
width: 100%;
height: 50px;
line-height: 80px;
text-align: center;
}
.box>.left>img{
width: 50%;
height: 50%;
}
.box>.right{
height: 100%;
flex: 2;
border: 1px solid white;
}
.box>.right>ul{
display: flex;
flex-wrap: wrap;
}
.box>.right>ul>li{
width: 246px;
height: 89px;
border: 1px solid white;
color: white;
line-height: 100px;
text-align: center;
}
.red *{
background-color: #ff5555;
}
.bule *{
background-color: #00a7f7;
}
.green *{
background-color: #7cb832;
}
.white *{
background-color: #fff;
}
.yellow *{
background-color: #ff9900;
}
.yellow>ul{
display: flex;
text-align: center;
color: white;
line-height: 60px;
}
.yellow>ul>li{
border: 2px solid white;
flex: 1;
height: 60px;
}
.icon{
}
.icon>ul{
display: flex;
flex-wrap: wrap;
}
.icon>ul>li{
padding-top: 20px;
width: 185.5px;
height: 100px;
text-align: center;
line-height: 20px;
border: 1px solid white;
}
.bottom{
display: flex;
justify-content: space-around;
margin-top: 10px;
padding-top: 10px;
}
.bottom *{
background-color: white;
}
.bottom>li{
height: 100px;
flex: 1;
background-color: white;
text-align: center;
line-height: 30px;
}
</style>
</head>
<body>
<header class="nav">
<img src="images/header.png" alt="">
</header>
<div class="main">
<div class="box red">
<div class="left"><p>酒店</p><img src="images/hotel.png" alt=""></div>
<div class="right">
<ul>
<li>特惠酒店</li>
<li>海外酒店</li>
<li>客栈</li>
<li>民宿</li>
</ul>
</div>
</div>
<div class="box bule">
<div class="left"><p>机票</p><img src="images/flight.png" alt=""></div>
<div class="right">
<ul>
<li>低价机票</li>
<li>汽车票 船票</li>
<li>火车票</li>
<li>专车 自驾</li>
</ul>
</div>
</div>
<div class="box green">
<div class="left"><p>度假</p><img src="images/holiday.png" alt=""></div>
<div class="right">
<ul>
<li>景点 门票</li>
<li>旅游图购</li>
<li>自由行</li>
<li>周边 短途</li>
</ul>
</div>
</div>
<div class="yellow">
<ul>
<li>金融 理财</li>
<li>保险 车险</li>
<li>换外币</li>
</ul>
</div>
<div class="icon white">
<ul>
<li>
<img src="images/icon_04_01.png" alt="">
<p>签证 WIFI</p>
</li>
<li>
<img src="images/icon_04_02.png" alt="">
<p>出境游</p>
</li>
<li>
<img src="images/icon_04_03.png" alt="">
<p>一日游</p>
</li>
<li>
<img src="images/icon_04_04.png" alt="">
<p>美食林</p>
</li>
<li>
<img src="images/icon_04_05.png" alt="">
<p>汽车票</p>
</li>
<li>
<img src="images/icon_04_09.png" alt="">
<p>游轮游</p>
</li>
<li>
<img src="images/icon_04_07.png" alt="">
<p>超级巴士</p>
</li>
<li>
<img src="images/icon_04_01.png" alt="">
<p>攻略</p>
</li>
</ul>
</div>
<ul class="bottom">
<li><img src="images/icon_01.png" alt=""><p>下载APP</p></li>
<li><img src="images/icon_02.png" alt=""><P>我的订单</p></li>
<li><img src="images/icon_03.png" alt=""><P>我的</p></li>
</ul>
</div>
</body>
</html>