-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (83 loc) · 4.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>蔬菜比價網</title>
<!-- bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<!-- google icon -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<!-- css -->
<link rel="stylesheet" href="css/all.css">
</head>
<body>
<main class="bg py-4">
<div class="container">
<!-- logo -->
<figure class="mb-5">
<img src="./images/logo.jpg" alt="logo" class="img-fluid logo">
<img src="./images/logo-sm.jpg" alt="logo" class="img-fluid logo-sm">
</figure>
<!-- content -->
<div class="row bg-white p-5 content">
<!-- tag -->
<div class="d-flex justify-content-center algin-content-center mb-4 tagGroup">
<button type="button" data-category="N04" value="蔬果" class="btn border border-dark border-2 rounded px-5 py-2 fw-bold">蔬果</button>
<button type="button" data-category="N05" value="水果" class="btn border border-dark border-2 rounded px-5 py-2 fw-bold mx-2">水果</button>
<button type="button" data-category="N06" value="花卉" class="btn border border-dark border-2 rounded px-5 py-2 fw-bold">花卉</button>
</div>
<!-- 搜尋 -->
<form class="d-flex justify-content-center algin-content-center text-white mb-4">
<label for="search" class=" fw-bold d-flex align-items-center bg-success border border-success border-2 rounded ps-4 me-2">
作物名稱
<input class="form-control ms-4 pe-5 w-auto border-0 search-input" type="search" id="search" placeholder="請輸入作物名稱" aria-label="Search">
</label>
<button class="btn btn-success fw-bold px-5 search-btn" type="submit">搜尋
</button>
</form>
<!-- 下拉篩選 -->
<div class="d-flex align-items-center justify-content-between mb-4">
<p class="fw-bold m-0 search-message"></p>
<select class="form-select border-dark w-50 sortFilter" aria-label="Default select example">
<option value="排序篩選" disabled selected hidden>排序篩選</option>
<option value="上價">依上價排序</option>
<option value="中價">依中價排序</option>
<option value="下價">依下價排序</option>
<option value="平均價">依平均價排序</option>
<option value="交易量">依交易量排序</option>
</select>
</div>
<!-- 表格 -->
<div class="table-responsive filter-table">
<table class="table table-hover fw-bold">
<thead>
<tr>
<th scope="col">作物</th>
<th scope="col">市場</th>
<th scope="col">上價</th>
<th scope="col">中價</th>
<th scope="col">下價</th>
<th scope="col">平均價</th>
<th scope="col">交易量</th>
</tr>
</thead>
<tbody>
<tr class="text-center">
<th colspan="7" class="py-4">請輸入並搜尋想比價的作物名稱^_^</th>
</tr>
</tbody>
</div>
</div>
</div>
</main>
<!-- bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.1/dist/umd/popper.min.js" integrity="sha384-W8fXfP3gkOKtndU4JGtKDvXbO53Wy8SZCQHczT5FMiiqmQfUpWbYdTil/SxwZgAN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.min.js" integrity="sha384-skAcpIdS7UcVUC05LJ9Dxay8AXcDYfBJqt1CJ85S/CFujBsIzCIv+l9liuYLaMQ/" crossorigin="anonymous"></script>
<!-- aos -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.0.0/axios.min.js"></script>
<!-- js -->
<script src="./js/all.js"></script>
</body>
</html>