06-demo:旅游网首页

效果图:

效果图:
Bootstrap框架使用及可视化布局demo

源码 - 初版:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>炎黄子孙旅游网</title>
<link href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/bootstrap/js/jquery-3.5.1.min.js"></script>
<script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
<style>
body {
width: 100%;
margin-left: auto;
margin-right: auto;
}

.container-fluid {
padding: 0;
}

/* 图片随窗口大小变化自动伸缩 */
#top_banner {
width: 100%;
height: auto;
}

hr {
margin-top: 5px;
}

.price {
color: orange;
}
/* 需要两边留白且居中的主体内容 */
.content {
width: 80%;
}

.thumbnail {
padding: 0;
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<%--顶部banner--%>
<img id="top_banner" src="image/top_banner.jpg" alt="top-banner"/>
<%--导航条--%>
<nav class="navbar navbar-default">
<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>
<a style="color: orange; margin-left: 10px" class="navbar-brand" href="#">炎黄子孙旅游网</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="#">名胜 <span class="sr-only">(current)</span></a></li>
<li><a href="#">古迹</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false">各地景区 <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">郑州</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">开封</a></li>
<li><a href="#">洛阳</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">南阳</a></li>
<li><a href="#">驻马店</a></li>
<li><a href="#">平顶山</a></li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-left">
<div class="form-group">
<input type="text" class="form-control" placeholder="地区或景点名称">
</div>
<button type="submit" class="btn btn-default">搜索</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">关于我们</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false">个人中心 <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">我的足迹</a></li>
<li><a href="#">我的旅记</a></li>
<li><a href="#">我的相册</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">退出</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<%--轮播图--%>
<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="image/banner_1.jpg" alt="轮播图1">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="image/banner_2.jpg" alt="轮播图2">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="image/banner_3.jpg" alt="轮播图3">
<div class="carousel-caption">
...
</div>
</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">上一张</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">下一张</span>
</a>
</div>
</div>
</div>
</div>
<div class="content container-fluid">
<div class="mod_title row-fluid">
<div class="span12">
<%--栏目标题--%>
<div style="margin-top: 20px">
<div>
<img src="image/icon_5.jpg" alt="">旅游精选
</div>
<hr/>
</div>
<%--栏目内容 2x4--%>
<div class="row-fluid">
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<span class="price">$699</span>
<a href="#" class="btn btn-warning" role="button" style="margin-left: 50%">预定</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<span class="price">$699</span>
<a href="#" class="btn btn-warning" role="button" style="margin-left: 50%">预定</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<span class="price">$699</span>
<a href="#" class="btn btn-warning" role="button" style="margin-left: 50%">预定</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<span class="price">$699</span>
<a href="#" class="btn btn-warning" role="button" style="margin-left: 50%">预定</a>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<span class="price">$699</span>
<a href="#" class="btn btn-warning" role="button" style="margin-left: 50%">预定</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<span class="price">$699</span>
<a href="#" class="btn btn-warning" role="button" style="margin-left: 50%">预定</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<span class="price">$699</span>
<a href="#" class="btn btn-warning" role="button" style="margin-left: 50%">预定</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<span class="price">$699</span>
<a href="#" class="btn btn-warning" role="button" style="margin-left: 50%">预定</a>
</div>
</div>
</div>
</div>
<%--分页栏--%>
<div align="center">
<nav aria-label="Page navigation">
<ul class="pagination">
<li>
<a href="#" aria-label="Previous">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li>
<a href="#" aria-label="Next">
<span aria-hidden="true">&raquo;</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<%--栏目标题--%>
<div>
<div>
<img src="image/icon_6.jpg" alt="">人气推荐
</div>
<hr/>
</div>
<%--栏目内容 1 + 2x3--%>
<div class="row-fluid">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" style="width: 30%">
<img style="width: 300px; height: 445px;" src="image/guonei_1.jpg" alt="特卖">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" style="width: 70%; padding: 0">
<div class="row-fluid">
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_1.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游)</p>
<span class="price">$699</span>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_2.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游)</p>
<span class="price">$699</span>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游)</p>
<span class="price">$699</span>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_4.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游)</p>
<span class="price">$699</span>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_5.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游)</p>
<span class="price">$699</span>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
<div class="thumbnail">
<img src="image/jingxuan_6.jpg" alt="精选1">
<div class="caption">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游)</p>
<span class="price">$699</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid" style="background-color: #383838; width: 100%; height: 100px;">
<div class="content container-fluid">
<div class="row-fluid">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12" style="margin-top: 20px;">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" style="width: 25%;">
<img src="image/icon_1.jpg">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"
style="width: 75%; color: white; font-family: 'Microsoft YaHei UI'; ">
<span style="font-size: 20px"><b>产品齐全</b></span>
<p style="color: gray; padding-top: 0px">产品全自主选,随心买</p>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12" style="margin-top: 20px;">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" style="width: 25%;">
<img src="image/icon_1.jpg">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"
style="width: 75%; color: white; font-family: 'Microsoft YaHei UI'; ">
<span style="font-size: 20px"><b>便利快捷</b></span>
<p style="color: gray; padding-top: 0px">产品全自主选,随心买</p>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12" style="margin-top: 20px;">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" style="width: 25%;">
<img src="image/icon_1.jpg">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"
style="width: 75%; color: white; font-family: 'Microsoft YaHei UI'; ">
<span style="font-size: 20px"><b>安全支付</b></span>
<p style="color: gray; padding-top: 0px">产品全自主选,随心买</p>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12" style="margin-top: 20px;">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6" style="width: 25%;">
<img src="image/icon_1.jpg">
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"
style="width: 75%; color: white; font-family: 'Microsoft YaHei UI'; ">
<span style="font-size: 20px"><b>贴心服务</b></span>
<p style="color: gray; padding-top: 0px">产品全自主选,随心买</p>
</div>
</div>
</div>
</div>
</div>

</body>
</html>

源码 - 优化:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>炎黄旅游网</title>
<link href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/bootstrap/js/jquery-3.5.1.min.js"></script>
<script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
<style>
#top_banner {
width: 100%;
}

.jx {
margin-top: 20px;
border-bottom: 1px solid orange;
padding-bottom: 5px;
margin-bottom: 20px;
}

.footer img{
width: 100%;
}
</style>
</head>
<body>
<%--页眉--%>
<div class="container-fluid">
<%--顶部广告图:处理宽度跟随浏览器宽度即 width:100%--%>
<div class="row">
<img src="image/top_banner.jpg" id="top_banner">
</div>
<%--导航条:处理默认自带的底部外边距20px为0px--%>
<div class="row">
<nav class="navbar navbar-default" style="margin-bottom: 0px;">
<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>
<a style="color: orange;" class="navbar-brand" href="#">炎黄子孙旅游网</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="#">名胜 <span class="sr-only">(current)</span></a></li>
<li><a href="#">古迹</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false">各地景区 <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">郑州</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">开封</a></li>
<li><a href="#">洛阳</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">南阳</a></li>
<li><a href="#">驻马店</a></li>
<li><a href="#">平顶山</a></li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-left">
<div class="form-group">
<input type="text" class="form-control" placeholder="地区或景点名称">
</div>
<button type="submit" class="btn btn-default">搜索</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">关于我们</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false">个人中心 <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">我的足迹</a></li>
<li><a href="#">我的相册</a></li>
<li><a href="#">我的订单</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">退出</a></li>
</ul>
</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="image/banner_1.jpg" alt="轮播图1">
</div>
<div class="item">
<img src="image/banner_2.jpg" alt="轮播图2">
</div>
<div class="item">
<img src="image/banner_3.jpg" alt="轮播图3">
</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">上一张</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">下一张</span>
</a>
</div>
</div>
</div>
<%--主体--%>
<div class="container">
<div class="row jx">
<img src="image/icon_5.jpg">旅游精选
</div>
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="thumbnail">
<img src="image/jingxuan_3.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>

</div>

<div class="row jx">
<img src="image/icon_6.jpg">人气推荐
</div>
<div class="row">
<%--左边占三分之一即 4 列--%>
<div class="col-md-4">
<%--thumbnail:边框--%>
<div class="thumbnail">
<img src="image/guonei_1.jpg">
</div>
</div>
<%--右边占三分之一即 8 列--%>
<div class="col-md-8">
<div class="row">
<div class="col-lg-4 col-md-12">
<div class="thumbnail">
<img src="image/jingxuan_4.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-4 col-md-12">
<div class="thumbnail">
<img src="image/jingxuan_4.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-4 col-md-12">
<div class="thumbnail">
<img src="image/jingxuan_4.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-md-12">
<div class="thumbnail">
<img src="image/jingxuan_4.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-4 col-md-12">
<div class="thumbnail">
<img src="image/jingxuan_4.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
<div class="col-lg-4 col-md-12">
<div class="thumbnail">
<img src="image/jingxuan_4.jpg">
<p>上海直飞三亚5天4晚自由行(春节预售+亲子/蜜月/休闲旅游首选+豪华酒店任选+机场酒店免费接送)</p>
<font color="orange">$699</font>
</div>
</div>
</div>
</div>
</div>
</div>
<%--页脚--%>
<div class="container-fluid footer">
<div class="row">
<img src="image/footer_service.png">
</div>
</div>
</body>
</html>

06-demo:旅游网首页
https://janycode.github.io/2018/05/13/04_网页技术/07_Bootstrap/06-demo:旅游网首页/
作者
Jerry(姜源)
发布于
2018年5月13日
许可协议