-
Notifications
You must be signed in to change notification settings - Fork 4
/
custom.html
440 lines (373 loc) · 14.1 KB
/
custom.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
<!DOCTYPE html>
<html lang="zh-tw">
<head>
<meta charset="UTF-8">
<title>UniSay</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/custom.css" rel="stylesheet" type="text/css">
<!-- Icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Cinzel+Decorative" rel="stylesheet">
<!-- font-family: 'Cinzel Decorative', cursive; -->
<link href="https://fonts.googleapis.com/css?family=Amita" rel="stylesheet">
<!-- font-family: 'Amita', cursive; -->
<link href="https://fonts.googleapis.com/css?family=IM+Fell+English+SC" rel="stylesheet">
<!-- font-family: 'IM Fell English SC', serif; -->
<link href="https://fonts.googleapis.com/css?family=Fredericka+the+Great" rel="stylesheet">
<!-- font-family: 'Fredericka the Great', cursive; -->
</head>
<!-- ====================================================================================== -->
<body>
<!-- 主頁面內容 -->
<div class="wrap">
<header>
<!-- 平板手機會fixed的banner -->
<div class="banner">
<!-- 三明治選單 -->
<div class="sandwich"></div>
<!-- fixed的按鈕 -->
<div class="cart_icon"></div>
<div class="cart_sidebar"></div>
<div class="member_icon"></div>
<div class="member_sidebar"></div>
<div class="totop_icon"></div>
<!-- 中央logo -->
<div class="logo"><img src="images/header/header_logo.svg" alt=""></div>
<!-- 上方選單列 -->
<nav>
<ul>
<!-- 當前頁面掛上here的class -->
<li class="icon_aboutus ">
<a href="aboutus.html"></a>
</li>
<li class="icon_product">
<a href="product.html"></a>
</li>
<li class="icon_custom here">
<a href="custom.html"></a>
</li>
<li class="icon_inspire">
<a href="inspire.html"></a>
</li>
</ul>
</nav>
<!-- 暗幕的背景 -->
<div class="fixed_shadowbg"></div>
<!-- 暫時鎖住畫面的光箱 class加上shadowshow2就會出現-->
<div class="fixed_shadowbg2">
<div class="wait">
<br>
正在處理您的客製化商品<br>
請稍待片刻<br>
等候商品加入購物車
<i class="fa fa-spinner fa-pulse"></i>
</div>
</div>
</div><!-- banner包全部 -->
</header>
<!-- ====================================================================================== -->
<content>
<div class="custom">
<div class="controller controller-L">
<div class="con_prev"><i class="fa fa-chevron-circle-left" aria-hidden="true"></i></div>
<!-- <a href="javasript:;" class="con_prev"></a> -->
</div>
<div class="cus_navbar">
<ul >
<li class="cus_light on "><
<div class="light_image bling"></div>
<div class="light_text"><p>材質</p></div>
</li>
<li class="cus_light"><
<div class="light_image"></div>
<div class="light_text"><p>動物</p></div>
</li>
<li class="cus_light"><
<div class="light_image"></div>
<div class="light_text"><p>文字</p></div>
</li>
<li class="cus_light"><
<div class="light_image"></div>
<div class="light_text"><p>卡片</p></div>
</li>
<li class="cus_light"><
<div class="light_image"></div>
<div class="light_text"><p>包裝</p></div>
</li>
</ul>
</div>
<div class="cus_slideshow">
<ul class="cus_slides">
<li class="slide01">
<div class="case_img caseG"><img src="images/product/classic/01-cherry-wood.png" alt=""></div>
<div class="step">
<div class="title">
<p>- Make your own case -</p>
</div>
<form action="" class="form01">
<div class="case_brand">
<p>手機規格</p>
<p>*本站僅以iPhone 6作為展示</p>
<select name="brand" class="brand">
<option value="">請選擇手機規格</option>
<option value="iPhone6">iPhone6</option>
<option value="iPhone6 plus">iPhone6 plus</option>
<option value="iPhone6s">iPhone6s</option>
<option value="iPhone6s plus">iPhone6s plus</option>
<option value="iPhone7">iPhone7</option>
<option value="iPhone7 plus">iPhone7 plus</option>
</select>
</div>
<div class="case_wood">
<p>木頭材質</p>
<a href="javascript:;" class="wooden" data-wood="01-cherry-wood"><img src="images/product/classic-icon/01-cherry-wood.png" alt="" ></a>
<a href="javascript:;" class="wooden" data-wood="02-oak-wood"><img src="images/product/classic-icon/02-oak-wood.png" alt="" ></a>
<a href="javascript:;" class="wooden" data-wood="03-maple-wood"><img src="images/product/classic-icon/03-maple-wood.png" alt="" ></a>
<a href="javascript:;" class="wooden" data-wood="04-rose-wood"><img src="images/product/classic-icon/04-rose-wood.png" alt="" ></a>
<a href="javascript:;" class="wooden" data-wood="05-walnut-wood"><img src="images/product/classic-icon/05-walnut-wood.png" alt="" ></a>
</div>
<div class="price" data-paid="0">
<p>目前價格</p>
<p>NT$<span>800</span></p>
</div>
<!-- <div class="save">
<a href="javascript:;" class="ok_buy">確定</a>
</div> -->
</form>
</div>
</li>
<li class="slide02">
<div class="case_img caseG">
<img src="images/product/classic/01-cherry-wood.png" alt="" id="aaa">
</div>
<div class="step">
<div class="title">
<p>- Make your own case -</p>
</div>
<div class="case_animal">
<p>守護精靈</p>
<div class="add_to_buy">
<img src="images/custom/add_price_icon.svg" alt="">
<p> 加購價 100元</p>
</div>
<div class="productclass_secondnav">
<div class="animalicon_line01">
<div class="animalicon01_owl" data-pic="01owl"></div>
<div class="animalicon02_fox" data-pic="02fox"></div>
<div class="animalicon03_rabbit" data-pic="03rabbit"></div>
<div class="animalicon04_lion" data-pic="04lion"></div>
</div>
<div class="animalicon_line02">
<div class="animalicon05_deer" data-pic="05deer"></div>
<div class="animalicon06_eagle" data-pic="06eagle"></div>
<div class="animalicon07_cat" data-pic="07cat"></div>
<div class="animalicon08_bird" data-pic="08bird"></div>
</div>
<div class="animalicon_line03">
<div class="animalicon09_wolf" data-pic="09wolf"></div>
<div class="animalicon10_monkey" data-pic="10monkey"></div>
<div class="animalicon11_bee" data-pic="11bee"></div>
<div class="animalicon12_squirrel" data-pic="12squirrel"></div>
</div>
<div class="animalicon_line04">
<div class="animalicon13_dog" data-pic="13dog"></div>
<div class="animalicon14_porcupine" data-pic="14porcupine"></div>
<div class="animalicon15_parrot" data-pic="15parrot"></div>
<div class="animalicon16_elephant" data-pic="16elephant"></div>
</div>
</div>
</div>
<div class="price" data-paid="100">
<p>目前價格</p>
<p>NT$<span>800</span></p>
</div>
<div class="save">
<a href="javascript:;" class="skip">SKIP</a>
<a href="javascript:;" class="ok_buy">加購</a>
</div>
</div>
</li>
<li class="slide03">
<div class="case_img caseG">
<img src="images/product/classic/01-cherry-wood.png" alt="">
</div>
<div class="step">
<div class="title">
<p>- Make your own case -</p>
</div>
<form action="" class="form03">
<div class="motto">
<p>打造座右銘</p>
<div class="add_to_buy">
<img src="images/custom/add_price_icon.svg" alt=""><p>加購價 100元</p>
</div>
<!-- <div class="control_bar">
<div class="add_text">
<a href="javascript:;" class="addText"><i class="fa fa-plus-circle" aria-hidden="true"></i></a>
<p>Add text</p>
</div>
<div class="clear">
<a href="javascript:;" class="clearText"><i class="fa fa-times-circle" aria-hidden="true"></i></a>
<p>Clear text</p>
</div>
</div> -->
</div>
<div class="con_text" id="tabs">
<!-- <ul class="tt"> -->
<!-- 其他tab用js寫 -->
<li class="tab edit">
<a href="javascript:;" >TEXT 1</a>
</li>
<!-- </ul> -->
<!-- 其他tab table用js寫 -->
<div class="text_table" id="tab-1">
<div class="text_font">
<select name="font" class="font">
<option value="微軟正黑體">微軟正黑體</option>
<option value="圓體">圓體</option>
<option value="Slabo">Slabo</option>
<option value="Ubuntu">Ubuntu</option>
<option value="Nova_Mono">Nova Mono</option>
<option value="Indie_Flower">Indie Flower</option>
</select>
</div>
<div class="size_bar">
<div class="size">
<input type="text" id="size1" class="input_size" placeholder="size" min="8" max="50" ></input>
</div>
<div class="range-slider">
<input id="range_slider1" class="range_slider" type="range" min="8" max="50" step="1">
</div>
</div>
<div class="text_word">
<textarea class="motto_word" name="motto_word" maxlength="100" wrap="hard" placeholder="請輸入座右銘"></textarea>
<!-- <input type="text" name="word" class="motto_word" placeholder="請輸入座右銘"> -->
</div>
</div>
</div>
<div class="price" data-paid="100">
<p>目前價格</p>
<p>NT$<span>800</span></p>
</div>
<div class="save">
<a href="javascript:;" class="skip">SKIP</a>
<a href="javascript:;" class="ok_buy">加購</a>
</div>
</form>
</div>
</li>
<li class="slide04">
<div class="case_img">
<img src="images/custom/card-01.png" alt="">
<div class="insert_text">
<canvas id="s4-1" width="240" height="200"></canvas>
</div>
</div>
<div class="step">
<div class="title">
<p>- Make your own case -</p>
</div>
<form action="" class="form04">
<div class="to_who">
<p>想寫卡片給誰</p>
<input type="text" name="to_who" >
<div class="add_to_buy">
<img src="images/custom/add_price_icon.svg" alt=""><p> 加購價 30元</p>
</div>
</div>
<div class="msg">
<label for="msg">想說些什麼話<span>(上限100字)</span></label>
<textarea class="msg_text" id="msg" name="msg" maxlength="100" wrap="hard"></textarea>
</div>
<div class="price" data-paid="30">
<p>目前價格</p>
<p>NT$<span>800</span></p>
</div>
<div class="save">
<a href="javascript:;" class="skip">SKIP</a>
<a href="javascript:;" class="ok_buy">加購</a>
</div>
</form>
</div>
</li>
<li class="slide05">
<div class="case_img">
<img src="images/custom/giftbox01.png" alt=""></div>
<div class="step">
<div class="title">
<p>- Make your own case -</p>
</div>
<div class="box">
<p>外盒款式</p>
<div class="add_to_buy" data-paid="30">
<img src="images/custom/add_price_icon.svg" alt=""><p> 加購價 30元</p>
</div>
<a href="javascript:;" class="box_img" data-gift="giftbox01">
</a>
<a href="javascript:;" class="box_img2" data-gift="giftbox02">
</a>
</div>
<div class="price" data-paid="30">
<p>目前價格</p>
<p>NT$<span>800</span></p>
</div>
<div class="save">
<button type="submit" class="skip">SKIP</button>
<button type="submit" class="ok_buy ok_save">加購</button>
</div>
</div>
</li>
</ul>
<!-- 新增 -->
<div class="toTop">
<div class="wrapcase">
<canvas id="c" width="250" height="418"></canvas>
</div>
</div>
</div>
<div class="controller controller-R">
<div class="con_next"><i class="fa fa-chevron-circle-right" aria-hidden="true"></i></div>
<!-- <a href="javasript:;" class="con_next"></a> -->
</div>
</div>
</content>
<!-- ====================================================================================== -->
<footer>
</footer>
<!-- ====================================================================================== -->
</div><!-- wrap的結尾 -->
<script type="text/x-tpl" id="tpl_a">
<div class="text_table" id="tab-<%= id %>">
<div class="text_word">
<input type="text" name="word" class="motto_word" placeholder="請輸入座右銘">
</div>
<div class="text_font">
<select name="font" class="font">
<option value="微軟正黑體">微軟正黑體</option>
<option value="圓體">圓體</option>
<option value="Slabo">Slabo</option>
<option value="Ubuntu">Ubuntu</option>
<option value="Nova_Mono">Nova Mono</option>
<option value="Indie_Flower">Indie Flower</option>
</select>
</div>
<div class="size_bar">
<div class="size">
<input type="text" id="size<%= id %>" class="input_size" placeholder="size" min="8" max="50" ></input>
</div>
<div class="range-slider">
<input id="range_slider<%= id %>" class="range_slider" type="range" min="8" max="50" step="1">
</div>
</div>
</div>
</script>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="js/underscore.js"></script>
<script src="js/nav_icon.js"></script>
<script src="js/custom/fabric.js"></script>
<script src="js/custom.js"></script>
</body>
</html>