-
Notifications
You must be signed in to change notification settings - Fork 1
/
storeMypage2.html
681 lines (666 loc) · 31.5 KB
/
storeMypage2.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
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
<!DOCTYPE html>
<html lang="ko">
<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" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<link
type="text/css"
rel="stylesheet"
href="css/storeMypageTab2(2).css"
/>
<link rel="stylesheet" href="css/index.css" />
<title>가게 마이페이지(2)</title>
</head>
<body>
<div class="mainNav">
<div class="mainNavIcon">
<img
class="categoryBtn"
id="categoryButton"
src="img/hamburger.svg"
onClick="toggleHiddenCategory();"
/>
<img
class="mainLogo"
src="img/mainLoco.svg"
onclick="location.href='main.html'"
/>
</div>
<div class="mainProfile">
<p class="loginBtn" onclick="location.href='login.html'">
로그인
</p>
<p class="signupBtn" onclick="location.href='selectJoin.html'">
회원가입
</p>
<p class="mainProfileName">감미로운 옹징어</p>
<p class="mainProfileText">님</p>
<div class="profileContainer">
<img class="mainProfileImg" src="img/MyPageButton.svg" />
<div class="myProfileMore">
<p onClick="location.href='userMypage.html'">
마이페이지
</p>
<hr />
<p>로그아웃</p>
</div>
</div>
</div>
</div>
<div id="hiddenCategory" style="display: none">
<div class="food">
<div class="main-food">음식</div>
<div class="large-food1">
<button
class="small-food1"
id="smallfood1Button"
onclick="gotopromotionList('food1');"
>
곡물류 >
</button>
<div class="example-food1">쌀/보리/콩 등</div>
</div>
<div class="large-food2">
<button
class="small-food2"
id="smallfood2Button"
onclick="gotopromotionList('food2');"
>
김치류 >
</button>
<div class="example-food2">배추김치/무김치/깍두기 등</div>
</div>
<div class="large-food3">
<button
class="small-food3"
id="smallfood3Button"
onclick="gotopromotionList('food3');"
>
발효식품류 >
</button>
<div class="example-food3">간장/고추장/된장 등</div>
</div>
<div class="large-food4">
<button
class="small-food4"
id="smallfood4Button"
onclick="gotopromotionList('food4');"
>
면류 >
</button>
<div class="example-food4">국수/라면/우동 등</div>
</div>
<div class="large-food5">
<button
class="small-food5"
id="smallfood5Button"
onclick="gotopromotionList('food5');"
>
떡류 >
</button>
<div class="example-food5">떡볶이/송편/인절미 등</div>
</div>
<div class="large-food6">
<button
class="small-food6"
id="smallfood6Button"
onclick="gotopromotionList('food6');"
>
생선과 해산물 >
</button>
<div class="example-food6">명태/고등어/굴 등</div>
</div>
<div class="large-food7">
<button
class="small-food7"
id="smallfood7Button"
onclick="gotopromotionList('food7');"
>
과일 >
</button>
<div class="example-food7">배/사과/복숭아 등</div>
</div>
<div class="large-food8">
<button
class="small-food8"
id="smallfood8Button"
onclick="gotopromotionList('food8');"
>
차류 >
</button>
<div class="example-food8">녹차/홍차/율무차 등</div>
</div>
<div class="large-food9">
<button
class="small-food9"
id="smallfood9Button"
onclick="gotopromotionList('food9');"
>
과자류 >
</button>
<div class="example-food9">한과/빈대떡/쌀과자 등</div>
</div>
<div class="large-food10">
<button
class="small-food10"
id="smallfood10Button"
onclick="gotopromotionList('food10');"
>
한약류 >
</button>
<div class="example-food10">인삼/홍차/대추 등</div>
</div>
</div>
<hr class="food-divider" />
<div class="non-food">
<div class="main-non-food">비음식</div>
<div class="large-non-food1">
<button
class="small-non-food1"
id="smallnonfood1Button"
onclick="gotopromotionList('nonfood1');"
>
의류와 직물 >
</button>
<div class="example-non-food1">한복/삼베/비단 등</div>
</div>
<div class="large-non-food2">
<button
class="small-non-food2"
id="smallnonfood2Button"
onclick="gotopromotionList('nonfood2');"
>
도자기와 세라믹 >
</button>
<div class="example-non-food2">강화도자기/기와 등</div>
</div>
<div class="large-non-food3">
<button
class="small-non-food3"
id="smallnonfood3Button"
onclick="gotopromotionList('nonfood3');"
>
목공예품 >
</button>
<div class="example-non-food3">원목가구/칠보 등</div>
</div>
<div class="large-non-food4">
<button
class="small-non-food4"
id="smallnonfood4Button"
onclick="gotopromotionList('nonfood4');"
>
기타 공예품 >
</button>
<div class="example-non-food4">한지공예/감람공예 등</div>
</div>
<div class="large-non-food5">
<button
class="small-non-food5"
id="smallnonfood5Button"
onclick="gotopromotionList('nonfood5');"
>
화장품 >
</button>
<div class="example-non-food5">천연화장품/로션 등</div>
</div>
<div class="large-non-food6">
<button
class="small-non-food6"
id="smallnonfood6Button"
onclick="gotopromotionList('nonfood6');"
>
금속공예품 >
</button>
<div class="example-non-food6">동상/반지 등</div>
</div>
</div>
</div>
<div class="container" id="myTabContent">
<div class="myTitle">마이 페이지</div>
<div class="myTabNav">
<div id="tab1" class="tab">내 정보</div>
<div id="tab2" class="tab active">가게 홍보</div>
<div id="tab3" class="tab">가게 등록</div>
</div>
<div class="tab1">
<div class="myInfo">
<div>
<img src="..\svg\Location.svg" />
<div>서울특별시</div>
</div>
<div>
<img src="..\svg\Location.svg" />
<div>어쩌고저쩌고</div>
</div>
<div>
<img src="..\svg\Home filled.svg" />
<div>가게명</div>
</div>
<div>
<img src="..\svg\person.svg" />
<div>id123</div>
</div>
<div>
<img src="..\svg\pw.svg" />
<div>imapassword</div>
</div>
<div>
<img src="..\svg\Message.svg" />
<div>abcd@gmail.com</div>
</div>
<div>
<img src="..\svg\SmartPhone.svg" />
<div>010-1234-5678</div>
</div>
<div>
<img src="..\svg\Telephone.svg" />
<div>02-1234-456</div>
</div>
<div>
<img src="..\svg\Star.svg" />
<div>123-456-789</div>
</div>
</div>
<div class="myBtWrap">
<button class="moveEditMyBt" type="button">
내 정보 수정하기
</button>
</div>
</div>
<div class="tab2 active" id="tab2 active">
<div class="boxInfo">
<div class="promotionListWrap">
<div class="promotionCard" onclick="moveDetail(1);">
<img
class="promotionImg"
src="..\svg\exampImg.svg"
/>
<h3>도라에몽이 왔다간 가게</h3>
<div class="storeIntro">
우리가게는 어떻고 저떻고 그래서 이래서 좋아요
</div>
<div class="promotionInfo">
<div class="storeInfo"></div>
</div>
</div>
</div>
<div class="promotionListWrap">
<div class="promotionCard" onclick="moveDetail(1);">
<img
class="promotionImg"
src="..\svg\exampImg.svg"
/>
<h3>도라에몽이 왔다간 가게</h3>
<div class="storeIntro">
우리가게는 어떻고 저떻고 그래서 이래서 좋아요
</div>
<div class="promotionInfo">
<div class="storeInfo"></div>
</div>
</div>
</div>
<div class="promotionListWrap">
<div class="promotionCard" onclick="moveDetail(1);">
<img
class="promotionImg"
src="..\svg\exampImg.svg"
/>
<h3>도라에몽이 왔다간 가게</h3>
<div class="storeIntro">
우리가게는 어떻고 저떻고 그래서 이래서 좋아요
</div>
<div class="promotionInfo">
<div class="storeInfo"></div>
</div>
</div>
</div>
</div>
</div>
<div class="tab3">
<div class="firstBox">
<div class="regist">
<div class="ment">
<h2 class="registText1">우리 가게를 등록하세요!</h2>
<h3 class="registText2">
소비자들에게 공개되는 페이지이므로, 예쁘게
꾸며주세요
</h3>
</div>
<!--가게명, 위치+상세위치, 전화번호, 가게 전화번호-->
<div class="infoAndMenuContainer">
<div class="infoBox">
<div class="phone">
<img
src="svg/Home filled.svg"
alt="Home Image"
/>
<h3>경상북도 경주</h3>
</div>
<div class="phone">
<img
src="svg/Location.svg"
alt="Location Image"
/>
<h3>breadTop1@abc.com</h3>
</div>
<div class="phone">
<img
src="svg/SmartPhone.svg"
alt="Phone Image"
/>
<h3>010-1234-5678</h3>
</div>
<div class="phone">
<img
src="svg/Telephone.svg"
alt="Telephone Image"
/>
<h3>031-031-031</h3>
</div>
</div>
<div class="registPhoto">
<h2>가게 사진 등록하기</h2>
<label for="photoInput" class="photo">
<h3 class="photoMent">
사진 첨부를 위해 클릭해주세요.
</h3>
</label>
<input
type="file"
id="photoInput"
style="display: none"
/>
</div>
<div class="category-container">
<h2>카테고리 선택</h2>
<div
class="category-selection"
onclick="toggleOptions()"
>
분류
<span class="arrow-down"></span>
</div>
<div
class="category-options"
id="categoryOptions"
>
<div
class="category-option"
onclick="selectCategory('곡물류')"
>
곡식류
</div>
<div
class="category-option"
onclick="selectCategory('면류')"
>
면류
</div>
<div
class="category-option"
onclick="selectCategory('과일')"
>
과일
</div>
<div
class="category-option"
onclick="selectCategory('한약재')"
>
한약재
</div>
<div
class="category-option"
onclick="selectCategory('김치류')"
>
김치류
</div>
<div
class="category-option"
onclick="selectCategory('떡류')"
>
떡류
</div>
<div
class="category-option"
onclick="selectCategory('차류')"
>
차류
</div>
<div
class="category-option"
onclick="selectCategory('발효식품')"
>
발효식품
</div>
<div
class="category-option"
onclick="selectCategory('생선과 해산물')"
>
생선과 해산물
</div>
<div
class="category-option"
onclick="selectCategory('과자류')"
>
과자류
</div>
</div>
</div>
</div>
</div>
<div class="secondBox">
<div class="forButton">
<div class="right">
<div class="menu">
<div class="menuText">
<h2>가게 메뉴</h2>
<h3>
가게 메뉴는 최대 10개까지 등록
가능합니다.
</h3>
</div>
<div class="menus">
<div class="menuShow">
<div class="pic">
<label
for="menuPhotoInput"
class="menuPhoto"
>
<h3 class="menuPhotoMent">
사진첨부를 위해
클릭해주세요.
</h3>
</label>
</div>
<div class="product-info">
<input
type="text"
placeholder="상품명"
/>
<input
type="text"
placeholder="가격"
/>
</div>
<input
type="file"
id="menuPhotoInput"
style="display: none"
/>
</div>
<div class="menuShow">
<div class="pic">
<label
for="menuPhotoInput"
class="menuPhoto"
>
<h3 class="menuPhotoMent">
사진첨부를 위해
클릭해주세요.
</h3>
</label>
</div>
<div class="product-info">
<input
type="text"
placeholder="상품명"
/>
<input
type="text"
placeholder="가격"
/>
</div>
<input
type="file"
id="menuPhotoInput"
style="display: none"
/>
</div>
<div class="menuShow">
<div class="pic">
<label
for="menuPhotoInput"
class="menuPhoto"
>
<h3 class="menuPhotoMent">
사진첨부를 위해
클릭해주세요.
</h3>
</label>
</div>
<div class="product-info">
<input
type="text"
placeholder="상품명"
/>
<input
type="text"
placeholder="가격"
/>
</div>
<input
type="file"
id="menuPhotoInput"
style="display: none"
/>
</div>
<div class="menuShow">
<div class="pic">
<label
for="menuPhotoInput"
class="menuPhoto"
>
<h3 class="menuPhotoMent">
사진첨부를 위해
클릭해주세요.
</h3>
</label>
</div>
<div class="product-info">
<input
type="text"
placeholder="상품명"
/>
<input
type="text"
placeholder="가격"
/>
</div>
<input
type="file"
id="menuPhotoInput"
style="display: none"
/>
</div>
<div class="menuShow">
<div class="pic">
<label
for="menuPhotoInput"
class="menuPhoto"
>
<h3 class="menuPhotoMent">
사진첨부를 위해
클릭해주세요.
</h3>
</label>
</div>
<div class="product-info">
<input
type="text"
placeholder="상품명"
/>
<input
type="text"
placeholder="가격"
/>
</div>
<input
type="file"
id="menuPhotoInput"
style="display: none"
/>
</div>
<div class="menuShow">
<h2 class="plus">+</h2>
</div>
</div>
</div>
<h2 class="introText">가게 소개글 작성하기</h2>
<div class="introduction">
<textarea
id="introductionText2"
placeholder="1000자 이내"
></textarea>
<div id="charCount2">0 / 1000</div>
</div>
</div>
</div>
</div>
</div>
<div class="register-button">
<button id="registerButton" class="register" type="button">
점포 등록
</button>
</div>
</div>
<div class="tap2Next"></div>
</div>
<div class="footer">
<div class="footerLeft">
<img id="footerLogo" src="img/loco1.svg" />
<div>
<div>
<p class="department">PM</p>
<p class="peopleList">이혜미</p>
</div>
<div>
<p class="department">FE</p>
<p class="peopleListFE">이혜린, 이윤호, 장수진</p>
</div>
<div>
<p class="department">BE</p>
<p class="peopleListBE">김현우, 박선균</p>
</div>
</div>
</div>
<div class="footerRight">
<img src="img/lioiin.png" />
<p>
상명대학교 멋쟁이 사자처럼 11기<br />
Instagram @likelion_smu
</p>
</div>
</div>
<script src="js\index.js"></script>
<script src="js\storeMypageTab2(2).js"></script>
</body>
</html>