-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
553 lines (507 loc) · 29.7 KB
/
index.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
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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
<!--這一份html檔案,是整體layout的公版,保存了header和footer的部分版型-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Berserker Fittness</title>
<link rel="shortcut icon" href="img/favicon.png">
<meta name='description' content='雕塑你我的美妙身材' />
<link href="img/favicon.png" rel="apple-touch-icon" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta property="og:type" content="website" />
<meta property="og:image" content="img/bannerbackground.jpg" />
<link rel="stylesheet" href="css/css/all.css">
<link rel="stylesheet" href="css/all.min.css">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<script src="javascript/jquery-3.5.1.min.js"></script>
</head>
<body>
<!--練習開始-->
<div class="modal-open modal modal-cover-content" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" style="display:block;">
<div class="modal-dialog" role="document">
<div class="modal-content modal-cover-body">
<div class="modal-body p-0 d-flex align-items-center">
<div class="modal-cover-button mr-auto ml-auto bg-cover">
<p class="modal-origin-text h2">請點我</p>
<p class="text-center h1 modal-cover-text">恭喜你獲得 <br>折扣碼1202</p>
</div>
</div>
<div class="modal-footer p-0">
<button type="button" class="btn btn-lg btn-yl mr-auto ml-auto w-100 my-0 rounded-0 text-dark font-weight-bold">關閉視窗</button>
</div>
</div>
</div>
</div>
<div class="modal-backdrop fade show modal-cover-backdrop"></div>
<!--練習結束-->
<div class="container">
<div class="header">
<nav class="navbar navbar-expand-md navbar-light bg-yl">
<button class="navbar-toggler rwd-hamburger-btn" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation">
<a href="#"><i class="fas fa-bars"></i></a>
</button>
<a class="navbar-brand" href="index.html">
<img src="img/protectionshield.svg" width="50" height="50" class="d-inline-block" alt="">
<span class="d-none d-md-inline-block">Berserker Fittness</span>
</a>
<div class="collapse navbar-collapse" id="navbarText">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">首頁</a>
</li>
<li class="nav-item ml-4">
<a class="nav-link" href="lecture_page.html">課程</a>
</li>
<li class="nav-item ml-4">
<a class="nav-link" href="register_page.html">登入</a>
</li>
<li class="nav-item ml-4">
<div class="dropdown">
<button class="btn btn-secondary cart_btn" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-expanded="false">
<span class="badge bg-danger">2</span>
<i class="fas fa-shopping-cart text-dark"></i>
</button>
<div class="dropdown-menu product_list_dropdown p-0" aria-labelledby="dropdownMenuButton">
<div class="card rounded-0">
<h5 class="card-header">已選購商品</h5>
<div class="card-body p-0">
<table class="table productlist_table m-0">
<tbody>
<tr>
<th class="border-top-0" scope="row">
<a data-toggle="modal" data-target="#removeModal" data-whatever="手部訓練" href="#" class="text-light">
<i class="fas fa-trash-alt"></i>
</a>
</th>
<td class="border-top-0 w-50">
<img src="img/arm-train.jpg" class="bg-cover productlist_table_img" alt="">
<p class="m-0">手部訓練</p>
</td>
<td class="border-top-0" >x2</td>
<td class="border-top-0 w-25">NT$900</td>
</tr>
<tr>
<th class="border-top-0" scope="row">
<a href="#" data-toggle="modal" data-target="#removeModal" data-whatever="背部訓練" class="text-light">
<i class="fas fa-trash-alt"></i>
</a>
</th>
<td class="border-top-0">
<img src="img/back-train.jpg" class="bg-cover productlist_table_img" alt="">
<p class="m-0">背部訓練</p>
</td>
<td class="border-top-0">x3</td>
<td class="border-top-0">NT$1350</td>
</tr>
</tbody>
</table>
</div>
<div class="cart-footer">
<a href="cart_page1.html" class="btn btn-yl btn-lg w-100 rounded-0 font-weight-bold">結帳去</a>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="dropdown">
<button class="btn btn-secondary cart_btn rwd-cart-btn" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-expanded="false">
<span class="badge bg-danger">2</span>
<i class="fas fa-shopping-cart text-dark"></i>
</button>
<div class="dropdown-menu product_list_dropdown p-0" aria-labelledby="dropdownMenuButton">
<div class="card">
<h5 class="card-header">已選購商品</h5>
<div class="card-body p-0">
<table class="table productlist_table">
<tbody>
<tr>
<th class="border-top-0" scope="row">
<a href="#" data-toggle="modal" data-target="#removeModal" data-whatever="手部訓練" class="text-light">
<i class="fas fa-trash-alt"></i>
</a>
</th>
<td class="border-top-0 w-50">
<img src="img/arm-train.jpg" class="bg-cover productlist_table_img" alt="">
<p class="m-0">手部訓練</p>
</td>
<td class="border-top-0" >x2</td>
<td class="border-top-0 w-25">NT$900</td>
</tr>
<tr>
<th class="border-top-0" scope="row">
<a href="#" data-toggle="modal" data-target="#removeModal" data-whatever="背部訓練" class="text-light">
<i class="fas fa-trash-alt"></i>
</a>
</th>
<td class="border-top-0">
<img src="img/back-train.jpg" class="bg-cover productlist_table_img" alt="">
<p class="m-0">背部訓練</p>
</td>
<td class="border-top-0">x3</td>
<td class="border-top-0">NT$1350</td>
</tr>
</tbody>
</table>
</div>
<div class="cart-footer">
<a href="cart_page1.html" class="btn btn-yl btn-lg w-100 rounded-0 font-weight-bold">結帳去</a>
</div>
</div>
</div>
</div>
</nav>
<div class="banner" data-aos="fade-right" style="background-image: url('img/bannerbackground.jpg');">
<h2 class="banner-solgan">
想長肉--
<br>
<span>就是現在</span>
</h2>
</div>
</div>
<ul class="hide-nav list-unstyled collapse" id="navbarToggleExternalContent">
<li class="p-2">
<a href="index.html">首頁</a>
</li>
<li class="p-2">
<a href="lecture_page.html" >課程</a>
</li>
<li class="p-2">
<a href="register_page.html">登入</a>
</li>
</ul>
<div class="display_section">
<a class="special_lecture_btn" data-toggle="collapse" href="#specicallecuture" role="button" aria-expanded="false" aria-controls="specicallecuture">
<div class="display_section-cover"></div>
<span class="display-section-word">本日精選</span>
<div class="background-img" style="background-image: url('https://upload.cc/i1/2020/12/24/6CAbc3.jpg');"></div>
</a>
<a class="popular_lecture_btn" data-toggle="collapse" href="#popular_lecture" role="button" aria-expanded="false" aria-controls="popular_lecture">
<div class="display_section-cover"></div>
<span class="display-section-word">人氣課程</span>
<div class="background-img" style="background-image: url('https://upload.cc/i1/2020/12/24/z3nASm.jpg');"></div>
</a>
<a class="fancy_product_btn" data-toggle="collapse" href="#fancy_product" role="button" aria-expanded="false" aria-controls="fancy_product">
<div class="display_section-cover"></div>
<span class="display-section-word">精選產品</span>
<div class="background-img" style="background-image: url('https://upload.cc/i1/2020/12/24/Rxfch5.jpg');"></div>
</a>
</div>
</div>
<!--客製化頁面開始-->
<div class="container" id="accordion">
<div class="collapse special_lecture_section mt-3" id="specicallecuture" data-parent="#accordion">
<div class="row">
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/dead-lift.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 border border-dark">價格</li>
<li class="p-3 w-50 br-r br-b br-t">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/squat.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 border border-dark">價格</li>
<li class="p-3 w-50 br-r br-b br-t">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/back-train.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 br-l br-r br-b br-t">價格</li>
<li class="p-3 w-50 br-r br-t br-b">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
</div>
</div>
<div class="collapse popular_lecture_section mt-3" id="popular_lecture" data-parent="#accordion">
<div class="row">
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/popular_lecture_1.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 border border-dark">闊背訓練</li>
<li class="p-3 w-50 br-r br-b br-t">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/popular_img_2.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 border border-dark">腹肌訓練</li>
<li class="p-3 w-50 br-r br-b br-t">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/popular_lecture_3.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 border border-dark">二頭彎舉</li>
<li class="p-3 w-50 br-r br-b br-t">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
</div>
</div>
<div class="collapse fancy_product_section mt-3" id="fancy_product" data-parent="#accordion">
<div class="row">
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/salad-01.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 border border-dark">新鮮沙拉</li>
<li class="p-3 w-50 br-r br-b br-t">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/salad-02.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 border border-dark">高蛋白粉</li>
<li class="p-3 w-50 br-r br-b br-t">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0">
<div class="product-list-img" style="background-image: url('img/salad-03.jpg');"></div>
<ul class="d-flex text-center none_liststyle p-0 mb-0">
<li class="p-3 w-50 border border-dark">莓果組合</li>
<li class="p-3 w-50 br-r br-b br-t">450</li>
</ul>
<div class="card-footer p-0 border-0">
<a href="#" data-toggle="modal" data-target="#addModal" data-whatever="手部訓練" class="btn btn-yl w-100 rounded-0 display_btn border-0 p-3 font-weight-bold">
加入購物車
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content-slogon-horizon mt-4" data-aos="zoom-in">
<h2 class="font-weight-bold">為什麼-- <br>
<span>選擇了舉鐵?</span>
</h2>
</div>
<div class="container-fluid content mt-5">
<div class="content-section">
<div class="content-slogon" data-aos="zoom-in">
<h2 class="font-weight-bold">為什麼—— <br>
<span>選擇了舉鐵</span>
</h2>
</div>
<div class="content-paragraph">
<p class="first_paragraph">
舉鐵訓練是一種可以提高您肌肉量的訓練。
</p>
<p>
當舉鐵到一定程度時,除了可以變身成超級賽亞人,
還可以提高您的本身肌肉量,保護您的骨骼,
並且,可以提高您本身的基礎代謝率,可以讓你吃你想吃的甜點,也不會變胖。
</p>
</div>
<img class="content-img bg-cover" src="https://upload.cc/i1/2020/12/26/6rVkO0.jpg">
</div>
</div>
<div class="container-fluid content">
<div class="content-section-reverse">
<div class="content-paragraph">
<p class="first_paragraph">
舉鐵訓練是一種可以提高您肌肉量的訓練。
</p>
<p>
當舉鐵到一定程度時,除了可以變身成超級賽亞人,
還可以提高您的本身肌肉量,保護您的骨骼,
並且,可以提高您本身的基礎代謝率,可以讓你吃你想吃的甜點,也不會變胖。
</p>
</div>
<div class="content-slogon" data-aos="zoom-in">
<h2 class="font-weight-bold">為什麼-- <br>
<span>必須要做舉鐵</span>
</h2>
</div>
<img class="content-img" src="https://upload.cc/i1/2020/12/26/fBEUi5.jpg">
</div>
</div>
<div class="middle-section" data-aos="zoom-in">
<div class="middle-slogon">
想要舉鐵--<br>
<span>是不需要理由的。</span>
</div>
</div>
<div class="middle-section-horizon" data-aos="zoom-in">
<div class="middle-slogon">
想要舉鐵--<br>
<span>是不需要理由的。</span>
</div>
</div>
<!--客製化頁面結束-->
<footer>
<div class="container-fluid py-4 bg-yl">
<div class="container px-sm-5">
<div class="row">
<div class="col-12 mb-4 mb-md-0 col-md-6 d-flex align-items-center justify-content-md-start justify-content-sm-center justify-content-center">
<img src="img/protectionshield.svg" alt="logo圖片" class="footer-search-logo-img">
<span class="footer-search-logo-subscribe" >雕塑你我的美好身材</span>
</div>
<div class="col-12 col-md-6 footer-search-frame">
<div class="input-section">
<div class="input-icon"><i class="fas fa-envelope"></i></div>
<div class="input-content-section">
<input class="input-content" type="text">
</div>
</div>
<button class="input-button"><i class="fas fa-arrow-right"></i></button>
</div>
</div>
</div>
</div>
<div class="container-fluid py-4" style="background: #f0e9e9;">
<div class="container px-5">
<div class="row">
<div class="col-md-6">
<h2 class="footer-slogon-name">Berserker Fittness</h2>
<ul class="footer-company-contact none_liststyle p-0">
<li>07-1234-5678</li>
<li>
<a href="mailto:[email protected]" class="mail-option">[email protected]</a>
</li>
<li>800 高雄市新興區幸福路 520 號</li>
<li class="fanspage-link">
<a href="#" class="line-option" title="line粉絲團">
<i class="fab fa-line"></i>
</a>
<a href="#" class="facebook-option" title="facebook粉絲團">
<i class="fab fa-facebook-square"></i>
</a>
</li>
</ul>
</div>
<div class="col-md-6 d-none d-md-flex flex-column align-items-end">
<h3 class="footer-copyright-slogon m-0">今天是個-- <br> <span class="mt-2">舉鐵的好日子</span> </h3>
<p class="paragraph">© 2020 Sweetaste* All Rights Reserved</p>
</div>
</div>
</div>
</div>
</footer>
<!--Modal-->
<div class="modal fade" id="removeModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header bg-danger text-white">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-light text-dark" data-dismiss="modal">否</button>
<button type="button" class="btn btn-danger px-5">確定刪除</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body text-center">
加到購物車囉~
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
<script src="javascript/indexpage.js"></script>
<!--AOS的外掛檔案-->
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script>
AOS.init({
// Global settings:
disable: false, // accepts following values: 'phone', 'tablet', 'mobile', boolean, expression or function
startEvent: 'DOMContentLoaded', // name of the event dispatched on the document, that AOS should initialize on
initClassName: 'aos-init', // class applied after initialization
animatedClassName: 'aos-animate', // class applied on animation
useClassNames: false, // if true, will add content of `data-aos` as classes on scroll
disableMutationObserver: false, // disables automatic mutations' detections (advanced)
debounceDelay: 50, // the delay on debounce used while resizing window (advanced)
throttleDelay: 99, // the delay on throttle used while scrolling the page (advanced)
// Settings that can be overridden on per-element basis, by `data-aos-*` attributes:
offset: 120, // offset (in px) from the original trigger point
delay: 0, // values from 0 to 3000, with step 50ms
duration: 1000, // values from 0 to 3000, with step 50ms
easing: 'ease', // default easing for AOS animations
once: true, // whether animation should happen only once - while scrolling down
mirror: false, // whether elements should animate out while scrolling past them
anchorPlacement: 'top-bottom', // defines which position of the element regarding to window should trigger the animation
});
</script>
<script>
$('#removeModal').on('show.bs.modal', function(event){
let button = $(event.relatedTarget);
let content = button.data('whatever');
let modal = $(this);
modal.find('.modal-title').text(`確定要刪除 ${content} 課程嗎?`)
})
</script>
</body>
</html>