-
Notifications
You must be signed in to change notification settings - Fork 1
/
cart.html
409 lines (359 loc) · 13.3 KB
/
cart.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>喵物購物車</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/grid.css">
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/header_footer_rwd.css">
<link rel="stylesheet" href="css/cart.css">
<link rel="icon" href="img/favicon.ico.ico" type="image/x-icon"/>
</head>
<body>
<input type="checkbox" name="" id="nav_switch">
<header>
<div class="logo">
<a href="index.html">
<img src="img/logo2.png" alt="logo">
</a>
</div>
<ul class="nav_list">
<li class="about">
<a href="about.html">關於喵物</a>
</li>
<li class="products">
<a href="products.html">商品分類</a>
</li>
<li class="news">
<a href="news.html">最新消息</a>
</li>
<li class="faq">
<a href="qa.html">常見問題</a>
</li>
<li class="contact_us">
<a href="contact.html">聯絡我們</a>
</li>
</ul>
<div class="icons">
<div class="search">
<img src="img/searchicon.png" alt="search">
</div>
<div class="cart">
<a href="cart.html">
<img src="img/iconcart.png" alt="cart">
</a>
</div>
<div class="mem">
<a href="login.html">
<img src="img/iconuser.png" alt="mem">
</a>
</div>
</div>
<!-- --------漢堡------- -->
<label for="nav_switch" class="hb">
<span></span>
<span></span>
<span></span>
</label>
</header>
<!-- --------手機導覽列--------- -->
<nav class="nav_m">
<a href="about.html">關於喵物</a>
<a href="products.html">商品分類</a>
<a href="news.html">最新消息</a>
<a href="qa.html">常見問題</a>
<a href="contact.html">聯絡我們</a>
</nav>
<!-- -----------最上方-------- -->
<div class="nav_bg">
<div class="nav">
<div class="buywhat">
<p>購物車內容</p>
</div>
<div class="point">
<img src="img/point.png" alt="箭頭">
</div>
<div class="point_m">
<img src="img/point_m.png" alt="箭頭手機版">
</div>
<div class="info">
<p>填寫訂單資訊</p>
</div>
<div class="point">
<img src="img/point.png" alt="箭頭">
</div>
<div class="point_m">
<img src="img/point_m.png" alt="箭頭手機版">
</div>
<div class="done">
<p>訂單確認</p>
</div>
</div>
<!-- -----------購物車內容--------- -->
<div class="cart">
<div class="cart_nav">
<p>購物車明細</p>
</div>
<!-- -------購物車格線系統--------- -->
<div class="container cart_main">
<div class="row row-cols-6 row-cols-md-2 row-cols-lg-3 row-cols-xl-6 items">
<!-- <div class="col all">
<p>全選</p>
</div> -->
<div class="col pd_name">
<p>商品資訊</p>
</div>
<div class="col count">
<p>數量</p>
</div>
<div class="col price">
<p>單件價格</p>
</div>
<div class="col total">
<p>小計</p>
</div>
<div class="col cancel">
<p>刪除</p>
</div>
</div>
<!-- -----第一個商品---- -->
<div class="row row-cols-6 row-cols-md-2 row-cols-lg-3 row-cols-xl-6 dtls">
<!-- <div class="col checkbox">
<input type="checkbox" name="checkbox1" id="checkbox1">
<label for="checkbox1"></label>
</div> -->
<div class="col pd_info">
<div class="pd_pic">
<img src="img/cart_pdpic.png" alt="商品圖">
<p class="pd_name1">鱸魚雞主食罐</p>
</div>
</div>
<div class="col count1">
<button class="minus" id="minus1">-</button>
<input type="text" class="numberbox" id="count1" value="1"></input>
<button class="plus" id="plus1">+</button>
</div>
<!-- 單價 -->
<div class="col price1">
NT$<span id="product-price1">65</span>
</div>
<!-- 小計 -->
<div class="col total1" id="total1">
NT$<span id="subtotal1"></span>
</div>
<div class="col cancel_btn">
<button class="cancel1 delete" value="">X</button>
</div>
</div>
<!-- ----第二個商品---- -->
<div class="row row-cols-6 row-cols-md-2 row-cols-lg-3 row-cols-xl-6 dtls">
<!-- <div class="col checkbox">
<input type="checkbox" name="checkbox2" id="checkbox2">
<label for="checkbox2"></label>
</div> -->
<div class="col pd_info">
<div class="pd_pic">
<img src="img/cart_pdpic.png" alt="商品圖">
<p class="pd_name1">營養鮭魚主食罐</p>
</div>
</div>
<div class="col count2">
<button class="minus" id="minus2">-</button>
<input type="text" class="numberbox" id="count2" value="1"></input>
<button class="plus" id="plus2">+</button>
</div>
<!-- 單價 -->
<div class="col price2">
NT$<span id="product-price2">65</span>
</div>
<!-- 小計 -->
<div class="col total2" id="total2">
NT$<span id="subtotal2"></span>
</div>
<div class="col cancel_btn">
<button class="cancel2 delete" value="">X</button>
</div>
</div>
<!-- ------合計----- -->
<div class="total_wrap">
<div class="total3">
<div class="total_txt">
<p>合計</p>
</div>
<div class="total_price" id="total2">
NT$<span id="total-price"></span>
</div>
</div>
</div>
</div>
<!-- ----------加購品------------- -->
<div class="main_add">
<div class="add_item">
<div class="add_txt">
<p>人氣加購品</p>
</div>
</div>
<div class="add_pds">
<div class="pd_card">
<a href="products_info.html">
<div class="pd_img">
<img src="img/panda.png" alt="加購品圖一">
</div>
<div class="pd_tdl">
<p class="name">Maowoo 熊貓玩具</p>
<p class="price">NT$129</p>
</div>
</a>
<button>加入購物車</button>
</div>
<div class="pd_card">
<a href="products_info.html">
<div class="pd_img">
<img src="img/monkey.png" alt="加購品圖二">
</div>
<div class="pd_tdl">
<p class="name">Maowoo 猩猩玩具</p>
<p class="price">NT$129</p>
</div>
</a>
<button>加入購物車</button>
</div>
<div class="pd_card">
<a href="products_info.html">
<div class="pd_img">
<img src="img/lion.png" alt="加購品圖三">
</div>
<div class="pd_tdl">
<p class="name">Maowoo 獅子玩具</p>
<p class="price">NT$129</p>
</div>
</a>
<button>加入購物車</button>
</div>
</div>
<div class="rp_button">
<a href="products_food.html">
<input type="button" class="but_read_more" value="查看更多商品 >">
</a>
</div>
</div>
<!-- ---------訂單內容---------- -->
<div class="order_info">
<div class="way">
<div class="way_title">
<p>選擇配送方式及付款方式</p>
</div>
<div class="way_del">
<p>配送方式</p>
<select name="" id="delivery">
<option value="超商取貨">超商取貨</option>
<option value="新竹物流">新竹物流</option>
<option value="實體門市取件">實體門市取件</option>
</select>
</div>
<div class="way_pay">
<p>付款方式</p>
<select name="" id="pay">
<option value="超商取貨付款">超商取貨付款</option>
<option value="信用卡付款">信用卡付款</option>
<option value="匯款轉帳">匯款轉帳</option>
</select>
</div>
<div class="attention">
<ul class="att_list">
<li><p>超商取貨訂單:下單日隔日安排出貨(例假日除外)出貨後約2-3日會配達指定門市,<br>商品配達門市後系統會發送簡訊通知,請於取貨期限內完成取件</p></li>
<li><p>若未收到取貨簡訊,請確認手機電信公司是否有開啟阻擋廣告簡訊功能或手機號碼輸入是否正確,<br>以避免逾期未取的狀況(單次逾期未取即會紀錄,並加入會員黑名單)</p></li>
<li><p>宅配訂單:下單日隔日安排出貨(例假日除外)配送時程依照物流安排為主,<br>若需急件請先聯繫客服為您確認</p></li>
<li><p>若收到商品時外包裝有損壞,請錄影存留,並請於第一時間聯繫客服</p></li>
<li><p>若有任何疑問請盡快聯繫我們!謝謝</p></li>
</ul>
</div>
</div>
<div class="order_dtl">
<div class="order_title">
<p>訂單資訊</p>
</div>
<div class="order_money">
<div class="money1">
<p>小計</p>
<p class="p2">NT$195</p>
</div>
<div class="bonus">
<p>折抵購物金</p>
<p class="p2">-NT$50</p>
</div>
<!-- <div class="use">
<input type="number" id="bonus_use">
<input type="button" class="enter" value="確定">
</div> -->
<div class="fare">
<p>運費</p>
<p class="p2">NT$55</p>
</div>
<div class="order_total">
<p>合計總金額</p>
<p class="p2">NT$200</p>
</div>
<div class="end_money">
<input type="button" id="end_m" value="結帳">
</div>
</div>
</div>
</div>
</div>
<!-- ------回到頁首---- -->
<div class="btt">
<a href="">
<p>回到<br>頁首</p>
<img src="img/catgandwhite.png" alt="貓掌圖回到頁首">
</a>
</div>
<!-- -----頁尾---- -->
<footer>
<div class="contact">
<div class="ct_title">
<p>聯絡我們</p>
<hr>
</div>
<div class="ct_dtl">
<p>
營業時間:周一至周六 10:00-18:00<br>
客服電話:02-2498-1764<br>
E-mail: tiffany1029tw@gmail.com<br>
</p>
</div>
</div>
<div class="follow">
<div class="fw_title">
<p>追蹤我們</p>
<hr>
</div>
<div class="fw_icons">
<div class="ig_icon">
<a href="https://www.instagram.com/mii_fen/">
<img src="img/ig_icon.png" alt="ig_icon">
</a>
</div>
<div class="line_icon">
<a href="">
<img src="img/line_icon.png" alt="line_icon">
</a>
</div>
</div>
<div class="fw_tdl">
<p>MaoWoo 喵物 © 宇桂米股份有限公司<br>
統編 82102901<br></p>
</div>
</div>
<div class="end">
<p>本網站為緯育TibaMe前端工程師班第88期學員專題作品,<br>本平台僅供學習、展示用。</p>
</div>
</footer>
<script src="javascript/cart.js"></script>
</body>
</html>