-
Notifications
You must be signed in to change notification settings - Fork 1
/
promotionList.html
217 lines (215 loc) · 9.04 KB
/
promotionList.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>가게 홍보 페이지</title>
<link rel="stylesheet" href="css/promotionList.css" />
<link rel="stylesheet" href="css/index.css" />
</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='index.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 onClick="logout();">로그아웃</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">
<div class="promotionSelectBtWrap">
<div class="promotionBtWrap">
<div id="recentSort" class="sortButton active">최신순</div>
<div id="likeSort" class="sortButton">좋아요순</div>
<div id="viewSort" class="sortButton">조회수순</div>
</div>
<div class="promotionFilterBtWrap">
<div id="filterBt" onclick="searchAddress();">
지역 필터
</div>
</div>
<div class="selectedCityBt"></div>
</div>
<div class="promotionSearchBtWrap">
<div class="searchBt">
<p class="searchTitle">11</p>
<p class="searchName">22</p>
</div>
</div>
<!-- promotionCard 가져올 곳-->
<div class="promotionListWrap">
</div>
<div id="buttonContainer"></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="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="js/index.js"></script>
<script src="js/promotionList.js"></script>
</body>
</html>