-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcart.html
More file actions
248 lines (248 loc) · 13.2 KB
/
cart.html
File metadata and controls
248 lines (248 loc) · 13.2 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cart</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css" />
<link rel="stylesheet" href="./assets/all.css" />
</head>
<body>
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light px-0">
<a class="navbar-brand" href="./index.html">Navbar</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-item nav-link me-4 active" href="./index.html">Home <span class="sr-only">(current)</span></a>
<a class="nav-item nav-link me-4" href="./product.html">Product</a>
<a class="nav-item nav-link me-4" href="./detail.html">Detail</a>
<a class="nav-item nav-link" href="./cart.html"><i class="bi bi-cart"></i></a>
</div>
</div>
</nav>
<div class="mt-3">
<h3 class="mt-3 mb-4">Lorem ipsum</h3>
<div class="row">
<div class="col-md-8">
<table class="table">
<thead>
<tr>
<th scope="col" class="border-0 ps-0">Lorem ipsum</th>
<th scope="col" class="border-0">Lorem ipsum</th>
<th scope="col" class="border-0">Lorem ipsum</th>
<th scope="col" class="border-0"></th>
</tr>
</thead>
<tbody>
<tr class="border-bottom border-top">
<th scope="row" class="border-0 px-0 font-weight-normal py-4">
<img src="https://images.unsplash.com/photo-1502743780242-f10d2ce370f3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1916&q=80" alt="" style="width: 72px; height: 72px; object-fit: cover;">
<p class="mb-0 fw-bold ms-3 d-inline-block">Lorem ipsum</p>
</th>
<td class="border-0 align-middle" style="max-width: 160px;">
<div class="input-group pe-5">
<div class="input-group-prepend">
<button class="btn btn-outline-dark border-0 py-2" type="button" id="button-addon1">
<i class="bi bi-dash"></i>
</button>
</div>
<input type="text" class="form-control border-0 text-center my-auto shadow-none" placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1" value="1">
<div class="input-group-append">
<button class="btn btn-outline-dark border-0 py-2" type="button" id="button-addon2">
<i class="bi bi-plus"></i>
</button>
</div>
</div>
</td>
<td class="border-0 align-middle"><p class="mb-0 ms-auto">NT$12,000</p></td>
<td class="border-0 align-middle"><i class="bi bi-x"></i></td>
</tr>
<tr class="border-bottom">
<th scope="row" class="border-0 px-0 font-weight-normal py-4">
<img src="https://images.unsplash.com/photo-1502743780242-f10d2ce370f3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1916&q=80" alt="" style="width: 72px; height: 72px; object-fit: cover;">
<p class="mb-0 fw-bold ms-3 d-inline-block">Lorem ipsum</p>
</th>
<td class="border-0 align-middle" style="max-width: 160px;">
<div class="input-group pe-5">
<div class="input-group-prepend">
<button class="btn btn-outline-dark border-0 py-2" type="button" id="button-addon1">
<i class="bi bi-dash"></i>
</button>
</div>
<input type="text" class="form-control border-0 text-center my-auto shadow-none" placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1" value="1">
<div class="input-group-append">
<button class="btn btn-outline-dark border-0 py-2" type="button" id="button-addon2">
<i class="bi bi-plus"></i>
</button>
</div>
</div>
</td>
<td class="border-0 align-middle"><p class="mb-0 ms-auto">NT$12,000</p></td>
<td class="border-0 align-middle"><i class="bi bi-x"></i></td>
</tr>
</tbody>
</table>
<div class="input-group w-50 mb-3">
<input type="text" class="form-control rounded-0 border-bottom border-top-0 border-start-0 border-end-0 shadow-none" placeholder="Coupon Code" aria-label="Recipient's username" aria-describedby="button-addon2">
<div class="input-group-append">
<button class="btn btn-outline-dark border-bottom border-top-0 border-start-0 border-end-0 rounded-0" type="button" id="button-addon2"><i class="bi bi-send"></i></button>
</div>
</div>
</div>
<div class="col-md-4">
<div class="border p-4 mb-4">
<h4 class="fw-bold mb-4">Order Detail</h4>
<table class="table text-muted border-bottom">
<tbody>
<tr>
<th scope="row" class="border-0 px-0 pt-4 font-weight-normal">Subtotal</th>
<td class="text-end border-0 px-0 pt-4">NT$24,000</td>
</tr>
<tr>
<th scope="row" class="border-0 px-0 pt-0 pb-4 font-weight-normal">Payment</th>
<td class="text-end border-0 px-0 pt-0 pb-4">ApplePay</td>
</tr>
</tbody>
</table>
<div class="d-flex justify-content-between mt-4">
<p class="mb-0 h4 fw-bold">Total</p>
<p class="mb-0 h4 fw-bold">NT$24,000</p>
</div>
<a href="./checkout.html"class="btn btn-dark w-100 mt-4">Lorem ipsum</a>
</div>
</div>
</div>
<div class="my-5">
<h3 class="fw-bold">Lorem ipsum dolor sit amet</h3>
<div class="swiper-container mt-4 mb-5">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="card border-0 mb-4 position-relative position-relative">
<img src="https://images.unsplash.com/photo-1490312278390-ab64016e0aa9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" class="card-img-top rounded-0" alt="...">
<a href="#" class="text-dark">
</a>
<div class="card-body p-0">
<h4 class="mb-0 mt-3"><a href="#">Lorem ipsum</a></h4>
<p class="card-text mb-0">NT$1,080 <span class="text-muted "><del>NT$1,200</del></span></p>
<p class="text-muted mt-3"></p>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="card border-0 mb-4 position-relative position-relative">
<img src="https://images.unsplash.com/photo-1490312278390-ab64016e0aa9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" class="card-img-top rounded-0" alt="...">
<a href="#" class="text-dark">
</a>
<div class="card-body p-0">
<h4 class="mb-0 mt-3"><a href="#">Lorem ipsum</a></h4>
<p class="card-text mb-0">NT$1,080 <span class="text-muted "><del>NT$1,200</del></span></p>
<p class="text-muted mt-3"></p>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="card border-0 mb-4 position-relative position-relative">
<img src="https://images.unsplash.com/photo-1490312278390-ab64016e0aa9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" class="card-img-top rounded-0" alt="...">
<a href="#" class="text-dark">
</a>
<div class="card-body p-0">
<h4 class="mb-0 mt-3"><a href="#">Lorem ipsum</a></h4>
<p class="card-text mb-0">NT$1,080 <span class="text-muted "><del>NT$1,200</del></span></p>
<p class="text-muted mt-3"></p>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="card border-0 mb-4 position-relative position-relative">
<img src="https://images.unsplash.com/photo-1490312278390-ab64016e0aa9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" class="card-img-top rounded-0" alt="...">
<a href="#" class="text-dark">
</a>
<div class="card-body p-0">
<h4 class="mb-0 mt-3"><a href="#">Lorem ipsum</a></h4>
<p class="card-text mb-0">NT$1,080 <span class="text-muted "><del>NT$1,200</del></span></p>
<p class="text-muted mt-3"></p>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="card border-0 mb-4 position-relative position-relative">
<img src="https://images.unsplash.com/photo-1490312278390-ab64016e0aa9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80" class="card-img-top rounded-0" alt="...">
<a href="#" class="text-dark">
</a>
<div class="card-body p-0">
<h4 class="mb-0 mt-3"><a href="#">Lorem ipsum</a></h4>
<p class="card-text mb-0">NT$1,080 <span class="text-muted "><del>NT$1,200</del></span></p>
<p class="text-muted mt-3"></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-light py-4">
<div class="container">
<div class="d-flex flex-column flex-md-row justify-content-between align-items-md-center align-items-start">
<p class="mb-0 fw-bold">Lorem ipsum dolor sit amet.</p>
<div class="input-group w-md-50 mt-md-0 mt-3">
<input type="text" class="form-control rounded-0" placeholder="" />
<div class="input-group-append">
<button class="btn btn-dark rounded-0" type="button" id="search">
Lorem ipsum
</button>
</div>
</div>
</div>
</div>
</div>
<div class="bg-dark py-5">
<div class="container">
<div class="d-flex align-items-center justify-content-between text-white mb-md-7 mb-4">
<a class="text-white h4" href="./index.html">LOGO</a>
<ul class="d-flex list-unstyled mb-0 h4">
<li><a href="#" class="text-white mx-3"><i class="bi bi-facebook"></i></a></li>
<li><a href="#" class="text-white mx-3"><i class="bi bi-instagram"></i></a></li>
<li><a href="#" class="text-white ms-3"><i class="bi bi-line"></i></a></li>
</ul>
</div>
<div class="d-flex flex-column flex-md-row justify-content-between align-items-md-end align-items-start text-white">
<div class="mb-md-0 mb-1">
<p class="mb-0">02-3456-7890</p>
<p class="mb-0">service@mail.com</p>
</div>
<p class="mb-0">© 2020 LOGO All Rights Reserved.</p>
</div>
</div>
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script>
var mySwiper = new Swiper ('.swiper-container', {
loop: true,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
slidesPerView: 2,
spaceBetween: 10,
breakpoints: {
767: {
slidesPerView: 3,
spaceBetween: 30
}
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
})
</script>
</html>