-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
371 lines (358 loc) · 15.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ALPHA Shop</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<div id="svg-icons-container" style="display: none;"></div>
<!-- header -->
<header class="site-header">
<div class="header-container mx-auto">
<!-- navbar-toggle -->
<input id="navbar-toggle" class="navbar-toggle" type="checkbox" />
<label for="navbar-toggle" class="burger-container">
<object data="./public/icons/toggle.svg" class="icon-toggle cursor-point"></object>
</label>
<!-- navbar-menu -->
<nav class="navbar-menu">
<ul class="nav-list site-menu-list mr-auto">
<li class="nav-item">
<a class="nav-link" href="#">男款</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">女款</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">最新消息</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">客製商品</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">聯絡我們</a>
</li>
</ul>
<ul class="nav-list site-action-list">
<!-- search -->
<li class="nav-item">
<object data="./public/icons/search.svg" class="nav-icon cursor-point" type="image/svg+xml">
</object>
</li>
<!-- cart -->
<li class="nav-item">
<object data="./public/icons/cart.svg" class="nav-icon cursor-point" type="image/svg+xml">
</object>
</li>
<li id="theme-toggle" class="nav-item">
<!-- moon -->
<object data="./public/icons/moon.svg" class="nav-icon cursor-point">
</object>
<!-- sun -->
<!-- <object data="./public/icons/sun.svg" class="nav-icon cursor-point">
</object> -->
</li>
</ul>
</nav>
<!-- logo -->
<a class="header-logo-container" href="#">
<img src="./public/icons/logo.svg" class="cursor-point"/>
</a>
</div>
</header>
<!-- main -->
<main class="site-main">
<div class="main-container">
<!-- register -->
<section class="register-container col col-lg-6 col-sm-12" data-phase="1" data-total-price="0">
<!-- register-title -->
<h2 class="register-title col col-12">結帳</h2>
<!-- register-progress -->
<section class="progress-container col col-12">
<span class="progress-group" data-phase="address">
<span class="progress-icon">
<span class="text">1</span>
</span>
<span class="progress-label">寄送地址</span>
</span>
<span class="progress-bar" data-order="1"></span>
<span class="progress-group" data-phase="shipping">
<span class="progress-icon">
<span class="text">2</span>
</span>
<span class="progress-label">運送方式</span>
</span>
<span class="progress-bar" data-order="2"></span>
<span class="progress-group" data-phase="credit-card">
<span class="progress-icon">
<span class="text">3</span>
</span>
<span class="progress-label">付款資訊</span>
</span>
</section>
<!-- register-form -->
<section class="form-container col col-12">
<!-- address phase -->
<form class="col col-12" data-phase="address">
<h3 class="form-title">寄送地址</h3>
<section class="form-body col col-12">
<div class="col col-12">
<div class="input-group input-w-lg-2 input-w-sm-s1">
<div class="input-label">稱謂</div>
<div class="select-container">
<select>
<option value="mr" selected>先生</option>
<option value="ms">女士</option>
<option value="mx">不明</option>
</select>
</div>
</div>
<div class="input-group input-w-lg-4 input-w-sm-s2">
<div class="input-label">姓名</div>
<input type="text" placeholder="請輸入姓名" />
</div>
</div>
<div class="col col-12">
<div class="input-group input-w-lg-3 input-w-sm-full">
<div class="input-label">電話</div>
<input type="tel" placeholder="請輸入行動電話" />
</div>
<div class="input-group input-w-lg-3 input-w-sm-full">
<div class="input-label">Email</div>
<input type="email" placeholder="請輸入電子郵件" />
</div>
</div>
<div class="col col-12">
<div class="input-group input-w-lg-2 input-w-sm-full">
<div class="input-label">縣市</div>
<div class="select-container">
<select required>
<option value="">請選擇縣市</option>
<option value="KLU">基隆市</option>
<option value="TPH">新北市</option>
<option value="TPE">臺北市</option>
<option value="TYC">桃園市</option>
<option value="HSH">新竹縣</option>
<option value="HSC">新竹市</option>
<option value="MAC">苗栗市</option>
<option value="MAL">苗栗縣</option>
<option value="TXG">臺中市</option>
<option value="CWH">彰化縣</option>
<option value="CWS">彰化市</option>
<option value="NTC">南投市</option>
<option value="NTO">南投縣</option>
<option value="YLH">雲林縣</option>
<option value="CHY">嘉義縣</option>
<option value="CYI">嘉義市</option>
<option value="TNN">臺南市</option>
<option value="KHH">高雄市</option>
<option value="IUH">屏東縣</option>
<option value="PTS">屏東市</option>
<option value="ILN">宜蘭縣</option>
<option value="ILC">宜蘭市</option>
<option value="HWA">花蓮縣</option>
<option value="HWC">花蓮市</option>
<option value="TTC">臺東市</option>
<option value="TTT">臺東縣</option>
<option value="PEH">澎湖縣</option>
<option value="KMN">金門縣</option>
<option value="LNN">連江縣</option>
</select>
</div>
</div>
<div class="input-group input-w-lg-4 input-w-sm-full">
<div class="input-label">地址</div>
<input type="text" placeholder="請輸入地址" />
</div>
</div>
</section>
</form>
<!-- shipping phase -->
<form class="col col-12" data-phase="shipping">
<h3 class="form-title">運送方式</h3>
<section class="form-body col col-12">
<label class="radio-group col col-12" data-price="0">
<input id="shipping-standard" type="radio" name="shipping" checked/>
<div class="radio-info">
<div class="col col-12">
<div class="text">標準運送</div>
<div class="price"></div>
</div>
<div class="period col col-12">約 3~7 個工作天</div>
</div>
<div class="radio-box-border"></div>
</label>
<label class="radio-group col col-12" data-price="500">
<input id="shipping-dhl" type="radio" name="shipping" />
<div class="radio-info">
<div class="col col-12">
<div class="text">DHL 貨運</div>
<div class="price"></div>
</div>
<div class="period col col-12">48 小時內送達</div>
</div>
<div class="radio-box-border"></div>
</label>
</section>
</form>
<!-- credit-card phase -->
<form class="col col-12" data-phase="credit-card">
<h3 class="form-title">付款資訊</h3>
<section class="form-body col col-12">
<div class="col col-12">
<div class="input-group input-w-lg-4 input-w-sm-full">
<div class="input-label">持卡人姓名</div>
<input type="text" placeholder="John Doe" />
</div>
</div>
<div class="col col-12">
<div class="input-group input-w-lg-4 input-w-sm-full">
<div class="input-label">卡號</div>
<input type="text" placeholder="1111 2222 3333 4444" />
</div>
</div>
<div class="col col-12">
<div class="input-group input-w-lg-3 input-w-sm-s3">
<div class="input-label">有效期限</div>
<input type="text" placeholder="MM/YY" />
</div>
<div class="input-group input-w-lg-3 input-w-sm-s3">
<div class="input-label">CVC / CCV</div>
<input type="text" placeholder="123" />
</div>
</div>
</section>
</form>
</section>
</section>
<!-- cart -->
<section class="cart-container col col-lg-5 col-sm-12">
<h3 class="cart-title">購物籃</h3>
<section class="product-list col col-12" data-total-price="0">
<div class="product-container col col-12" data-count="0" data-price="3999">
<img class="img-container"src="./public/images/product-1.jpg" />
<div class="product-info">
<div class="product-name">破壞補丁修身牛仔褲</div>
<div class="product-control-container">
<div class="product-control">
<object class="product-action minus" data="./public/icons/minus.svg"></object>
</svg>
<span class="product-count">0</span>
<object class="product-action minus" data="./public/icons/plus.svg"></object>
</div>
</div>
<div class="price">$0</div>
</div>
</div>
<div class="product-container col col-12" data-count="0" data-price="1299">
<img class="img-container" src="./public/images/product-2.jpg" />
<div class="product-info">
<div class="product-name">刷色直筒牛仔褲</div>
<div class="product-control-container">
<div class="product-control">
<object class="product-action minus" data="./public/icons/minus.svg"></object>
</svg>
<span class="product-count">0</span>
<object class="product-action minus" data="./public/icons/plus.svg"></object>
</div>
</div>
<div class="price">$0</div>
</div>
</div>
</section>
<section class="cart-info shipping col col-12">
<div class="text">運費</div>
<div class="price">免費</div>
</section>
<section class="cart-info total col col-12">
<div class="text">小計</div>
<div class="price">$0</div>
</section>
</section>
<!-- progress-control -->
<section class="progress-control-container col col-lg-6 col-sm-12">
<section class="button-group col col-12" data-phase="address">
<button class="next">
下一步
<object data="./public/icons/right-arrow.svg" class="cursor-point">
</object>
</button>
</section>
<section class="button-group col col-12" data-phase="shipping">
<button class="prev">
<object data="./public/icons/left-arrow.svg" class="cursor-point">
</object>
上一步
</button>
<button class="next">
下一步
<object data="./public/icons/right-arrow.svg" class="cursor-point">
</object>
</button>
</section>
<section class="button-group col col-12" data-phase="credit-card">
<button class="prev">
<object data="./public/icons/left-arrow.svg" class="cursor-point">
</object>
上一步
</button>
<button class="next">
確認下單
</button>
</section>
</section>
</div>
</main>
<!-- footer -->
<footer class="site-footer">
<div class="footer-container">
<section class="footer-section">
<div class="footer-logo-container">
<img src="./public/icons/logo.svg" class="cursor-point"/>
</div>
</section>
<section class="footer-section">
<h2 class="section-title">客戶服務</h2>
<div class="section-content">
<a class="page-link" href="#">運送說明</a>
<a class="page-link" href="#">退換貨相關</a>
<a class="page-link" href="#">付款資訊</a>
<a class="page-link" href="#">FAQ</a>
</div>
</section>
<section class="footer-section">
<h2 class="section-title">關於我們</h2>
<div class="section-content">
<a class="page-link" href="#">品牌故事</a>
<a class="page-link" href="#">媒體聯繫</a>
<a class="page-link" href="#">Press kit</a>
</div>
</section>
<section class="footer-section">
<h2 class="section-title">資訊</h2>
<div class="section-content">
<a class="page-link" href="#">隱私權政策</a>
<a class="page-link" href="#">Cookie</a>
<a class="page-link" href="#">GDPR</a>
</div>
</section>
<section class="footer-section">
<h2 class="section-title">追蹤 ALPHA Shop</h2>
<div class="section-content">
<div class="tel-info">+886 02123-45678</div>
<div class="social-icon-group">
<object data="./public/icons/facebook.svg" class="social-icon cursor-point">
</object>
<object data="./public/icons/instagram.svg" class="social-icon cursor-point">
</object>
<object data="./public/icons/whatsapp.svg" class="social-icon cursor-point">
</object>
</div>
</div>
</section>
</div>
</footer>
</body>
</html>