<!DOCTYPE html> <html lang="zh-CN"> <head> <!--设置编码--> <meta charset="utf-8"> <!--设置ie的支持--> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--视口≈窗口 窗口的宽度是device-width设备的宽度,initial-scale缩放比例1:1--> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! --> <!--标题标签--> <title>Bootstrap 101 Template</title> <!-- Bootstrap --> <!--link定义文档与外部资源的关系。最常见的用途是:链接样式表。--> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询(media queries)功能 --> <!-- 警告:通过 file:// 协议(就是直接将 html 页面拖拽到浏览器中)访问页面时 Respond.js 不起作用 --> <!--[if lt IE 9]> <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script> <![endif]--> <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery,所以必须放在前边) --> <script src="js/jquery-3.2.1.min.js"></script> <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 --> <script src="js/bootstrap.min.js"></script> <style> .paddtop { padding-top: 10px; } .search-btn { float: left; border: 1px solid #ffc900; width: 90px; height: 35px; background-color: #ffc900; text-align: center; /*文本居中*/ line-height: 35px; /*垂直居中,设置和高度一样*/ margin-top: 15px; } .search-input { float: left; border: 2px solid #ffc900; width: 400px; height: 35px; padding-left: 5px; margin-top: 15px; } .jx{ border-bottom: 2px solid #ffc900; padding: 5px; } .company{ height: 40px; background-color: #ffc900; text-align: center; /*文本居中*/ line-height: 40px; /*垂直居中,设置和高度一样*/ font-size: 8px; } </style> </head> <body> <!--1.页眉--> <header class="container-fluid"> <!--标题图片--> <div class="row"> <img src="img/top_banner.jpg" class="img-responsive"> </div> <!--搜索栏--> <div class="row" paddtop> <div class="col-md-3"> <img src="img/logo.jpg" class="img-responsive"> </div> <div class="col-md-5"> <input class="search-input" type="text" placeholder="请输入线路名称"> <a class="search-btn" href="#">搜索</a> </div> <div class="col-md-4"> <img src="img/hotel_tel.png" class="img-responsive"> </div> </div> <!--导航栏--> <div class="row"> <nav class="navbar navbar-default"><!--黑色inverse--> <div class="container-fluid"> <!--汉堡按钮--> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <!--定义按钮上的线--> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <!--放logo、首页的--> <a class="navbar-brand" href="#">首页</a> </div> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <!--下拉列表--> </ul> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav> </div> <!--轮播图--> <div class="row"> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> <!-- Wrapper for slides --> <div class="carousel-inner" role="listbox"> <div class="item active"> <img src="img/banner_1.jpg" width="100%"> </div> <div class="item"> <img src="img/banner_2.jpg" width="100%"> </div> <div class="item"> <img src="img/banner_3.jpg" width="100%"> </div> </div> <!-- Controls --> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </div> </header> <!--2.主体--> <div class="container"> <div class="row jx"> <img src="img/icon_5.jpg" alt=""> <span>黑马精选</span> </div> <div class="row paddtop"> <div class="col-md-3"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> <div class="col-md-3"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> <div class="col-md-3"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> <div class="col-md-3"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> </div> <div class="row jx"> <img src="img/icon_6.jpg" alt=""> <span>国内游</span> </div> <div class="row paddtop"> <div class="col-md-4"> <img src="img/guonei_1.jpg" alt=""> </div> <div class="col-md-8"> <div class="row"> <div class="col-md-4"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> <div class="col-md-4"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> <div class="col-md-4"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> </div> <div class="row"> <div class="col-md-4"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> <div class="col-md-4"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> <div class="col-md-4"> <div class="thumbnail"> <img src="img/jiangxuan_3.jpg"> <p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲游首选+豪华酒店任选+接送机)</p> <font color="red">888</font> </div> </div> </div> </div> </div> </div> <!--3.页脚--> <footer class="container-fluid"> <div class="row"> <img class="img-responsive" src="img/footer_service.png" alt=""> </div> <div class="row company"> <span>江苏传智播客教育科技股份有限公司 版权所有Copyright 2006-2018, All Rights Reserved 苏ICP备16007882</span> </div> </footer> </body> </html>