--- client/resources/css/style.css
+++ client/resources/css/style.css
... | ... | @@ -1,592 +1,608 @@ |
1 | 1 |
/* 회원가입 */ |
2 | 2 |
.join-box { |
3 |
- width: 800px; |
|
4 |
- margin: 0 auto; |
|
3 |
+ width: 800px; |
|
4 |
+ margin: 0 auto; |
|
5 | 5 |
} |
6 |
-.join-box input[type='radio'] { |
|
7 |
- display: inline-block; |
|
8 |
- width: 24px !important; |
|
9 |
- height: 24px; |
|
10 |
- margin: -2px 10px 0 0; |
|
11 |
- vertical-align: middle; |
|
12 |
- cursor: pointer; |
|
13 |
- -moz-border-radius: 50%; |
|
14 |
- border-radius: 50%; |
|
15 |
- border: 3px solid #ffffff; |
|
16 |
- accent-color: #ffba08; |
|
6 |
+.join-box input[type="radio"] { |
|
7 |
+ display: inline-block; |
|
8 |
+ width: 24px !important; |
|
9 |
+ height: 24px; |
|
10 |
+ margin: -2px 10px 0 0; |
|
11 |
+ vertical-align: middle; |
|
12 |
+ cursor: pointer; |
|
13 |
+ -moz-border-radius: 50%; |
|
14 |
+ border-radius: 50%; |
|
15 |
+ border: 3px solid #ffffff; |
|
16 |
+ accent-color: #ffba08; |
|
17 | 17 |
} |
18 | 18 |
|
19 | 19 |
.find-table tr { |
20 |
- border-top: #a3a5aa 1px solid; |
|
21 |
- border-bottom: #a3a5aa 1px solid; |
|
20 |
+ border-top: #a3a5aa 1px solid; |
|
21 |
+ border-bottom: #a3a5aa 1px solid; |
|
22 | 22 |
} |
23 | 23 |
.find-table .thead { |
24 |
- background-color: #eaedf4; |
|
24 |
+ background-color: #eaedf4; |
|
25 | 25 |
} |
26 | 26 |
/* 로그인페이지 */ |
27 | 27 |
.login-container { |
28 |
- padding: 20px 20px; |
|
29 |
- background-image: url('../img/bg.png'); |
|
28 |
+ padding: 20px 20px; |
|
29 |
+ background-image: url("../img/bg.png"); |
|
30 | 30 |
} |
31 | 31 |
|
32 | 32 |
.login h2 { |
33 |
- font-size: 30px; |
|
34 |
- color: #fff; |
|
35 |
- font-family: 'ONEMobilePOPOTF'; |
|
36 |
- font-weight: 100; |
|
33 |
+ font-size: 30px; |
|
34 |
+ color: #fff; |
|
35 |
+ font-family: "ONEMobilePOPOTF"; |
|
36 |
+ font-weight: 100; |
|
37 | 37 |
} |
38 | 38 |
|
39 | 39 |
.login-box { |
40 |
- width: 712px; |
|
41 |
- /* height: 560px; */ |
|
42 |
- margin: 0 auto; |
|
40 |
+ width: 712px; |
|
41 |
+ /* height: 560px; */ |
|
42 |
+ margin: 0 auto; |
|
43 | 43 |
} |
44 | 44 |
|
45 | 45 |
.login-form { |
46 |
- background-color: #fff; |
|
47 |
- padding: 60px 45px; |
|
48 |
- border-radius: 20px; |
|
46 |
+ background-color: #fff; |
|
47 |
+ padding: 60px 45px; |
|
48 |
+ border-radius: 20px; |
|
49 | 49 |
} |
50 | 50 |
|
51 | 51 |
.login-form .title { |
52 |
- font-family: 'ONEMobileOTF-Bold'; |
|
53 |
- font-size: 24px; |
|
54 |
- width: 230px; |
|
52 |
+ font-family: "ONEMobileOTF-Bold"; |
|
53 |
+ font-size: 24px; |
|
54 |
+ width: 230px; |
|
55 | 55 |
} |
56 | 56 |
.login-form .help { |
57 |
- margin-left: 170px; |
|
57 |
+ margin-left: 170px; |
|
58 | 58 |
} |
59 |
-.login-form input[type='text'], |
|
60 |
-.login-form input[type='password'] { |
|
61 |
- border: 3px solid #ffd56b; |
|
62 |
- border-radius: 10px; |
|
63 |
- padding: 22px 19px; |
|
64 |
- width: 100%; |
|
65 |
- font-size: 24px; |
|
59 |
+.login-form input[type="text"], |
|
60 |
+.login-form input[type="password"] { |
|
61 |
+ border: 3px solid #ffd56b; |
|
62 |
+ border-radius: 10px; |
|
63 |
+ padding: 22px 19px; |
|
64 |
+ width: 100%; |
|
65 |
+ font-size: 24px; |
|
66 | 66 |
} |
67 | 67 |
.login-form input:focus { |
68 |
- outline: 3px solid #ffba0a; |
|
69 |
- border: 0 !important; /* 클릭 시 테두리 색상 변경 */ |
|
68 |
+ outline: 3px solid #ffba0a; |
|
69 |
+ border: 0 !important; /* 클릭 시 테두리 색상 변경 */ |
|
70 | 70 |
} |
71 |
-.login-form .search-wrap input[type='text'], |
|
71 |
+.login-form .search-wrap input[type="text"], |
|
72 | 72 |
.login-form .search-wrap select { |
73 |
- border: 3px solid #ffd56b; |
|
74 |
- border-radius: 10px; |
|
75 |
- padding: 22px 19px; |
|
76 |
- width: 100%; |
|
77 |
- font-size: 24px; |
|
73 |
+ border: 3px solid #ffd56b; |
|
74 |
+ border-radius: 10px; |
|
75 |
+ padding: 22px 19px; |
|
76 |
+ width: 100%; |
|
77 |
+ font-size: 24px; |
|
78 | 78 |
} |
79 | 79 |
.login-form .search-wrap button { |
80 |
- top: 24px; |
|
81 |
- right: 2rem; |
|
80 |
+ top: 24px; |
|
81 |
+ right: 2rem; |
|
82 | 82 |
} |
83 | 83 |
.login-btn { |
84 |
- position: relative; |
|
84 |
+ position: relative; |
|
85 | 85 |
} |
86 | 86 |
|
87 | 87 |
.login-btn p { |
88 |
- position: absolute; |
|
89 |
- top: 42%; |
|
90 |
- left: 50%; |
|
91 |
- transform: translate(-50%, -50%); |
|
92 |
- font-family: 'ONEMobilePOPOTF'; |
|
93 |
- font-size: 36px; |
|
88 |
+ position: absolute; |
|
89 |
+ top: 42%; |
|
90 |
+ left: 50%; |
|
91 |
+ transform: translate(-50%, -50%); |
|
92 |
+ font-family: "ONEMobilePOPOTF"; |
|
93 |
+ font-size: 36px; |
|
94 | 94 |
} |
95 | 95 |
|
96 | 96 |
/* ------------------------학생 --------------------- */ |
97 | 97 |
/* 헤더 */ |
98 | 98 |
.notice { |
99 |
- position: relative; |
|
100 |
- cursor: pointer; |
|
99 |
+ position: relative; |
|
100 |
+ cursor: pointer; |
|
101 | 101 |
} |
102 | 102 |
.notice p { |
103 |
- position: absolute; |
|
104 |
- top: 3px; |
|
105 |
- right: 6px; |
|
106 |
- color: #fff; |
|
107 |
- font-weight: bold; |
|
103 |
+ position: absolute; |
|
104 |
+ top: 3px; |
|
105 |
+ right: 6px; |
|
106 |
+ color: #fff; |
|
107 |
+ font-weight: bold; |
|
108 | 108 |
} |
109 | 109 |
|
110 | 110 |
.header article { |
111 |
- background-color: #f8f9fb; |
|
112 |
- border-radius: 10px; |
|
113 |
- padding: 22px 19px; |
|
114 |
- width: 100%; |
|
115 |
- font-size: 24px; |
|
111 |
+ background-color: #f8f9fb; |
|
112 |
+ border-radius: 10px; |
|
113 |
+ padding: 22px 19px; |
|
114 |
+ width: 100%; |
|
115 |
+ font-size: 24px; |
|
116 | 116 |
} |
117 | 117 |
/* 레이아웃 */ |
118 | 118 |
.side { |
119 |
- width: 42rem; |
|
119 |
+ width: 42rem; |
|
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
.main-wrap { |
123 |
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
|
124 |
- padding: 50px 40px; |
|
123 |
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
|
124 |
+ padding: 50px 40px; |
|
125 | 125 |
} |
126 | 126 |
|
127 | 127 |
.main-wrap { |
128 |
- width: 134rem; |
|
129 |
- height: 70rem; |
|
130 |
- background-color: #fff; |
|
131 |
- border-radius: 10px; |
|
132 |
- position: absolute; |
|
133 |
- right: 60px; |
|
134 |
- top: 179px; |
|
135 |
- z-index: 1; |
|
128 |
+ width: 134rem; |
|
129 |
+ height: 70rem; |
|
130 |
+ background-color: #fff; |
|
131 |
+ border-radius: 10px; |
|
132 |
+ position: absolute; |
|
133 |
+ right: 60px; |
|
134 |
+ top: 179px; |
|
135 |
+ z-index: 1; |
|
136 | 136 |
} |
137 | 137 |
|
138 | 138 |
.header img { |
139 |
- margin-left: 20px; |
|
140 |
- object-fit: contain; |
|
139 |
+ margin-left: 20px; |
|
140 |
+ object-fit: contain; |
|
141 | 141 |
} |
142 | 142 |
|
143 | 143 |
/* 사이드 */ |
144 | 144 |
.side button p { |
145 |
- font-size: 24px; |
|
145 |
+ font-size: 24px; |
|
146 | 146 |
} |
147 | 147 |
|
148 | 148 |
.side .profile { |
149 |
- height: 24rem; |
|
150 |
- background-color: #fff; |
|
151 |
- border-radius: 10px; |
|
152 |
- padding: 25px 48px; |
|
153 |
- font-size: 16px; |
|
154 |
- font-family: 'ONEMobileOTF-Regular'; |
|
155 |
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
|
149 |
+ /* height: 24rem; */ |
|
150 |
+ /* background-color: #fff; */ |
|
151 |
+ border-radius: 10px; |
|
152 |
+ padding: 30px 20px 0px; |
|
153 |
+ font-size: 16px; |
|
154 |
+ font-family: "ONEMobileOTF-Regular"; |
|
155 |
+ /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */ |
|
156 | 156 |
} |
157 | 157 |
|
158 | 158 |
.side .name { |
159 |
- font-family: 'ONEMobilePOPOTF'; |
|
160 |
- font-size: 24px; |
|
159 |
+ font-family: "ONEMobilePOPOTF"; |
|
160 |
+ font-size: 24px; |
|
161 | 161 |
} |
162 |
+ |
|
162 | 163 |
.name { |
163 |
- font-family: 'ONEMobilePOPOTF'; |
|
164 |
- font-size: 24px; |
|
164 |
+ font-family: "ONEMobilePOPOTF"; |
|
165 |
+ font-size: 24px; |
|
165 | 166 |
} |
166 | 167 |
.side .profile img { |
167 |
- object-fit: contain; |
|
168 |
+ object-fit: contain; |
|
168 | 169 |
} |
169 | 170 |
|
170 | 171 |
.side .profile span { |
171 |
- font-family: 'Pretendard'; |
|
172 |
- font-weight: bold; |
|
173 |
- font-size: 14px; |
|
172 |
+ font-family: "Pretendard"; |
|
173 |
+ font-weight: bold; |
|
174 |
+ font-size: 14px; |
|
174 | 175 |
} |
175 | 176 |
|
176 | 177 |
.side .profile span.brown { |
177 |
- color: #331600; |
|
178 |
+ color: #331600; |
|
178 | 179 |
} |
179 | 180 |
|
180 | 181 |
.side .ask { |
181 |
- height: 32rem; |
|
182 |
- background-color: #fff; |
|
183 |
- border-radius: 10px; |
|
184 |
- padding: 25px 48px; |
|
185 |
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
|
182 |
+ height: 32rem; |
|
183 |
+ background-color: #fff; |
|
184 |
+ border-radius: 10px; |
|
185 |
+ padding: 25px 48px; |
|
186 |
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
|
186 | 187 |
} |
187 | 188 |
|
188 | 189 |
.side .ask .memo { |
189 |
- background-image: url('../img/img10_s.png'); |
|
190 |
- background-repeat: no-repeat; |
|
191 |
- width: 324px; |
|
192 |
- height: 174px; |
|
193 |
- position: relative; |
|
194 |
- padding: 25px 30px; |
|
190 |
+ background-image: url("../img/img10_s.png"); |
|
191 |
+ background-repeat: no-repeat; |
|
192 |
+ width: 324px; |
|
193 |
+ height: 174px; |
|
194 |
+ position: relative; |
|
195 |
+ padding: 25px 30px; |
|
195 | 196 |
} |
196 | 197 |
|
197 | 198 |
.side .ask .memo textarea { |
198 |
- background-color: #ddf0ff; |
|
199 |
- width: -webkit-fill-available; |
|
200 |
- height: 117px; |
|
199 |
+ background-color: #ddf0ff; |
|
200 |
+ width: -webkit-fill-available; |
|
201 |
+ height: 117px; |
|
201 | 202 |
} |
202 | 203 |
|
203 | 204 |
.side .ask button { |
204 |
- padding: 10px 30px; |
|
205 |
- border: #ffd56b 3px solid; |
|
206 |
- border-radius: 30px; |
|
207 |
- font-family: 'ONEMobilePOPOTF'; |
|
208 |
- font-size: 18px; |
|
209 |
- color: #331600; |
|
205 |
+ padding: 10px 30px; |
|
206 |
+ border: #ffd56b 3px solid; |
|
207 |
+ border-radius: 30px; |
|
208 |
+ font-family: "ONEMobilePOPOTF"; |
|
209 |
+ font-size: 18px; |
|
210 |
+ color: #331600; |
|
210 | 211 |
} |
211 | 212 |
|
212 | 213 |
/* 메뉴 */ |
213 | 214 |
.menu { |
214 |
- margin-top: 63px; |
|
215 |
- width: 1324px; |
|
216 |
- position: absolute; |
|
217 |
- left: 579px; |
|
215 |
+ /* margin-top: 63px; |
|
216 |
+ width: 1324px; |
|
217 |
+ position: absolute; |
|
218 |
+ left: 579px; */ |
|
218 | 219 |
} |
219 | 220 |
|
220 | 221 |
.menu a:first-child button { |
221 |
- /* background-image: url('../../resources/img/btn04_s.png'); */ |
|
222 |
- color: #6327b9; |
|
223 |
- width: 186px; |
|
222 |
+ /* background-image: url('../../resources/img/btn04_s.png'); */ |
|
223 |
+ width: 186px; |
|
224 | 224 |
} |
225 | 225 |
|
226 | 226 |
.menu a:nth-child(2) button { |
227 |
- background-image: url('../../resources/img/btn06_s.png'); |
|
228 |
- width: 225px; |
|
227 |
+ /* background-image: url('../../resources/img/btn06_s.png'); */ |
|
228 |
+ width: 225px; |
|
229 | 229 |
} |
230 | 230 |
|
231 | 231 |
.menu a:last-child button { |
232 |
- background-image: url('../../resources/img/btn05_s.png'); |
|
233 |
- width: 207px; |
|
232 |
+ /* background-image: url('../../resources/img/btn05_s.png'); */ |
|
233 |
+ width: 207px; |
|
234 | 234 |
} |
235 | 235 |
|
236 | 236 |
.menu a:first-child button.active { |
237 |
- background-image: url('../../resources/img/btn04_1_s.png'); |
|
238 |
- width: 252px; |
|
239 |
- /* 마이페이지 활성화 이미지 */ |
|
237 |
+ /* background-image: url('../../resources/img/btn04_1_s.png'); */ |
|
238 |
+ /* width: 252px; */ |
|
239 |
+ /* 마이페이지 활성화 이미지 */ |
|
240 | 240 |
} |
241 | 241 |
|
242 | 242 |
.menu a:nth-child(2) button.active { |
243 |
- background-image: url('../../resources/img/btn06_1_s.png'); |
|
244 |
- width: 297px; |
|
245 |
- /* 대시보드 활성화 이미지 */ |
|
243 |
+ /* background-image: url('../../resources/img/btn06_1_s.png'); */ |
|
244 |
+ /* width: 297px; */ |
|
245 |
+ /* 대시보드 활성화 이미지 */ |
|
246 | 246 |
} |
247 | 247 |
|
248 | 248 |
.menu a:last-child button.active { |
249 |
- background-image: url('../../resources/img/btn05_1_s.png'); |
|
250 |
- width: 259px; |
|
251 |
- /* 학습일정계획 활성화 이미지 */ |
|
249 |
+ /* background-image: url('../../resources/img/btn05_1_s.png'); */ |
|
250 |
+ /* width: 259px; */ |
|
251 |
+ /* 학습일정계획 활성화 이미지 */ |
|
252 | 252 |
} |
253 | 253 |
|
254 | 254 |
.menu button p { |
255 |
- font-size: 32px; |
|
256 |
- color: #fff; |
|
257 |
- height: 50px; |
|
255 |
+ font-size: 32px; |
|
256 |
+ color: #8c8c8c; |
|
257 |
+ height: 50px; |
|
258 | 258 |
} |
259 | 259 |
|
260 | 260 |
.menu button { |
261 |
- background-repeat: no-repeat; |
|
262 |
- height: 72px; |
|
263 |
- text-align: -webkit-center; |
|
261 |
+ background-repeat: no-repeat; |
|
262 |
+ height: 72px; |
|
263 |
+ text-align: -webkit-center; |
|
264 | 264 |
} |
265 | 265 |
|
266 | 266 |
.menu button.active { |
267 |
- height: 118px; |
|
268 |
- margin-top: -18px; |
|
267 |
+ /* height: 118px; */ |
|
268 |
+ /* margin-top: -18px; */ |
|
269 | 269 |
} |
270 | 270 |
|
271 | 271 |
.menu button p.active { |
272 |
- display: none; |
|
273 |
- /* 원하는 색상으로 변경 */ |
|
272 |
+ /* display: none; */ |
|
273 |
+ /* 원하는 색상으로 변경 */ |
|
274 |
+ color: #6327b9; |
|
274 | 275 |
} |
276 |
+ |
|
275 | 277 |
/* 마이페이지 */ |
276 | 278 |
.look-btn { |
277 |
- cursor: pointer; |
|
279 |
+ cursor: pointer; |
|
278 | 280 |
} |
279 | 281 |
.mypage .class { |
280 |
- background-image: url('../img/btn46_12s_normal.png'); |
|
281 |
- width: 286px; |
|
282 |
- height: 114px; |
|
283 |
- padding: 11px 25px 40px 25px; |
|
284 |
- cursor: pointer; |
|
282 |
+ background-image: url("../img/btn46_12s_normal.png"); |
|
283 |
+ width: 286px; |
|
284 |
+ height: 114px; |
|
285 |
+ padding: 11px 25px 40px 25px; |
|
286 |
+ cursor: pointer; |
|
285 | 287 |
} |
286 | 288 |
|
287 | 289 |
.mypage .class img { |
288 |
- width: 35px; |
|
289 |
- height: 100%; |
|
290 |
+ width: 35px; |
|
291 |
+ height: 100%; |
|
290 | 292 |
} |
291 | 293 |
.mypage .class .box { |
292 |
- background-color: transparent; |
|
293 |
- padding: 0; |
|
294 |
+ background-color: transparent; |
|
295 |
+ padding: 0; |
|
294 | 296 |
} |
295 | 297 |
.mypage .class .box > div { |
296 |
- height: 35px; |
|
298 |
+ height: 35px; |
|
297 | 299 |
} |
298 | 300 |
.mypage .photobook { |
299 |
- background-image: url('../img/img199_12p.png'); |
|
300 |
- width: 367px; |
|
301 |
- height: 182px; |
|
302 |
- padding: 20px 50px 20px 40px; |
|
303 |
- color: #fff; |
|
301 |
+ background-image: url("../img/img199_12p.png"); |
|
302 |
+ width: 367px; |
|
303 |
+ height: 182px; |
|
304 |
+ padding: 20px 50px 20px 40px; |
|
305 |
+ color: #fff; |
|
304 | 306 |
} |
305 | 307 |
.mypage .textbook { |
306 |
- font-family: 'ONEMobilePOPOTF'; |
|
308 |
+ font-family: "ONEMobilePOPOTF"; |
|
307 | 309 |
} |
308 | 310 |
.mypage .photobook .title1 { |
309 |
- font-family: 'ONEMobilePOPOTF'; |
|
310 |
- font-weight: 100; |
|
311 |
+ font-family: "ONEMobilePOPOTF"; |
|
312 |
+ font-weight: 100; |
|
311 | 313 |
} |
312 | 314 |
.mypage .textbook .text { |
313 |
- border-radius: 12px 12px 0px 0px; |
|
314 |
- height: 68px; |
|
315 |
+ border-radius: 12px 12px 0px 0px; |
|
316 |
+ height: 68px; |
|
315 | 317 |
} |
316 | 318 |
.mypage .textbook .box { |
317 |
- height: fit-content; |
|
318 |
- text-align: center; |
|
319 |
- padding: 10px; |
|
319 |
+ height: fit-content; |
|
320 |
+ text-align: center; |
|
321 |
+ padding: 10px; |
|
320 | 322 |
} |
321 | 323 |
.mypage .book-red .text { |
322 |
- background-color: #db2b39; |
|
324 |
+ background-color: #db2b39; |
|
323 | 325 |
} |
324 | 326 |
/* .mypage .textbook:nth-child(2) .text */ |
325 | 327 |
.mypage .book-blue .text { |
326 |
- background-color: #2d7dd2; |
|
328 |
+ background-color: #2d7dd2; |
|
327 | 329 |
} |
328 | 330 |
.mypage .book-navy .text { |
329 |
- background-color: #3066be; |
|
331 |
+ background-color: #3066be; |
|
330 | 332 |
} |
331 | 333 |
.mypage .book-gray > .text { |
332 |
- background-color: #f7f8f9; |
|
334 |
+ background-color: #f7f8f9; |
|
333 | 335 |
} |
334 | 336 |
|
335 | 337 |
.mypage .book-purple > .text { |
336 |
- background-color: #9528b7; |
|
338 |
+ background-color: #9528b7; |
|
337 | 339 |
} |
338 | 340 |
|
339 | 341 |
.mypage .textbook .box { |
340 |
- text-align: center; |
|
341 |
- padding: 10px; |
|
342 |
+ text-align: center; |
|
343 |
+ padding: 10px; |
|
342 | 344 |
} |
343 | 345 |
.mypage .book-red { |
344 |
- border: #db2b39 solid 6px; |
|
346 |
+ border: #db2b39 solid 6px; |
|
345 | 347 |
} |
346 | 348 |
/* .mypage .textbook:nth-child(2) .text */ |
347 | 349 |
.mypage .book-blue { |
348 |
- border: #2d7dd2 solid 6px; |
|
350 |
+ border: #2d7dd2 solid 6px; |
|
349 | 351 |
} |
350 | 352 |
.mypage .book-navy { |
351 |
- border: #3066be solid 6px; |
|
353 |
+ border: #3066be solid 6px; |
|
352 | 354 |
} |
353 | 355 |
.mypage .book-gray { |
354 |
- border: #8c8e92 solid 1px; |
|
356 |
+ border: #8c8e92 solid 1px; |
|
355 | 357 |
} |
356 | 358 |
.mypage .book-purple { |
357 |
- border: #9528b7 solid 6px; |
|
359 |
+ border: #9528b7 solid 6px; |
|
358 | 360 |
} |
359 | 361 |
|
360 | 362 |
.mypage em.orange { |
361 |
- color: #ffba08; |
|
363 |
+ color: #ffba08; |
|
362 | 364 |
} |
363 | 365 |
|
364 | 366 |
.mypage em.navy { |
365 |
- color: #3066be; |
|
367 |
+ color: #3066be; |
|
366 | 368 |
} |
367 | 369 |
|
368 | 370 |
.mypage em.blue { |
369 |
- color: #2d7dd2; |
|
371 |
+ color: #2d7dd2; |
|
370 | 372 |
} |
371 | 373 |
|
372 | 374 |
.mypage em.red { |
373 |
- color: #db2b39; |
|
375 |
+ color: #db2b39; |
|
374 | 376 |
} |
375 | 377 |
|
376 | 378 |
.mypage em.purple { |
377 |
- color: #9528b7; |
|
379 |
+ color: #9528b7; |
|
378 | 380 |
} |
379 | 381 |
|
380 | 382 |
.myphoto > div { |
381 |
- background-image: url('../img/img207_15s.png'); |
|
382 |
- width: 1011px; |
|
383 |
- height: 558px; |
|
384 |
- padding: 30px 60px; |
|
385 |
- margin: 0 auto; |
|
383 |
+ background-image: url("../img/img207_15s.png"); |
|
384 |
+ width: 1011px; |
|
385 |
+ height: 558px; |
|
386 |
+ padding: 30px 60px; |
|
387 |
+ margin: 0 auto; |
|
386 | 388 |
} |
387 | 389 |
.tab-btn { |
388 |
- position: relative; |
|
389 |
- color: #568bfa; |
|
390 |
+ position: relative; |
|
391 |
+ color: #568bfa; |
|
390 | 392 |
} |
391 | 393 |
.tab-btn p.custom-style { |
392 |
- color: #fff; |
|
394 |
+ color: #fff; |
|
393 | 395 |
} |
394 | 396 |
|
395 | 397 |
.tab-btn p { |
396 |
- position: absolute; |
|
397 |
- top: 46%; |
|
398 |
- right: 7%; |
|
399 |
- transform: translate(-50%, -50%); |
|
400 |
- font-family: 'ONEMobilePOPOTF'; |
|
401 |
- font-size: 36px; |
|
398 |
+ position: absolute; |
|
399 |
+ top: 46%; |
|
400 |
+ right: 7%; |
|
401 |
+ transform: translate(-50%, -50%); |
|
402 |
+ font-family: "ONEMobilePOPOTF"; |
|
403 |
+ font-size: 36px; |
|
402 | 404 |
} |
403 | 405 |
.myphoto .btnGroup { |
404 |
- width: max-content; |
|
405 |
- position: absolute; |
|
406 |
- right: 45px; |
|
407 |
- z-index: 10000; |
|
406 |
+ width: max-content; |
|
407 |
+ position: absolute; |
|
408 |
+ right: 45px; |
|
409 |
+ z-index: 10000; |
|
408 | 410 |
} |
409 | 411 |
.myphoto .class { |
410 |
- border-radius: 0px; |
|
411 |
- padding: 10px; |
|
412 |
+ border-radius: 0px; |
|
413 |
+ padding: 10px; |
|
412 | 414 |
} |
413 | 415 |
.myphoto .class .box { |
414 |
- background-color: transparent; |
|
415 |
- border-radius: 0px; |
|
416 |
- padding: 0; |
|
416 |
+ background-color: transparent; |
|
417 |
+ border-radius: 0px; |
|
418 |
+ padding: 0; |
|
417 | 419 |
} |
418 | 420 |
.myphoto .class .member::before { |
419 |
- content: ''; |
|
420 |
- background-image: url('../img/btn47_15s_normal.png'); |
|
421 |
- width: 16px; |
|
422 |
- height: 14px; |
|
423 |
- position: absolute; |
|
424 |
- left: -28px; |
|
425 |
- top: 4px; |
|
421 |
+ content: ""; |
|
422 |
+ background-image: url("../img/btn47_15s_normal.png"); |
|
423 |
+ width: 16px; |
|
424 |
+ height: 14px; |
|
425 |
+ position: absolute; |
|
426 |
+ left: -28px; |
|
427 |
+ top: 4px; |
|
426 | 428 |
} |
427 | 429 |
.myphoto .photo { |
428 |
- cursor: pointer; |
|
430 |
+ cursor: pointer; |
|
429 | 431 |
} |
430 | 432 |
.myphoto .photo .title2 { |
431 |
- color: #8c8e92; |
|
433 |
+ color: #8c8e92; |
|
432 | 434 |
} |
433 | 435 |
.myphoto .tab-box { |
434 |
- margin: 40px 0px 20px 50px; |
|
436 |
+ margin: 40px 0px 20px 50px; |
|
435 | 437 |
} |
436 | 438 |
.myphoto .photo:hover .class { |
437 |
- transform: rotate(2deg); |
|
439 |
+ transform: rotate(2deg); |
|
438 | 440 |
} |
439 | 441 |
.myphoto .popup-wrap .date { |
440 |
- position: relative; |
|
442 |
+ position: relative; |
|
441 | 443 |
} |
442 | 444 |
.myphoto .popup-wrap .date::before { |
443 |
- content: ''; |
|
444 |
- background-image: url('../img/img183_91t.png'); |
|
445 |
- width: 20px; |
|
446 |
- height: 22px; |
|
447 |
- position: absolute; |
|
448 |
- left: -28px; |
|
445 |
+ content: ""; |
|
446 |
+ background-image: url("../img/img183_91t.png"); |
|
447 |
+ width: 20px; |
|
448 |
+ height: 22px; |
|
449 |
+ position: absolute; |
|
450 |
+ left: -28px; |
|
449 | 451 |
} |
450 | 452 |
/* 학습일정계획 */ |
451 | 453 |
.myplan .popup-wrap article { |
452 |
- max-height: 400px; |
|
453 |
- overflow-x: auto; |
|
454 |
+ max-height: 400px; |
|
455 |
+ overflow-x: auto; |
|
454 | 456 |
} |
455 | 457 |
.myplan { |
456 |
- padding-right: 10px; |
|
458 |
+ padding-right: 10px; |
|
457 | 459 |
} |
458 | 460 |
.myplan .yellow-box { |
459 |
- background-color: #fff8e9; |
|
460 |
- border: 1px solid #ffba08; |
|
461 |
- padding: 4rem; |
|
462 |
- position: relative; |
|
463 |
- border-radius: 10px; |
|
461 |
+ background-color: #fff8e9; |
|
462 |
+ border: 1px solid #ffba08; |
|
463 |
+ padding: 4rem; |
|
464 |
+ position: relative; |
|
465 |
+ border-radius: 10px; |
|
464 | 466 |
} |
465 | 467 |
.yellow-btn { |
466 |
- background-image: url('../img/btn08_s.png'); |
|
467 |
- width: 181px; |
|
468 |
- height: 60px; |
|
469 |
- padding: 5px 20px; |
|
470 |
- font-size: 28px; |
|
471 |
- font-family: 'ONEMobilePOP'; |
|
468 |
+ background-image: url("../img/btn08_s.png"); |
|
469 |
+ width: 181px; |
|
470 |
+ height: 60px; |
|
471 |
+ padding: 5px 20px; |
|
472 |
+ font-size: 28px; |
|
473 |
+ font-family: "ONEMobilePOP"; |
|
472 | 474 |
} |
473 | 475 |
.myplan .table-wrap .title2 { |
474 |
- color: #464749; |
|
476 |
+ color: #464749; |
|
475 | 477 |
} |
476 |
-.myplan input[type='checkbox'] { |
|
477 |
- width: 30px; |
|
478 |
- height: 30px; |
|
478 |
+.myplan input[type="checkbox"] { |
|
479 |
+ width: 30px; |
|
480 |
+ height: 30px; |
|
479 | 481 |
} |
480 | 482 |
.myplan .ui-checkbox::before { |
481 |
- width: 11px; |
|
482 |
- height: 14px; |
|
483 |
+ width: 11px; |
|
484 |
+ height: 14px; |
|
483 | 485 |
} |
484 | 486 |
.myplan table tr { |
485 |
- border-top: #c6c6c6 1px solid; |
|
486 |
- border-bottom: #c6c6c6 1px solid; |
|
487 |
+ border-top: #c6c6c6 1px solid; |
|
488 |
+ border-bottom: #c6c6c6 1px solid; |
|
487 | 489 |
} |
488 | 490 |
.myplan .imgGroup img { |
489 |
- width: 349px; |
|
490 |
- height: 312px; |
|
491 |
+ width: 349px; |
|
492 |
+ height: 312px; |
|
491 | 493 |
} |
494 |
+ |
|
492 | 495 |
/* 대시보드 */ |
493 | 496 |
.main { |
494 |
- max-height: 600px; |
|
495 |
- overflow: auto; |
|
497 |
+ max-height: 600px; |
|
498 |
+ overflow: auto; |
|
496 | 499 |
} |
497 | 500 |
|
498 | 501 |
.main .race-wrap { |
499 |
- background-image: url('../img/img20_1_s.png'); |
|
500 |
- background-repeat: no-repeat; |
|
501 |
- width: 1242px; |
|
502 |
- height: 599px; |
|
503 |
- position: relative; |
|
502 |
+ background-image: url("../img/new_img/board/background.png"); |
|
503 |
+ background-repeat: no-repeat; |
|
504 |
+ width: 1249px; |
|
505 |
+ height: 653px; |
|
506 |
+ position: relative; |
|
507 |
+} |
|
508 |
+ |
|
509 |
+.main .race-wrap-ai { |
|
510 |
+ background-image: url("../img/new_img/ai_board/background.png"); |
|
511 |
+ background-repeat: no-repeat; |
|
512 |
+ width: 1249px; |
|
513 |
+ height: 653px; |
|
514 |
+ position: relative; |
|
504 | 515 |
} |
505 | 516 |
|
506 | 517 |
.complete-wrap { |
507 |
- width: 1244px; |
|
508 |
- height: 617px; |
|
518 |
+ width: 1244px; |
|
519 |
+ height: 617px; |
|
509 | 520 |
} |
510 | 521 |
|
511 | 522 |
button p { |
512 |
- font-family: 'ONEMobilePOPOTF'; |
|
513 |
- width: max-content; |
|
523 |
+ font-family: "ONEMobilePOPOTF"; |
|
524 |
+ width: max-content; |
|
514 | 525 |
} |
515 | 526 |
|
516 | 527 |
.race-wrap .title-box { |
517 |
- position: absolute; |
|
518 |
- top: -3px; |
|
519 |
- left: 50px; |
|
520 |
- text-align: center; |
|
521 |
- background-image: url('../img/img15_s.png'); |
|
522 |
- width: 336px; |
|
523 |
- height: 145px; |
|
528 |
+ position: absolute; |
|
529 |
+ top: -3px; |
|
530 |
+ left: 50px; |
|
531 |
+ text-align: center; |
|
532 |
+ background-image: url("../img/img15_s.png"); |
|
533 |
+ width: 336px; |
|
534 |
+ height: 145px; |
|
524 | 535 |
} |
525 | 536 |
|
526 | 537 |
.race-wrap .title-box .title { |
527 |
- font-size: 32px; |
|
528 |
- font-family: 'ONEMobilePOPOTF'; |
|
538 |
+ font-size: 32px; |
|
539 |
+ font-family: "ONEMobilePOPOTF"; |
|
529 | 540 |
} |
530 | 541 |
|
531 | 542 |
.race-wrap .title-box .subtitle { |
532 |
- font-size: 16px; |
|
533 |
- background-color: #441e03; |
|
534 |
- color: #fff; |
|
535 |
- padding: 5px 15px; |
|
536 |
- width: fit-content; |
|
537 |
- border-radius: 20px; |
|
538 |
- display: inline-block; |
|
539 |
- font-family: 'ONEMobileOTF-Bold'; |
|
543 |
+ font-size: 16px; |
|
544 |
+ background-color: #441e03; |
|
545 |
+ color: #fff; |
|
546 |
+ padding: 5px 15px; |
|
547 |
+ width: fit-content; |
|
548 |
+ border-radius: 20px; |
|
549 |
+ display: inline-block; |
|
550 |
+ font-family: "ONEMobileOTF-Bold"; |
|
540 | 551 |
} |
541 | 552 |
.race-wrap .title-box .subtitle2 { |
542 | 553 |
} |
543 | 554 |
.race-box { |
544 |
- width: 1063px; |
|
545 |
- height: 516px; |
|
546 |
- position: absolute; |
|
547 |
- left: 114px; |
|
548 |
- top: 60px; |
|
555 |
+ width: 1063px; |
|
556 |
+ height: 516px; |
|
557 |
+ position: absolute; |
|
558 |
+ left: 114px; |
|
559 |
+ top: 60px; |
|
549 | 560 |
} |
550 | 561 |
|
551 | 562 |
.race-box .rcon, |
552 | 563 |
.race-box .lcon { |
553 |
- gap: 42px; |
|
554 |
- width: 1063px; |
|
564 |
+ gap: 128px; |
|
565 |
+ width: 1125px; |
|
555 | 566 |
} |
556 | 567 |
|
557 | 568 |
.rabbit-start { |
558 |
- position: absolute; |
|
559 |
- top: -45px; |
|
560 |
- left: 393px; |
|
569 |
+ position: absolute; |
|
570 |
+ top: -30px; |
|
571 |
+ left: 556px; |
|
561 | 572 |
} |
562 | 573 |
.rabbit-end { |
563 |
- position: absolute; |
|
564 |
- bottom: 24px; |
|
565 |
- right: 40px; |
|
574 |
+ position: absolute; |
|
575 |
+ bottom: 24px; |
|
576 |
+ right: 40px; |
|
566 | 577 |
} |
567 | 578 |
|
568 | 579 |
.rabbit img { |
569 |
- transform: scaleX(-1); |
|
580 |
+ transform: scaleX(-1); |
|
570 | 581 |
} |
571 | 582 |
|
572 | 583 |
.race-btn { |
573 |
- position: relative; |
|
574 |
- cursor: pointer; |
|
584 |
+ position: relative; |
|
585 |
+ cursor: pointer; |
|
586 |
+ display: flex; |
|
587 |
+ flex-direction: column; |
|
588 |
+ align-items: center; |
|
575 | 589 |
} |
576 | 590 |
|
577 |
-.race-btn p { |
|
578 |
- position: absolute; |
|
579 |
- text-align: center; |
|
580 |
- width: 76px; |
|
581 |
- top: 16px; |
|
582 |
- right: 9px; |
|
583 |
- font-family: 'ONEMobilePOPOTF'; |
|
584 |
- font-size: 28px; |
|
585 |
- color: #3a241d; |
|
591 |
+.race-btn p, |
|
592 |
+.race-btn .popTxt p { |
|
593 |
+ position: absolute; |
|
594 |
+ text-align: center; |
|
595 |
+ width: fit-content; |
|
596 |
+ /* top: 16px; */ |
|
597 |
+ /* right: 9px; */ |
|
598 |
+ font-family: "ONEMobilePOPOTF"; |
|
599 |
+ font-size: 28px; |
|
600 |
+ color: #3a241d; |
|
601 |
+ white-space: nowrap; |
|
586 | 602 |
} |
587 | 603 |
|
588 | 604 |
.race-btn p.long { |
589 |
- width: fit-content; |
|
605 |
+ width: fit-content; |
|
590 | 606 |
} |
591 | 607 |
/* .popup-yellow{ |
592 | 608 |
background-image: url('../img/img139_72s.png'); |
... | ... | @@ -597,831 +613,831 @@ |
597 | 613 |
} */ |
598 | 614 |
/* 사진촬영 */ |
599 | 615 |
.camera { |
600 |
- background-color: #000; |
|
616 |
+ background-color: #000; |
|
601 | 617 |
} |
602 | 618 |
.camera .header { |
603 |
- height: 110px; |
|
604 |
- background-color: #eaedf4; |
|
605 |
- padding: 0 60px; |
|
619 |
+ height: 110px; |
|
620 |
+ background-color: #eaedf4; |
|
621 |
+ padding: 0 60px; |
|
606 | 622 |
} |
607 | 623 |
.camera .body { |
608 |
- width: 1435px; |
|
609 |
- height: 810px; |
|
610 |
- margin: 0 auto; |
|
624 |
+ width: 1435px; |
|
625 |
+ height: 810px; |
|
626 |
+ margin: 0 auto; |
|
611 | 627 |
} |
612 | 628 |
.stickers button { |
613 |
- margin: 5px; |
|
614 |
- text-align: center; |
|
629 |
+ margin: 5px; |
|
630 |
+ text-align: center; |
|
615 | 631 |
} |
616 | 632 |
.frame { |
617 |
- background-image: url('../img/img142_76s.png'); |
|
618 |
- width: 993px; |
|
619 |
- height: 634px; |
|
620 |
- padding: 55px; |
|
621 |
- text-align: center; |
|
633 |
+ background-image: url("../img/img142_76s.png"); |
|
634 |
+ width: 993px; |
|
635 |
+ height: 634px; |
|
636 |
+ padding: 55px; |
|
637 |
+ text-align: center; |
|
622 | 638 |
} |
623 | 639 |
.frame .photo { |
624 |
- width: 845px; |
|
625 |
- height: 476px; |
|
626 |
- margin: 0 auto; |
|
640 |
+ width: 845px; |
|
641 |
+ height: 476px; |
|
642 |
+ margin: 0 auto; |
|
627 | 643 |
} |
628 | 644 |
.frame .photo img { |
629 |
- width: inherit; |
|
645 |
+ width: inherit; |
|
630 | 646 |
} |
631 | 647 |
/* 학습을 마친 친구들 */ |
632 | 648 |
.complete-wrap h2 { |
633 |
- font-size: 32px; |
|
634 |
- color: #331600; |
|
635 |
- font-family: 'ONEMobilePOPOTF'; |
|
636 |
- font-weight: 100; |
|
649 |
+ font-size: 32px; |
|
650 |
+ color: #331600; |
|
651 |
+ font-family: "ONEMobilePOPOTF"; |
|
652 |
+ font-weight: 100; |
|
637 | 653 |
} |
638 | 654 |
.complete-wrap img { |
639 |
- width: inherit; |
|
655 |
+ width: inherit; |
|
640 | 656 |
} |
641 | 657 |
.complete-wrap .photo { |
642 |
- cursor: pointer; |
|
643 |
- width: 200px; |
|
644 |
- height: 130px; |
|
658 |
+ cursor: pointer; |
|
659 |
+ width: 200px; |
|
660 |
+ height: 130px; |
|
645 | 661 |
} |
646 | 662 |
/* 챕터 */ |
647 | 663 |
.time-hint { |
648 |
- position: absolute; |
|
649 |
- top: 50px; |
|
650 |
- right: 50px; |
|
651 |
- text-align: center; |
|
664 |
+ position: absolute; |
|
665 |
+ top: 50px; |
|
666 |
+ right: 50px; |
|
667 |
+ text-align: center; |
|
652 | 668 |
} |
653 | 669 |
.hint-btn { |
654 |
- background-image: url('../img/btn01.png'); |
|
655 |
- width: 110px; |
|
656 |
- height: 45px; |
|
657 |
- padding: 5px 20px; |
|
658 |
- font-size: 28px; |
|
659 |
- font-family: 'ONEMobilePOP'; |
|
670 |
+ background-image: url("../img/btn01.png"); |
|
671 |
+ width: 110px; |
|
672 |
+ height: 45px; |
|
673 |
+ padding: 5px 20px; |
|
674 |
+ font-size: 28px; |
|
675 |
+ font-family: "ONEMobilePOP"; |
|
660 | 676 |
} |
661 | 677 |
.content-wrap { |
662 |
- margin: 10px 60px 0 60px; |
|
678 |
+ margin: 10px 60px 0 60px; |
|
663 | 679 |
} |
664 | 680 |
|
665 | 681 |
.content-wrap::before { |
666 |
- /* background-image: url('../img/logo2.png'); */ |
|
667 |
- background-size: 155px 58px; |
|
668 |
- width: 155px; |
|
669 |
- height: 58px; |
|
670 |
- content: ''; |
|
671 |
- display: block; |
|
672 |
- position: absolute; |
|
673 |
- top: -72px; |
|
682 |
+ /* background-image: url('../img/logo2.png'); */ |
|
683 |
+ background-size: 155px 58px; |
|
684 |
+ width: 155px; |
|
685 |
+ height: 58px; |
|
686 |
+ content: ""; |
|
687 |
+ display: block; |
|
688 |
+ position: absolute; |
|
689 |
+ top: -72px; |
|
674 | 690 |
} |
675 | 691 |
|
676 | 692 |
.content-wrap > .title-box { |
677 |
- margin-left: 75px; |
|
693 |
+ margin-left: 75px; |
|
678 | 694 |
} |
679 | 695 |
|
680 | 696 |
.content p.title-bg { |
681 |
- width: max-content; |
|
682 |
- height: max-content; |
|
683 |
- background: linear-gradient(to right, #eaedf4, rgba(255, 255, 255, 0)); |
|
684 |
- padding: 20px 60px; |
|
685 |
- margin-bottom: 30px; |
|
697 |
+ width: max-content; |
|
698 |
+ height: max-content; |
|
699 |
+ background: linear-gradient(to right, #eaedf4, rgba(255, 255, 255, 0)); |
|
700 |
+ padding: 20px 60px; |
|
701 |
+ margin-bottom: 30px; |
|
686 | 702 |
} |
687 | 703 |
|
688 | 704 |
.content { |
689 |
- position: relative; |
|
690 |
- box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); |
|
691 |
- width: 93%; |
|
692 |
- height: 710px; |
|
693 |
- background-color: #fff; |
|
694 |
- border-radius: 20px; |
|
705 |
+ position: relative; |
|
706 |
+ box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); |
|
707 |
+ width: 93%; |
|
708 |
+ height: 710px; |
|
709 |
+ background-color: #fff; |
|
710 |
+ border-radius: 20px; |
|
695 | 711 |
} |
696 | 712 |
|
697 | 713 |
/* step1 */ |
698 | 714 |
.videoCon { |
699 |
- position: relative; |
|
700 |
- text-align: center; |
|
701 |
- width: 100%; |
|
702 |
- display: inline-block; |
|
715 |
+ position: relative; |
|
716 |
+ text-align: center; |
|
717 |
+ width: 100%; |
|
718 |
+ display: inline-block; |
|
703 | 719 |
} |
704 | 720 |
|
705 | 721 |
.videoCon .videoStart { |
706 |
- position: absolute; |
|
707 |
- top: 50%; |
|
708 |
- left: 50%; |
|
709 |
- transform: translateY(-50%) translateX(-50%); |
|
722 |
+ position: absolute; |
|
723 |
+ top: 50%; |
|
724 |
+ left: 50%; |
|
725 |
+ transform: translateY(-50%) translateX(-50%); |
|
710 | 726 |
} |
711 | 727 |
|
712 | 728 |
.look-text { |
713 |
- position: absolute; |
|
714 |
- right: 60px; |
|
715 |
- bottom: 0; |
|
729 |
+ position: absolute; |
|
730 |
+ right: 60px; |
|
731 |
+ bottom: 0; |
|
716 | 732 |
} |
717 | 733 |
|
718 | 734 |
.look-text button { |
719 |
- position: relative; |
|
735 |
+ position: relative; |
|
720 | 736 |
} |
721 | 737 |
|
722 | 738 |
.look-text p { |
723 |
- position: absolute; |
|
724 |
- top: 45%; |
|
725 |
- left: 50%; |
|
726 |
- transform: translate(-50%, -50%); |
|
727 |
- font-size: 28px; |
|
739 |
+ position: absolute; |
|
740 |
+ top: 45%; |
|
741 |
+ left: 50%; |
|
742 |
+ transform: translate(-50%, -50%); |
|
743 |
+ font-size: 28px; |
|
728 | 744 |
} |
729 | 745 |
|
730 | 746 |
/* step1-1 */ |
731 | 747 |
.imgGroup, |
732 | 748 |
.textareaGroup { |
733 |
- width: 100%; |
|
734 |
- text-align: center; |
|
749 |
+ width: 100%; |
|
750 |
+ text-align: center; |
|
735 | 751 |
} |
736 | 752 |
|
737 | 753 |
.textareaGroup { |
738 |
- margin-top: 40px; |
|
754 |
+ margin-top: 40px; |
|
739 | 755 |
} |
740 | 756 |
|
741 | 757 |
.textareaGroup textarea { |
742 |
- width: 1460px; |
|
743 |
- height: 200px; |
|
744 |
- background-color: #eff2f7; |
|
745 |
- border-radius: 10px; |
|
746 |
- padding: 30px 40px; |
|
747 |
- line-height: 30px; |
|
748 |
- font-size: 24px; |
|
749 |
- font-family: 'Pretendard-Regular'; |
|
758 |
+ width: 1460px; |
|
759 |
+ height: 200px; |
|
760 |
+ background-color: #eff2f7; |
|
761 |
+ border-radius: 10px; |
|
762 |
+ padding: 30px 40px; |
|
763 |
+ line-height: 30px; |
|
764 |
+ font-size: 24px; |
|
765 |
+ font-family: "Pretendard-Regular"; |
|
750 | 766 |
} |
751 | 767 |
|
752 | 768 |
/* step1-1-팝업 */ |
753 | 769 |
.popup { |
754 |
- /* display: none; */ |
|
755 |
- position: absolute; |
|
756 |
- width: 355px; |
|
757 |
- height: 327px; |
|
758 |
- background-color: white; |
|
759 |
- border: 3px solid #ffbd14; |
|
760 |
- border-radius: 10px; |
|
761 |
- padding: 20px 40px; |
|
770 |
+ /* display: none; */ |
|
771 |
+ position: absolute; |
|
772 |
+ width: 355px; |
|
773 |
+ height: 327px; |
|
774 |
+ background-color: white; |
|
775 |
+ border: 3px solid #ffbd14; |
|
776 |
+ border-radius: 10px; |
|
777 |
+ padding: 20px 40px; |
|
762 | 778 |
} |
763 | 779 |
|
764 | 780 |
.popup h3 { |
765 |
- font-size: 42px; |
|
781 |
+ font-size: 42px; |
|
766 | 782 |
} |
767 | 783 |
|
768 | 784 |
.popup .yellow-box { |
769 |
- width: 33px; |
|
770 |
- height: 33px; |
|
771 |
- color: #ffba08; |
|
772 |
- background-color: #fff3d7; |
|
773 |
- padding: 7px; |
|
774 |
- border-radius: 5px; |
|
775 |
- margin-right: 10px; |
|
785 |
+ width: 33px; |
|
786 |
+ height: 33px; |
|
787 |
+ color: #ffba08; |
|
788 |
+ background-color: #fff3d7; |
|
789 |
+ padding: 7px; |
|
790 |
+ border-radius: 5px; |
|
791 |
+ margin-right: 10px; |
|
776 | 792 |
} |
777 | 793 |
|
778 | 794 |
/* step1-2 */ |
779 | 795 |
.readGroup h4 { |
780 |
- font-size: 20px; |
|
781 |
- margin-bottom: 10px; |
|
796 |
+ font-size: 20px; |
|
797 |
+ margin-bottom: 10px; |
|
782 | 798 |
} |
783 | 799 |
.readGroup > div { |
784 |
- background-image: url('../img/img38_1_s.png'); |
|
785 |
- width: 1282px; |
|
786 |
- height: 492px; |
|
787 |
- padding: 10px; |
|
800 |
+ background-image: url("../img/img38_1_s.png"); |
|
801 |
+ width: 1282px; |
|
802 |
+ height: 492px; |
|
803 |
+ padding: 10px; |
|
788 | 804 |
} |
789 | 805 |
.readGroup .textbox { |
790 |
- height: calc(100% - 51px); |
|
791 |
- overflow-y: auto; |
|
792 |
- padding: 20px; |
|
806 |
+ height: calc(100% - 51px); |
|
807 |
+ overflow-y: auto; |
|
808 |
+ padding: 20px; |
|
793 | 809 |
} |
794 | 810 |
.readGroup .icon { |
795 |
- text-align: center; |
|
811 |
+ text-align: center; |
|
796 | 812 |
} |
797 | 813 |
|
798 | 814 |
.readGroup p.read { |
799 |
- width: max-content; |
|
800 |
- border-radius: 10px; |
|
801 |
- font-size: 24px; |
|
802 |
- font-family: 'Pretendard-Regular'; |
|
803 |
- background-color: #eaedf4; |
|
804 |
- padding: 10px 20px; |
|
815 |
+ width: max-content; |
|
816 |
+ border-radius: 10px; |
|
817 |
+ font-size: 24px; |
|
818 |
+ font-family: "Pretendard-Regular"; |
|
819 |
+ background-color: #eaedf4; |
|
820 |
+ padding: 10px 20px; |
|
805 | 821 |
} |
806 | 822 |
|
807 | 823 |
/* step1-3 */ |
808 | 824 |
.listenGroup .title-bg { |
809 |
- position: absolute; |
|
810 |
- z-index: 1; |
|
825 |
+ position: absolute; |
|
826 |
+ z-index: 1; |
|
811 | 827 |
} |
812 | 828 |
|
813 | 829 |
.listenGroup img.bg { |
814 |
- position: absolute; |
|
815 |
- top: 0; |
|
816 |
- width: 100%; |
|
817 |
- height: 710px; |
|
830 |
+ position: absolute; |
|
831 |
+ top: 0; |
|
832 |
+ width: 100%; |
|
833 |
+ height: 710px; |
|
818 | 834 |
} |
819 | 835 |
|
820 | 836 |
.listenGroup .listen-btn { |
821 |
- position: absolute; |
|
822 |
- top: 77%; |
|
823 |
- left: 50%; |
|
824 |
- transform: translateY(-50%) translateX(-50%); |
|
837 |
+ position: absolute; |
|
838 |
+ top: 77%; |
|
839 |
+ left: 50%; |
|
840 |
+ transform: translateY(-50%) translateX(-50%); |
|
825 | 841 |
} |
826 | 842 |
|
827 | 843 |
.listenGroup .textbox { |
828 |
- position: absolute; |
|
829 |
- top: 45%; |
|
830 |
- left: 31%; |
|
831 |
- transform: translate(-50%, -50%); |
|
832 |
- /* width: 900px; */ |
|
844 |
+ position: absolute; |
|
845 |
+ top: 45%; |
|
846 |
+ left: 31%; |
|
847 |
+ transform: translate(-50%, -50%); |
|
848 |
+ /* width: 900px; */ |
|
833 | 849 |
} |
834 | 850 |
.dropGroup .textbox { |
835 |
- position: absolute; |
|
836 |
- top: 45%; |
|
837 |
- left: 53%; |
|
838 |
- transform: translate(-50%, -50%); |
|
839 |
- /* width: 900px; */ |
|
851 |
+ position: absolute; |
|
852 |
+ top: 45%; |
|
853 |
+ left: 53%; |
|
854 |
+ transform: translate(-50%, -50%); |
|
855 |
+ /* width: 900px; */ |
|
840 | 856 |
} |
841 | 857 |
|
842 | 858 |
.listenGroup .textbox p { |
843 |
- font-size: 28px; |
|
844 |
- line-height: 45px; |
|
845 |
- width: 100%; |
|
859 |
+ font-size: 28px; |
|
860 |
+ line-height: 45px; |
|
861 |
+ width: 100%; |
|
846 | 862 |
} |
847 | 863 |
p.textbox { |
848 |
- width: 100%; |
|
864 |
+ width: 100%; |
|
849 | 865 |
} |
850 | 866 |
.listenGroup p.title { |
851 |
- font-size: 42px; |
|
852 |
- text-shadow: 0px 0px 0 #fff, 0px 0px 0 #fff, 0px 0px 0 #fff, 0px 0px 0 #fff; |
|
853 |
- -webkit-text-stroke-width: 0px; |
|
854 |
- -webkit-text-stroke-color: #fff; |
|
855 |
- font-family: 'ONEMobilePOP'; |
|
856 |
- margin-bottom: 25px; |
|
867 |
+ font-size: 42px; |
|
868 |
+ text-shadow: 0px 0px 0 #fff, 0px 0px 0 #fff, 0px 0px 0 #fff, 0px 0px 0 #fff; |
|
869 |
+ -webkit-text-stroke-width: 0px; |
|
870 |
+ -webkit-text-stroke-color: #fff; |
|
871 |
+ font-family: "ONEMobilePOP"; |
|
872 |
+ margin-bottom: 25px; |
|
857 | 873 |
} |
858 | 874 |
|
859 | 875 |
/* step2 */ |
860 | 876 |
.vocaGroup { |
861 |
- width: 1380px; |
|
877 |
+ width: 1380px; |
|
862 | 878 |
} |
863 | 879 |
.vocaGroup h3 { |
864 |
- font-size: 42px; |
|
880 |
+ font-size: 42px; |
|
865 | 881 |
} |
866 | 882 |
|
867 | 883 |
.vocaGroup .yellow-box { |
868 |
- width: 33px; |
|
869 |
- height: 33px; |
|
870 |
- color: #ffba08; |
|
871 |
- background-color: #fff3d7; |
|
872 |
- padding: 7px; |
|
873 |
- border-radius: 5px; |
|
874 |
- margin-right: 10px; |
|
884 |
+ width: 33px; |
|
885 |
+ height: 33px; |
|
886 |
+ color: #ffba08; |
|
887 |
+ background-color: #fff3d7; |
|
888 |
+ padding: 7px; |
|
889 |
+ border-radius: 5px; |
|
890 |
+ margin-right: 10px; |
|
875 | 891 |
} |
876 | 892 |
|
877 | 893 |
.vocaGroup .imgGroup { |
878 |
- width: max-content; |
|
894 |
+ width: max-content; |
|
879 | 895 |
} |
880 | 896 |
|
881 | 897 |
/* step2_1 */ |
882 | 898 |
.mic-btn { |
883 |
- position: relative; |
|
884 |
- background-image: url('../img/img44_s.png'); |
|
885 |
- width: 315px; |
|
886 |
- height: 315px; |
|
899 |
+ position: relative; |
|
900 |
+ background-image: url("../img/img44_s.png"); |
|
901 |
+ width: 315px; |
|
902 |
+ height: 315px; |
|
887 | 903 |
} |
888 | 904 |
.mic-btn img { |
889 |
- position: absolute; |
|
890 |
- top: 50%; |
|
891 |
- left: 50%; |
|
892 |
- transform: translate(-50%, -50%); |
|
905 |
+ position: absolute; |
|
906 |
+ top: 50%; |
|
907 |
+ left: 50%; |
|
908 |
+ transform: translate(-50%, -50%); |
|
893 | 909 |
} |
894 | 910 |
|
895 | 911 |
.readGroup section p, |
896 | 912 |
.readGroup section input { |
897 |
- width: 780px; |
|
898 |
- height: 65px; |
|
899 |
- border-radius: 10px; |
|
900 |
- padding: 20px; |
|
901 |
- text-align: center; |
|
902 |
- font-size: 28px; |
|
913 |
+ width: 780px; |
|
914 |
+ height: 65px; |
|
915 |
+ border-radius: 10px; |
|
916 |
+ padding: 20px; |
|
917 |
+ text-align: center; |
|
918 |
+ font-size: 28px; |
|
903 | 919 |
} |
904 | 920 |
|
905 | 921 |
/* step2_2 */ |
906 | 922 |
.popTxt { |
907 |
- position: relative; |
|
923 |
+ position: relative; |
|
908 | 924 |
} |
909 | 925 |
|
910 | 926 |
h4 { |
911 |
- font-size: 20px; |
|
927 |
+ font-size: 20px; |
|
912 | 928 |
} |
913 | 929 |
|
914 | 930 |
input.speak { |
915 |
- background-color: #fff8e9; |
|
916 |
- border: 0; |
|
931 |
+ background-color: #fff8e9; |
|
932 |
+ border: 0; |
|
917 | 933 |
} |
918 | 934 |
p.read-ai { |
919 |
- border: 3px solid #ffba08; |
|
935 |
+ border: 3px solid #ffba08; |
|
920 | 936 |
} |
921 | 937 |
|
922 | 938 |
/* step2_3 */ |
923 | 939 |
.yellow-box-big { |
924 |
- width: 60px; |
|
925 |
- height: 60px; |
|
926 |
- color: #ffba08; |
|
927 |
- background-color: #fff3d7; |
|
928 |
- padding: 13px; |
|
929 |
- border-radius: 10px; |
|
930 |
- margin-right: 10px; |
|
931 |
- font-size: 32px; |
|
940 |
+ width: 60px; |
|
941 |
+ height: 60px; |
|
942 |
+ color: #ffba08; |
|
943 |
+ background-color: #fff3d7; |
|
944 |
+ padding: 13px; |
|
945 |
+ border-radius: 10px; |
|
946 |
+ margin-right: 10px; |
|
947 |
+ font-size: 32px; |
|
932 | 948 |
} |
933 | 949 |
.btnGroup { |
934 |
- width: 560px; |
|
950 |
+ width: 560px; |
|
935 | 951 |
} |
936 | 952 |
.time-bg { |
937 |
- text-align: center; |
|
938 |
- font-family: 'neodgm'; |
|
939 |
- background-image: url('../img/img55_s.png'); |
|
940 |
- width: 110px; |
|
941 |
- height: 128px; |
|
953 |
+ text-align: center; |
|
954 |
+ font-family: "neodgm"; |
|
955 |
+ background-image: url("../img/img55_s.png"); |
|
956 |
+ width: 110px; |
|
957 |
+ height: 128px; |
|
942 | 958 |
} |
943 | 959 |
.time-bg > div { |
944 |
- position: relative; |
|
960 |
+ position: relative; |
|
945 | 961 |
} |
946 | 962 |
.time { |
947 |
- position: absolute; |
|
948 |
- top: 70px; |
|
949 |
- left: 50%; |
|
950 |
- transform: translate(-50%, -50%); |
|
963 |
+ position: absolute; |
|
964 |
+ top: 70px; |
|
965 |
+ left: 50%; |
|
966 |
+ transform: translate(-50%, -50%); |
|
951 | 967 |
} |
952 | 968 |
.second { |
953 |
- font-size: 51px; |
|
954 |
- font-family: 'neodgm'; |
|
955 |
- color: #752aff; |
|
969 |
+ font-size: 51px; |
|
970 |
+ font-family: "neodgm"; |
|
971 |
+ color: #752aff; |
|
956 | 972 |
} |
957 | 973 |
.time .text { |
958 |
- font-size: 21px; |
|
959 |
- color: #752aff; |
|
974 |
+ font-size: 21px; |
|
975 |
+ color: #752aff; |
|
960 | 976 |
} |
961 | 977 |
|
962 | 978 |
/* step2_5 */ |
963 | 979 |
.dropGroup .popTxt { |
964 |
- position: relative; |
|
965 |
- width: fit-content; |
|
980 |
+ position: relative; |
|
981 |
+ width: fit-content; |
|
966 | 982 |
} |
967 | 983 |
.dropGroup .popTxt img:last-child { |
968 |
- position: relative; |
|
984 |
+ position: relative; |
|
969 | 985 |
} |
970 | 986 |
.dropGroup span { |
971 |
- font-size: 36px; |
|
972 |
- font-family: 'Pretendard-Bold'; |
|
987 |
+ font-size: 36px; |
|
988 |
+ font-family: "Pretendard-Bold"; |
|
973 | 989 |
} |
974 | 990 |
.dropGroup button { |
975 |
- position: absolute; |
|
991 |
+ position: absolute; |
|
976 | 992 |
} |
977 | 993 |
.dropGroup button p { |
978 |
- position: absolute; |
|
979 |
- top: 50%; |
|
980 |
- left: 50%; |
|
981 |
- transform: translate(-50%, -50%); |
|
994 |
+ position: absolute; |
|
995 |
+ top: 50%; |
|
996 |
+ left: 50%; |
|
997 |
+ transform: translate(-50%, -50%); |
|
982 | 998 |
} |
983 | 999 |
.dragGroup article { |
984 |
- position: absolute; |
|
1000 |
+ position: absolute; |
|
985 | 1001 |
} |
986 | 1002 |
.dragGroup button { |
987 |
- position: relative; |
|
1003 |
+ position: relative; |
|
988 | 1004 |
} |
989 | 1005 |
.dragGroup button p { |
990 |
- position: absolute; |
|
991 |
- top: 50%; |
|
992 |
- left: 50%; |
|
993 |
- transform: translate(-50%, -50%); |
|
1006 |
+ position: absolute; |
|
1007 |
+ top: 50%; |
|
1008 |
+ left: 50%; |
|
1009 |
+ transform: translate(-50%, -50%); |
|
994 | 1010 |
} |
995 | 1011 |
|
996 | 1012 |
/* step2_11 */ |
997 | 1013 |
.inputGroup { |
998 |
- position: relative; |
|
999 |
- background-color: #fff3d7; |
|
1000 |
- border: #ffba08 2px solid; |
|
1001 |
- border-radius: 10px; |
|
1002 |
- padding: 15px 20px; |
|
1003 |
- min-height: 100px; |
|
1004 |
- min-width: 300px; |
|
1005 |
- font-size: 28px; |
|
1014 |
+ position: relative; |
|
1015 |
+ background-color: #fff3d7; |
|
1016 |
+ border: #ffba08 2px solid; |
|
1017 |
+ border-radius: 10px; |
|
1018 |
+ padding: 15px 20px; |
|
1019 |
+ min-height: 100px; |
|
1020 |
+ min-width: 300px; |
|
1021 |
+ font-size: 28px; |
|
1006 | 1022 |
} |
1007 | 1023 |
.inputGroup::before { |
1008 |
- background-image: url('../img/img89_43s.png'); |
|
1009 |
- background-size: 58px 20px; |
|
1010 |
- width: 58px; |
|
1011 |
- height: 20px; |
|
1012 |
- content: ''; |
|
1013 |
- display: block; |
|
1014 |
- position: absolute; |
|
1015 |
- top: 93px; |
|
1024 |
+ background-image: url("../img/img89_43s.png"); |
|
1025 |
+ background-size: 58px 20px; |
|
1026 |
+ width: 58px; |
|
1027 |
+ height: 20px; |
|
1028 |
+ content: ""; |
|
1029 |
+ display: block; |
|
1030 |
+ position: absolute; |
|
1031 |
+ top: 93px; |
|
1016 | 1032 |
} |
1017 | 1033 |
.inputGroup input { |
1018 |
- border: #cae5ff 1px solid; |
|
1019 |
- border-radius: 5px; |
|
1020 |
- padding: 10px 20px; |
|
1021 |
- width: min-content; |
|
1022 |
- font-size: 28px; |
|
1034 |
+ border: #cae5ff 1px solid; |
|
1035 |
+ border-radius: 5px; |
|
1036 |
+ padding: 10px 20px; |
|
1037 |
+ width: min-content; |
|
1038 |
+ font-size: 28px; |
|
1023 | 1039 |
} |
1024 | 1040 |
|
1025 | 1041 |
/* step3_2 */ |
1026 | 1042 |
.inputbox { |
1027 |
- border: #ffe029 solid 5px; |
|
1028 |
- border-radius: 10px; |
|
1029 |
- padding: 20px; |
|
1030 |
- background-color: #fff3d7; |
|
1031 |
- width: min-content; |
|
1043 |
+ border: #ffe029 solid 5px; |
|
1044 |
+ border-radius: 10px; |
|
1045 |
+ padding: 20px; |
|
1046 |
+ background-color: #fff3d7; |
|
1047 |
+ width: min-content; |
|
1032 | 1048 |
} |
1033 | 1049 |
|
1034 | 1050 |
.next-btn, |
1035 | 1051 |
.pre-btn { |
1036 |
- cursor: pointer; |
|
1052 |
+ cursor: pointer; |
|
1037 | 1053 |
} |
1038 | 1054 |
|
1039 | 1055 |
.listen-btn { |
1040 |
- cursor: pointer; |
|
1056 |
+ cursor: pointer; |
|
1041 | 1057 |
} |
1042 | 1058 |
|
1043 | 1059 |
/* 퀴즈 결과 */ |
1044 | 1060 |
.result-box { |
1045 |
- max-height: 400px; |
|
1046 |
- overflow: auto; |
|
1047 |
- padding-right: 10px; |
|
1061 |
+ max-height: 400px; |
|
1062 |
+ overflow: auto; |
|
1063 |
+ padding-right: 10px; |
|
1048 | 1064 |
} |
1049 | 1065 |
|
1050 | 1066 |
/* ------------------------학생 --------------------- */ |
1051 | 1067 |
|
1052 | 1068 |
/* ------------------------선생님 --------------------- */ |
1053 | 1069 |
.side_t { |
1054 |
- background-color: #fff; |
|
1055 |
- width: 360px; |
|
1056 |
- /* height: 100%; */ |
|
1057 |
- padding: 25px 40px; |
|
1070 |
+ background-color: #fff; |
|
1071 |
+ width: 360px; |
|
1072 |
+ /* height: 100%; */ |
|
1073 |
+ padding: 25px 40px; |
|
1058 | 1074 |
} |
1059 | 1075 |
|
1060 | 1076 |
details { |
1061 |
- margin: 5px 0 10px; |
|
1077 |
+ margin: 5px 0 10px; |
|
1062 | 1078 |
} |
1063 | 1079 |
details a { |
1064 |
- display: block; |
|
1080 |
+ display: block; |
|
1065 | 1081 |
} |
1066 | 1082 |
details > summary { |
1067 |
- font-size: 24px; |
|
1068 |
- font-family: 'ONEMobilePOP'; |
|
1069 |
- padding: 10px; |
|
1070 |
- outline: 0; |
|
1071 |
- border-radius: 5px; |
|
1072 |
- cursor: pointer; |
|
1073 |
- transition: background 0.5s; |
|
1074 |
- text-align: left; |
|
1083 |
+ font-size: 24px; |
|
1084 |
+ font-family: "ONEMobilePOP"; |
|
1085 |
+ padding: 10px; |
|
1086 |
+ outline: 0; |
|
1087 |
+ border-radius: 5px; |
|
1088 |
+ cursor: pointer; |
|
1089 |
+ transition: background 0.5s; |
|
1090 |
+ text-align: left; |
|
1075 | 1091 |
} |
1076 | 1092 |
details > summary::-webkit-details-marker { |
1077 |
- background: #444; |
|
1078 |
- color: #fff; |
|
1079 |
- background-size: contain; |
|
1080 |
- transform: rotate3d(0, 0, 1, 90deg); |
|
1081 |
- transition: transform 0.25s; |
|
1093 |
+ background: #444; |
|
1094 |
+ color: #fff; |
|
1095 |
+ background-size: contain; |
|
1096 |
+ transform: rotate3d(0, 0, 1, 90deg); |
|
1097 |
+ transition: transform 0.25s; |
|
1082 | 1098 |
} |
1083 | 1099 |
details[open] > summary::-webkit-details-marker { |
1084 |
- transform: rotate3d(0, 0, 1, 180deg); |
|
1100 |
+ transform: rotate3d(0, 0, 1, 180deg); |
|
1085 | 1101 |
} |
1086 | 1102 |
details[open] > summary ~ * { |
1087 |
- animation: reveal 0.5s; |
|
1103 |
+ animation: reveal 0.5s; |
|
1088 | 1104 |
} |
1089 | 1105 |
.tpt { |
1090 |
- font-family: 'Pretendard-SemiBold'; |
|
1091 |
- font-size: 20px; |
|
1092 |
- padding: 5px; |
|
1093 |
- line-height: 25px; |
|
1094 |
- cursor: pointer; |
|
1106 |
+ font-family: "Pretendard-SemiBold"; |
|
1107 |
+ font-size: 20px; |
|
1108 |
+ padding: 5px; |
|
1109 |
+ line-height: 25px; |
|
1110 |
+ cursor: pointer; |
|
1095 | 1111 |
} |
1096 | 1112 |
.side_t .tpt { |
1097 |
- margin: 5px 0 10px 30px; |
|
1113 |
+ margin: 5px 0 10px 30px; |
|
1098 | 1114 |
} |
1099 | 1115 |
.side_t .tpt:hover { |
1100 |
- background-color: #fff; |
|
1101 |
- border: 1px solid #ffba08; |
|
1102 |
- border-radius: 5px; |
|
1103 |
- text-decoration: underline; |
|
1104 |
- text-decoration-color: #ffba08; |
|
1105 |
- text-decoration-thickness: 3px; |
|
1116 |
+ background-color: #fff; |
|
1117 |
+ border: 1px solid #ffba08; |
|
1118 |
+ border-radius: 5px; |
|
1119 |
+ text-decoration: underline; |
|
1120 |
+ text-decoration-color: #ffba08; |
|
1121 |
+ text-decoration-thickness: 3px; |
|
1106 | 1122 |
} |
1107 | 1123 |
@keyframes reveal { |
1108 |
- from { |
|
1109 |
- opacity: 0; |
|
1110 |
- transform: translate3d(0, -30px, 0); |
|
1111 |
- } |
|
1112 |
- to { |
|
1113 |
- opacity: 1; |
|
1114 |
- transform: translate3d(0, 0, 0); |
|
1115 |
- } |
|
1124 |
+ from { |
|
1125 |
+ opacity: 0; |
|
1126 |
+ transform: translate3d(0, -30px, 0); |
|
1127 |
+ } |
|
1128 |
+ to { |
|
1129 |
+ opacity: 1; |
|
1130 |
+ transform: translate3d(0, 0, 0); |
|
1131 |
+ } |
|
1116 | 1132 |
} |
1117 | 1133 |
|
1118 | 1134 |
select { |
1119 |
- min-width: 128px; |
|
1120 |
- border-radius: 5px; |
|
1121 |
- padding: 10px 20px; |
|
1122 |
- font-size: 18px; |
|
1135 |
+ min-width: 128px; |
|
1136 |
+ border-radius: 5px; |
|
1137 |
+ padding: 10px 20px; |
|
1138 |
+ font-size: 18px; |
|
1123 | 1139 |
} |
1124 | 1140 |
select option { |
1125 |
- font-size: 20px; |
|
1126 |
- font-weight: bold; |
|
1141 |
+ font-size: 20px; |
|
1142 |
+ font-weight: bold; |
|
1127 | 1143 |
} |
1128 | 1144 |
|
1129 | 1145 |
.class { |
1130 |
- background-color: #f8f9fb; |
|
1131 |
- border-radius: 10px; |
|
1132 |
- padding: 25px; |
|
1133 |
- font-size: 19px; |
|
1134 |
- width: max-content; |
|
1146 |
+ background-color: #f8f9fb; |
|
1147 |
+ border-radius: 10px; |
|
1148 |
+ padding: 25px; |
|
1149 |
+ font-size: 19px; |
|
1150 |
+ width: max-content; |
|
1135 | 1151 |
} |
1136 | 1152 |
.class .title1, |
1137 | 1153 |
.textbook .title1 { |
1138 |
- font-family: 'ONEMobilePOP'; |
|
1139 |
- font-weight: 100; |
|
1154 |
+ font-family: "ONEMobilePOP"; |
|
1155 |
+ font-weight: 100; |
|
1140 | 1156 |
} |
1141 | 1157 |
.class .box { |
1142 |
- background-color: #eaedf4; |
|
1143 |
- border-radius: 10px; |
|
1144 |
- padding: 10px; |
|
1158 |
+ background-color: #eaedf4; |
|
1159 |
+ border-radius: 10px; |
|
1160 |
+ padding: 10px; |
|
1145 | 1161 |
} |
1146 | 1162 |
.class .member { |
1147 |
- font-size: 20px; |
|
1148 |
- color: #75767a; |
|
1149 |
- position: relative; |
|
1163 |
+ font-size: 20px; |
|
1164 |
+ color: #75767a; |
|
1165 |
+ position: relative; |
|
1150 | 1166 |
} |
1151 | 1167 |
.class .member::before { |
1152 |
- content: ''; |
|
1153 |
- background-image: url('../img/img171_82t.png'); |
|
1154 |
- width: 20px; |
|
1155 |
- height: 22px; |
|
1156 |
- position: absolute; |
|
1157 |
- left: -28px; |
|
1168 |
+ content: ""; |
|
1169 |
+ background-image: url("../img/img171_82t.png"); |
|
1170 |
+ width: 20px; |
|
1171 |
+ height: 22px; |
|
1172 |
+ position: absolute; |
|
1173 |
+ left: -28px; |
|
1158 | 1174 |
} |
1159 | 1175 |
.class .btnGroup, |
1160 | 1176 |
.textbook .text .btnGroup { |
1161 |
- width: initial; |
|
1177 |
+ width: initial; |
|
1162 | 1178 |
} |
1163 | 1179 |
.class button, |
1164 | 1180 |
.textbook button { |
1165 |
- font-size: 19px; |
|
1166 |
- font-family: 'Pretendard-Regular'; |
|
1181 |
+ font-size: 19px; |
|
1182 |
+ font-family: "Pretendard-Regular"; |
|
1167 | 1183 |
} |
1168 | 1184 |
.textbook { |
1169 |
- width: 100%; |
|
1170 |
- border: #ffba08 solid 6px; |
|
1171 |
- border-radius: 20px; |
|
1172 |
- font-size: 19px; |
|
1185 |
+ width: 100%; |
|
1186 |
+ border: #ffba08 solid 6px; |
|
1187 |
+ border-radius: 20px; |
|
1188 |
+ font-size: 19px; |
|
1173 | 1189 |
} |
1174 | 1190 |
.textbook-add { |
1175 |
- width: 300px; |
|
1176 |
- height: 354px; |
|
1177 |
- background-color: #f8f9fb; |
|
1178 |
- border: #75767a solid 2px; |
|
1179 |
- border-radius: 20px; |
|
1180 |
- font-size: 19px; |
|
1191 |
+ width: 300px; |
|
1192 |
+ height: 354px; |
|
1193 |
+ background-color: #f8f9fb; |
|
1194 |
+ border: #75767a solid 2px; |
|
1195 |
+ border-radius: 20px; |
|
1196 |
+ font-size: 19px; |
|
1181 | 1197 |
} |
1182 | 1198 |
.textbook .box { |
1183 |
- height: 250px; |
|
1199 |
+ height: 250px; |
|
1184 | 1200 |
} |
1185 | 1201 |
.textbook .text { |
1186 |
- height: 97px; |
|
1187 |
- background-color: #ffba08; |
|
1188 |
- border-radius: 0px 0px 12px 12px; |
|
1189 |
- padding: 20px; |
|
1202 |
+ height: 97px; |
|
1203 |
+ background-color: #ffba08; |
|
1204 |
+ border-radius: 0px 0px 12px 12px; |
|
1205 |
+ padding: 20px; |
|
1190 | 1206 |
} |
1191 | 1207 |
.textbook-add { |
1192 |
- position: relative; |
|
1208 |
+ position: relative; |
|
1193 | 1209 |
} |
1194 | 1210 |
.textbook-add button { |
1195 |
- position: absolute; |
|
1196 |
- top: 50%; |
|
1197 |
- left: 50%; |
|
1198 |
- transform: translate(-50%, -50%); |
|
1211 |
+ position: absolute; |
|
1212 |
+ top: 50%; |
|
1213 |
+ left: 50%; |
|
1214 |
+ transform: translate(-50%, -50%); |
|
1199 | 1215 |
} |
1200 | 1216 |
|
1201 | 1217 |
.search-wrap { |
1202 |
- position: relative; |
|
1218 |
+ position: relative; |
|
1203 | 1219 |
} |
1204 | 1220 |
.search-wrap select { |
1205 |
- font-size: 20px; |
|
1206 |
- width: 13rem; |
|
1207 |
- background-color: #fff; |
|
1208 |
- border: 0; |
|
1209 |
- border-bottom: 1px solid #a4a4a4; |
|
1210 |
- border-radius: 0; |
|
1221 |
+ font-size: 20px; |
|
1222 |
+ width: 13rem; |
|
1223 |
+ background-color: #fff; |
|
1224 |
+ border: 0; |
|
1225 |
+ border-bottom: 1px solid #a4a4a4; |
|
1226 |
+ border-radius: 0; |
|
1211 | 1227 |
} |
1212 | 1228 |
.search-wrap input { |
1213 |
- font-size: 20px; |
|
1214 |
- width: 40rem; |
|
1215 |
- border: 0; |
|
1216 |
- border-bottom: 1px solid #c8c8c8; |
|
1229 |
+ font-size: 20px; |
|
1230 |
+ width: 40rem; |
|
1231 |
+ border: 0; |
|
1232 |
+ border-bottom: 1px solid #c8c8c8; |
|
1217 | 1233 |
} |
1218 | 1234 |
.search-wrap button { |
1219 |
- position: absolute; |
|
1220 |
- right: 1rem; |
|
1221 |
- top: 9px; |
|
1235 |
+ position: absolute; |
|
1236 |
+ right: 1rem; |
|
1237 |
+ top: 9px; |
|
1222 | 1238 |
} |
1223 | 1239 |
.input-icon { |
1224 |
- display: block; |
|
1225 |
- width: 30px; |
|
1226 |
- height: 30px; |
|
1227 |
- font-size: 1.9rem; |
|
1228 |
- color: #000; |
|
1229 |
- cursor: pointer; |
|
1240 |
+ display: block; |
|
1241 |
+ width: 30px; |
|
1242 |
+ height: 30px; |
|
1243 |
+ font-size: 1.9rem; |
|
1244 |
+ color: #000; |
|
1245 |
+ cursor: pointer; |
|
1230 | 1246 |
} |
1231 | 1247 |
/* 테이블 */ |
1232 | 1248 |
.table-pagination button, |
1233 | 1249 |
.table-pagination button, |
1234 | 1250 |
.table-pagination button { |
1235 |
- font-size: 2rem; |
|
1236 |
- font-family: 'Pretendard-Regular'; |
|
1237 |
- height: 40px; |
|
1238 |
- width: 40px; |
|
1239 |
- border-radius: 0.5rem; |
|
1251 |
+ font-size: 2rem; |
|
1252 |
+ font-family: "Pretendard-Regular"; |
|
1253 |
+ height: 40px; |
|
1254 |
+ width: 40px; |
|
1255 |
+ border-radius: 0.5rem; |
|
1240 | 1256 |
} |
1241 | 1257 |
|
1242 | 1258 |
.table-pagination .selected-btn, |
1243 | 1259 |
.table-pagination .selected-btn, |
1244 | 1260 |
.table-pagination .selected-btn { |
1245 |
- background-color: #ffba08; |
|
1246 |
- color: #fff; |
|
1247 |
- font-family: 'Pretendard-Bold'; |
|
1261 |
+ background-color: #ffba08; |
|
1262 |
+ color: #fff; |
|
1263 |
+ font-family: "Pretendard-Bold"; |
|
1248 | 1264 |
} |
1249 | 1265 |
.new-btn { |
1250 |
- padding: 10px 30px; |
|
1251 |
- font-size: 20px; |
|
1252 |
- font-family: 'Pretendard-Bold'; |
|
1253 |
- border-radius: 5px; |
|
1254 |
- background-color: #fff3d7; |
|
1266 |
+ padding: 10px 30px; |
|
1267 |
+ font-size: 20px; |
|
1268 |
+ font-family: "Pretendard-Bold"; |
|
1269 |
+ border-radius: 5px; |
|
1270 |
+ background-color: #fff3d7; |
|
1255 | 1271 |
} |
1256 | 1272 |
.new-btn:hover { |
1257 |
- background-color: #ffba08; |
|
1258 |
- color: #fff; |
|
1273 |
+ background-color: #ffba08; |
|
1274 |
+ color: #fff; |
|
1259 | 1275 |
} |
1260 | 1276 |
|
1261 | 1277 |
/* 팝업 */ |
1262 | 1278 |
.popup-wrap { |
1263 |
- position: fixed; |
|
1264 |
- background-color: rgba(0, 0, 0, 0.283); |
|
1265 |
- width: 100%; |
|
1266 |
- height: 100%; |
|
1267 |
- top: 0; |
|
1268 |
- left: 0; |
|
1279 |
+ position: fixed; |
|
1280 |
+ background-color: rgba(0, 0, 0, 0.283); |
|
1281 |
+ width: 100%; |
|
1282 |
+ height: 100%; |
|
1283 |
+ top: 0; |
|
1284 |
+ left: 0; |
|
1269 | 1285 |
} |
1270 | 1286 |
|
1271 | 1287 |
.popup-box { |
1272 |
- position: fixed; |
|
1273 |
- min-width: 670px; |
|
1274 |
- /* min-height: 219px; */ |
|
1275 |
- background-color: var(--color-white); |
|
1276 |
- top: 50%; |
|
1277 |
- left: 5%; |
|
1278 |
- right: 5%; |
|
1279 |
- transform: translateY(-50%); |
|
1280 |
- border: 1px solid var(--color-gray); |
|
1281 |
- border-radius: 1rem; |
|
1282 |
- padding: 3rem; |
|
1283 |
- z-index: 11111; |
|
1288 |
+ position: fixed; |
|
1289 |
+ min-width: 670px; |
|
1290 |
+ /* min-height: 219px; */ |
|
1291 |
+ background-color: var(--color-white); |
|
1292 |
+ top: 50%; |
|
1293 |
+ left: 5%; |
|
1294 |
+ right: 5%; |
|
1295 |
+ transform: translateY(-50%); |
|
1296 |
+ border: 1px solid var(--color-gray); |
|
1297 |
+ border-radius: 1rem; |
|
1298 |
+ padding: 3rem; |
|
1299 |
+ z-index: 11111; |
|
1284 | 1300 |
} |
1285 | 1301 |
|
1286 | 1302 |
.popup-title { |
1287 |
- font-family: 'ONEMobilePOPOTF'; |
|
1288 |
- font-size: 32px; |
|
1303 |
+ font-family: "ONEMobilePOPOTF"; |
|
1304 |
+ font-size: 32px; |
|
1289 | 1305 |
} |
1290 | 1306 |
.popup-wrap .search-wrap input, |
1291 | 1307 |
.popup-wrap .search-wrap select { |
1292 |
- position: relative; |
|
1293 |
- font-size: 20px; |
|
1294 |
- width: 100%; |
|
1295 |
- border-radius: 10px; |
|
1296 |
- border: 1px solid #ffdf9a; |
|
1297 |
- height: 50px; |
|
1308 |
+ position: relative; |
|
1309 |
+ font-size: 20px; |
|
1310 |
+ width: 100%; |
|
1311 |
+ border-radius: 10px; |
|
1312 |
+ border: 1px solid #ffdf9a; |
|
1313 |
+ height: 50px; |
|
1298 | 1314 |
} |
1299 | 1315 |
.popup-wrap .search-wrap button { |
1300 |
- position: absolute; |
|
1301 |
- right: 1rem; |
|
1302 |
- top: 9px; |
|
1316 |
+ position: absolute; |
|
1317 |
+ right: 1rem; |
|
1318 |
+ top: 9px; |
|
1303 | 1319 |
} |
1304 | 1320 |
|
1305 | 1321 |
/* 공지등록 */ |
1306 | 1322 |
.board-wrap { |
1307 |
- border-top: 1px #606060 solid; |
|
1308 |
- border-bottom: 1px #606060 solid; |
|
1309 |
- padding: 20px 0; |
|
1323 |
+ border-top: 1px #606060 solid; |
|
1324 |
+ border-bottom: 1px #606060 solid; |
|
1325 |
+ padding: 20px 0; |
|
1310 | 1326 |
} |
1311 | 1327 |
.board-wrap label { |
1312 |
- width: 13rem; |
|
1328 |
+ width: 13rem; |
|
1313 | 1329 |
} |
1314 | 1330 |
.board-wrap textarea { |
1315 |
- min-height: 25rem; |
|
1316 |
- font-size: 20px; |
|
1317 |
- width: 100%; |
|
1331 |
+ min-height: 25rem; |
|
1332 |
+ font-size: 20px; |
|
1333 |
+ width: 100%; |
|
1318 | 1334 |
} |
1319 | 1335 |
input.data-wrap, |
1320 | 1336 |
textarea.data-wrap { |
1321 |
- width: -webkit-fill-available; |
|
1322 |
- padding: 1.2rem; |
|
1323 |
- border-radius: 0.8rem; |
|
1324 |
- border: 1px solid #8c8e92; |
|
1337 |
+ width: -webkit-fill-available; |
|
1338 |
+ padding: 1.2rem; |
|
1339 |
+ border-radius: 0.8rem; |
|
1340 |
+ border: 1px solid #8c8e92; |
|
1325 | 1341 |
} |
1326 | 1342 |
.wrap { |
1327 |
- border: 1px solid var(--color-lightGray); |
|
1328 |
- padding: 2rem; |
|
1329 |
- position: relative; |
|
1330 |
- border-radius: 10px; |
|
1331 |
- background-color: #fff; |
|
1343 |
+ border: 1px solid var(--color-lightGray); |
|
1344 |
+ padding: 2rem; |
|
1345 |
+ position: relative; |
|
1346 |
+ border-radius: 10px; |
|
1347 |
+ background-color: #fff; |
|
1332 | 1348 |
} |
1333 | 1349 |
.mypage .wrap { |
1334 |
- overflow-x: auto; |
|
1350 |
+ overflow-x: auto; |
|
1335 | 1351 |
} |
1336 | 1352 |
.wrap section { |
1337 |
- width: max-content; |
|
1353 |
+ width: max-content; |
|
1338 | 1354 |
} |
1339 | 1355 |
.wrap .wrap-bg { |
1340 |
- background-color: #f7f8fa; |
|
1341 |
- padding: 20px; |
|
1342 |
- border-radius: 10px; |
|
1343 |
- height: 20rem; |
|
1344 |
- width: -webkit-fill-available; |
|
1356 |
+ background-color: #f7f8fa; |
|
1357 |
+ padding: 20px; |
|
1358 |
+ border-radius: 10px; |
|
1359 |
+ height: 20rem; |
|
1360 |
+ width: -webkit-fill-available; |
|
1345 | 1361 |
} |
1346 | 1362 |
.wrap .wrap-bg > div { |
1347 |
- text-align: center; |
|
1363 |
+ text-align: center; |
|
1348 | 1364 |
} |
1349 | 1365 |
.wrap .progress-bar { |
1350 |
- height: 40px; |
|
1366 |
+ height: 40px; |
|
1351 | 1367 |
} |
1352 | 1368 |
.wrap .progress-bar-fill { |
1353 |
- height: 40px; |
|
1369 |
+ height: 40px; |
|
1354 | 1370 |
} |
1355 | 1371 |
.wrap details .title2 { |
1356 |
- width: 160px; |
|
1372 |
+ width: 160px; |
|
1357 | 1373 |
} |
1358 | 1374 |
.wrap details span { |
1359 |
- width: 110px; |
|
1360 |
- text-align: end; |
|
1375 |
+ width: 110px; |
|
1376 |
+ text-align: end; |
|
1361 | 1377 |
} |
1362 | 1378 |
|
1363 | 1379 |
.bookmanage-btn { |
1364 |
- padding: 20px 30px; |
|
1365 |
- font-size: 20px; |
|
1366 |
- font-family: 'Pretendard-Bold'; |
|
1367 |
- border-radius: 5px; |
|
1368 |
- border: #ffba08 solid 2px; |
|
1369 |
- cursor: pointer; |
|
1380 |
+ padding: 20px 30px; |
|
1381 |
+ font-size: 20px; |
|
1382 |
+ font-family: "Pretendard-Bold"; |
|
1383 |
+ border-radius: 5px; |
|
1384 |
+ border: #ffba08 solid 2px; |
|
1385 |
+ cursor: pointer; |
|
1370 | 1386 |
} |
1371 | 1387 |
|
1372 | 1388 |
.hidden-tr { |
1373 |
- display: none; |
|
1389 |
+ display: none; |
|
1374 | 1390 |
} |
1375 | 1391 |
.show-tr { |
1376 |
- background-color: #fff3d7; |
|
1392 |
+ background-color: #fff3d7; |
|
1377 | 1393 |
} |
1378 | 1394 |
.show-tr div { |
1379 |
- margin: 10px; |
|
1395 |
+ margin: 10px; |
|
1380 | 1396 |
} |
1381 | 1397 |
.show-tr table { |
1382 |
- background-color: #fff; |
|
1398 |
+ background-color: #fff; |
|
1383 | 1399 |
} |
1384 | 1400 |
|
1385 | 1401 |
/* 로드맵 */ |
1386 | 1402 |
.mypage .big { |
1387 |
- width: 48%; |
|
1388 |
- height: 100%; |
|
1403 |
+ width: 48%; |
|
1404 |
+ height: 100%; |
|
1389 | 1405 |
} |
1390 | 1406 |
.mypage .big > .text { |
1391 |
- border-radius: 19px 19px 0px 0px; |
|
1392 |
- border-bottom: 1px solid #8c8e92; |
|
1407 |
+ border-radius: 19px 19px 0px 0px; |
|
1408 |
+ border-bottom: 1px solid #8c8e92; |
|
1393 | 1409 |
} |
1394 | 1410 |
.mypage .big > .box { |
1395 |
- overflow-x: auto; |
|
1396 |
- margin: 4rem 3rem; |
|
1397 |
- height: 100%; |
|
1398 |
- max-height: calc(100% - 16rem); |
|
1411 |
+ overflow-x: auto; |
|
1412 |
+ margin: 4rem 3rem; |
|
1413 |
+ height: 100%; |
|
1414 |
+ max-height: calc(100% - 16rem); |
|
1399 | 1415 |
} |
1400 | 1416 |
.dropbox { |
1401 |
- color: #8c8e92; |
|
1402 |
- border: #8c8e92 dotted 1px; |
|
1403 |
- background-color: #eaedf4; |
|
1404 |
- border-radius: 20px; |
|
1405 |
- min-height: 20rem; |
|
1417 |
+ color: #8c8e92; |
|
1418 |
+ border: #8c8e92 dotted 1px; |
|
1419 |
+ background-color: #eaedf4; |
|
1420 |
+ border-radius: 20px; |
|
1421 |
+ min-height: 20rem; |
|
1406 | 1422 |
} |
1407 | 1423 |
.dropbox p { |
1408 |
- line-height: 20rem; |
|
1424 |
+ line-height: 20rem; |
|
1409 | 1425 |
} |
1410 | 1426 |
|
1411 | 1427 |
/* 단원 버튼 */ |
1412 | 1428 |
.unit-pagination button { |
1413 |
- font-size: 2rem; |
|
1414 |
- font-family: 'Pretendard-Regular'; |
|
1415 |
- padding: 5px 30px; |
|
1416 |
- border: #c6c6c6 3px solid; |
|
1417 |
- border-radius: 5px; |
|
1418 |
- color: #331600; |
|
1419 |
- background-color: #eaedf4; |
|
1429 |
+ font-size: 2rem; |
|
1430 |
+ font-family: "Pretendard-Regular"; |
|
1431 |
+ padding: 5px 30px; |
|
1432 |
+ border: #c6c6c6 3px solid; |
|
1433 |
+ border-radius: 5px; |
|
1434 |
+ color: #331600; |
|
1435 |
+ background-color: #eaedf4; |
|
1420 | 1436 |
} |
1421 | 1437 |
|
1422 | 1438 |
.unit-pagination .selected-btn { |
1423 |
- background-color: #c6c6c6; |
|
1424 |
- /* color: #fff; */ |
|
1425 |
- font-family: 'Pretendard-ExtraBold'; |
|
1439 |
+ background-color: #c6c6c6; |
|
1440 |
+ /* color: #fff; */ |
|
1441 |
+ font-family: "Pretendard-ExtraBold"; |
|
1426 | 1442 |
} |
1427 | 1443 |
/* ------------------------선생님 --------------------- */ |
--- client/views/pages/main/AIDashboard.vue
+++ client/views/pages/main/AIDashboard.vue
... | ... | @@ -1,446 +1,805 @@ |
1 | 1 |
<template> |
2 |
- <p class="title1" v-show="isHidden">오늘 공부를 다했어요! 너무 고생했어요!</p> |
|
3 |
- <div class="main" v-show="!isHidden"> |
|
4 |
- <div class="race-wrap"> |
|
5 |
- <div class="title-box"> |
|
6 |
- <p class="title" style="margin-top: 8rem;">AI 학습 보드</p> |
|
7 |
- </div> |
|
8 |
- <div class="race-box"> |
|
9 |
- <div class="rabbit-start"><img src="../../../resources/img/img09_s.png" alt=""></div> |
|
10 |
- <div class="rcon flex justify-end mb5"> |
|
11 |
- <div class="race-btn" @click="goToPage('Chapter1')"> |
|
12 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
13 |
- data-num="1"> |
|
14 |
- <img :src="item.imgSrc1"> |
|
15 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
16 |
- </button> |
|
17 |
- <p>지문1</p> |
|
18 |
- </div> |
|
19 |
- <div class="race-btn" @click="goToPage('Chapter2')"> |
|
20 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
21 |
- data-num="2"> |
|
22 |
- <img :src="item.imgSrc1"> |
|
23 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
24 |
- </button> |
|
25 |
- <p>단어장</p> |
|
26 |
- </div> |
|
27 |
- </div> |
|
28 |
- <div class="lcon flex justify-between mb5"> |
|
29 |
- <div class="race-btn" @click="goToPage('Chapter7')"> |
|
30 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
31 |
- data-num="7"> |
|
32 |
- <img :src="item.imgSrc1"> |
|
33 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
34 |
- </button> |
|
35 |
- <p>문제1</p> |
|
36 |
- </div> |
|
37 |
- <div class="race-btn" @click="goToPage('Chapter6')"> |
|
38 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
39 |
- data-num="6"> |
|
40 |
- <img :src="item.imgSrc1"> |
|
41 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
42 |
- </button> |
|
43 |
- <p>단어장</p> |
|
44 |
- </div> |
|
45 |
- <div class="race-btn" @click="goToPage('Chapter5')"> |
|
46 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
47 |
- data-num="5"> |
|
48 |
- <img :src="item.imgSrc1"> |
|
49 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
50 |
- </button> |
|
51 |
- <p>지문2</p> |
|
52 |
- </div> |
|
53 |
- <div class="race-btn" @click="goToPage('Chapter4')"> |
|
54 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
55 |
- data-num="4"> |
|
56 |
- <img :src="item.imgSrc1"> |
|
57 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
58 |
- </button> |
|
59 |
- <p>문제2</p> |
|
60 |
- </div> |
|
61 |
- <div class="race-btn" @click="goToPage('Chapter3')"> |
|
62 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
63 |
- data-num="3"> |
|
64 |
- <img :src="item.imgSrc1"> |
|
65 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
66 |
- </button> |
|
67 |
- <p>문제1</p> |
|
68 |
- </div> |
|
69 |
- </div> |
|
70 |
- <div class="rcon flex"> |
|
71 |
- <div class="race-btn" @click="goToPage('Chapter8')"> |
|
72 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
73 |
- data-num="8"> |
|
74 |
- <img :src="item.imgSrc3"> |
|
75 |
- <img :src="item.imgSrc4" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
76 |
- </button> |
|
77 |
- <p class="long">중간 평가</p> |
|
78 |
- </div> |
|
79 |
- <div class="race-btn" @click="goToPage('Chapter9')"> |
|
80 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
81 |
- data-num="9"> |
|
82 |
- <img :src="item.imgSrc1"> |
|
83 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
84 |
- </button> |
|
85 |
- <p>지문3</p> |
|
86 |
- </div> |
|
87 |
- <div class="race-btn" @click="goToPage('Chapter10')"> |
|
88 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
89 |
- data-num="10"> |
|
90 |
- <img :src="item.imgSrc1"> |
|
91 |
- <img :src="item.imgSrc2" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
92 |
- </button> |
|
93 |
- <p>단어장</p> |
|
94 |
- </div> |
|
95 |
- |
|
96 |
- <div class="race-btn"> |
|
97 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
98 |
- data-num="11"> |
|
99 |
- <img :src="item.imgSrc3"> |
|
100 |
- <img :src="item.imgSrc4" :style="{ display: item.isSecondImageVisible ? 'block' : 'none' }"> |
|
101 |
- </button> |
|
102 |
- <p class="long">최종 평가</p> |
|
103 |
- </div> |
|
104 |
- </div> |
|
105 |
- <div class="rabbit-end" @click="ShowPopup"><img src="../../../resources/img/img138_72s.png" alt=""> |
|
106 |
- </div> |
|
107 |
- </div> |
|
108 |
- |
|
109 |
- <!-- 팝업 --> |
|
110 |
- <div v-show="searchOpen2" class="popup-wrap"> |
|
111 |
- <div class="popup-box"> |
|
112 |
- <button type="button" class="popup-close-btn" style="position:absolute; top:10px; right: 10px;" |
|
113 |
- @click="closeModal"> |
|
114 |
- <svg-icon type="mdi" :path="mdiWindowClose" class="close-btn"></svg-icon> |
|
115 |
- </button> |
|
116 |
- |
|
117 |
- <div class="mb30 text-ct"> |
|
118 |
- <p class="title1 mb20">1단원이 끝났습니다!</p> |
|
119 |
- <p class="title1"><em class="yellow">기념사진</em>을 촬영하러 가요</p> |
|
120 |
- </div> |
|
121 |
- <div class="flex justify-center"> |
|
122 |
- <button type="button" title="사진촬영" class="new-btn" @click="openCameraModal"> |
|
123 |
- 사진 촬영 |
|
124 |
- </button> |
|
125 |
- </div> |
|
126 |
- </div> |
|
127 |
- </div> |
|
128 |
- |
|
129 |
- <!-- 카메라 모달 --> |
|
130 |
- <article v-show="showCameraModal" class="popup-wrap"> |
|
131 |
- <div class="popup-box" style="top: 500px; left:500px"> |
|
132 |
- <div class="flex mb10 justify-between"> |
|
133 |
- <p class="popup-title">사진 촬영</p> |
|
134 |
- <button type="button" class="popup-close-btn" @click="closeModal"> |
|
135 |
- <svg-icon type="mdi" :path="mdiWindowClose" class="close-btn"></svg-icon> |
|
136 |
- </button> |
|
137 |
- </div> |
|
138 |
- <div class="box"> |
|
139 |
- <div style="width: 100%;"> |
|
140 |
- <div id="container" ref="container"> |
|
141 |
- <video v-if="!photoTaken" autoplay="true" ref="modalVideoElement" class="mirrored" |
|
142 |
- @canplay="onVideoLoaded" style="position: absolute; height: 100%;"> |
|
143 |
- </video> |
|
144 |
- <img src="../../../resources/img/camera-rabbit.png" class="camera-rabbit" |
|
145 |
- style="position: absolute; "> |
|
146 |
- <canvas ref="canvas" style="pointer-events: none;"></canvas> |
|
147 |
- </div> |
|
148 |
- </div> |
|
149 |
- </div> |
|
150 |
- <div class="flex justify-center mt20"> |
|
151 |
- <button class="new-btn" @click="takePhoto">사진 찍기</button> |
|
152 |
- </div> |
|
153 |
- </div> |
|
154 |
- </article> |
|
155 |
- |
|
2 |
+ <p class="title1" v-show="isHidden">오늘 공부를 다했어요! 너무 고생했어요!</p> |
|
3 |
+ <div class="main" v-show="!isHidden"> |
|
4 |
+ <div class="race-wrap-ai"> |
|
5 |
+ <div class="race-box"> |
|
6 |
+ <div class="rabbit-start"> |
|
7 |
+ <img src="../../../resources/img/new_img/rabbit.png" alt="" /> |
|
156 | 8 |
</div> |
157 |
- <div class="complete-wrap myphoto"> |
|
158 |
- <button class="login-btn mt10" type="submit" style="width: 100%;" @click="finishSchedule"><img |
|
159 |
- src="../../../resources/img/btn07_s.png" alt="" style="width: 100%; height: 100px;"> |
|
160 |
- <p>학습 종료하기</p> |
|
9 |
+ <!-- 1번째줄 --> |
|
10 |
+ <div |
|
11 |
+ class="rcon flex justify-end mb5" |
|
12 |
+ style="position: relative; top: 24px" |
|
13 |
+ > |
|
14 |
+ <!-- 1 --> |
|
15 |
+ <div class="race-btn" @click="goToPage('Chapter1')"> |
|
16 |
+ <button |
|
17 |
+ class="popTxt" |
|
18 |
+ v-for="(item, index) in items" |
|
19 |
+ :key="index" |
|
20 |
+ @click="toggleImage(index)" |
|
21 |
+ data-num="1" |
|
22 |
+ > |
|
23 |
+ <div class="image-container"> |
|
24 |
+ <img |
|
25 |
+ src="../../../resources/img/new_img/ai_board/racebtn_1.png" |
|
26 |
+ /> |
|
27 |
+ <img |
|
28 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
29 |
+ :style="{ |
|
30 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
31 |
+ }" |
|
32 |
+ class="clear-img" |
|
33 |
+ /> |
|
34 |
+ </div> |
|
35 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
36 |
+ <img |
|
37 |
+ v-if="item.isSecondImageVisible" |
|
38 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
39 |
+ alt="Complete Icon" |
|
40 |
+ class="complete-icon" |
|
41 |
+ /> |
|
42 |
+ 지문1 |
|
43 |
+ </p> |
|
161 | 44 |
</button> |
162 |
- <h2 class="mb40 mt10">이 단원을 끝낸 친구들</h2> |
|
163 |
- <article class="flex-column"> |
|
164 |
- <div class="flex-row"> |
|
165 |
- <div class="flex" style="gap: 5px; flex-wrap: wrap;"> |
|
166 |
- <div v-for="(image, index) in images" :key="image.fileId" @click="buttonSearch(image)" |
|
167 |
- class="photo" style="margin-bottom: 5px;"> |
|
168 |
- <img :src="image.url" :alt="image.fileNm" reloadable="true" style="height: 100%;" /> |
|
169 |
- </div> |
|
170 |
- </div> |
|
171 |
- </div> |
|
172 |
- </article> |
|
173 |
- <article class="popup-wrap" v-show="searchOpen"> |
|
174 |
- <div class="popup-box "> |
|
175 |
- <div class="flex mb10 justify-between"> |
|
176 |
- <p class="popup-title">알림</p> |
|
177 |
- <button type="button" class="popup-close-btn" @click="closeModal"> |
|
178 |
- <svg-icon type="mdi" :path="mdiWindowClose" class="close-btn"></svg-icon> |
|
179 |
- </button> |
|
180 |
- </div> |
|
181 |
- <div class="box"> |
|
182 |
- <div style="width: 910px;"><img src="../../../resources/img/img140_747s.png" alt=""></div> |
|
183 |
- </div> |
|
184 |
- <div class="flex justify-between mt20"> |
|
185 |
- <div class="text flex"> |
|
186 |
- <p class="title2 date ml30">2024-08-06</p> |
|
187 |
- <span class=" title1 ml30">1단원을 마친 <em class="yellow">가나다</em>친구</span> |
|
188 |
- </div> |
|
189 |
- <div class="title2 flex align-center" style="gap: 10px;"><svg-icon type="mdi" :path="mdiHeart" |
|
190 |
- style="color: #FFBA08;"></svg-icon> |
|
191 |
- <p><em class="yellow">1</em></p> |
|
192 |
- </div> |
|
193 |
- </div> |
|
194 |
- </div> |
|
195 |
- </article> |
|
45 |
+ <!-- <p>지문1</p> --> |
|
46 |
+ </div> |
|
47 |
+ <!-- 2 --> |
|
48 |
+ <div class="race-btn" @click="goToPage('Chapter2')"> |
|
49 |
+ <button |
|
50 |
+ class="popTxt" |
|
51 |
+ v-for="(item, index) in items" |
|
52 |
+ :key="index" |
|
53 |
+ @click="toggleImage(index)" |
|
54 |
+ data-num="2" |
|
55 |
+ > |
|
56 |
+ <div class="image-container"> |
|
57 |
+ <img |
|
58 |
+ src="../../../resources/img/new_img/ai_board/racebtn_2.png" |
|
59 |
+ /> |
|
60 |
+ <img |
|
61 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
62 |
+ :style="{ |
|
63 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
64 |
+ }" |
|
65 |
+ class="clear-img" |
|
66 |
+ style="position: absolute; left: 16px" |
|
67 |
+ /> |
|
68 |
+ </div> |
|
69 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
70 |
+ <img |
|
71 |
+ v-if="item.isSecondImageVisible" |
|
72 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
73 |
+ alt="Complete Icon" |
|
74 |
+ class="complete-icon" |
|
75 |
+ /> |
|
76 |
+ 단어장 |
|
77 |
+ </p> |
|
78 |
+ </button> |
|
79 |
+ <!-- <p>단어장</p> --> |
|
80 |
+ </div> |
|
196 | 81 |
</div> |
82 |
+ <!-- 2번째 줄 --> |
|
83 |
+ <div class="lcon flex justify-between mb5"> |
|
84 |
+ <!-- 7 --> |
|
85 |
+ <div class="race-btn" @click="goToPage('Chapter7')"> |
|
86 |
+ <button |
|
87 |
+ class="popTxt" |
|
88 |
+ v-for="(item, index) in items" |
|
89 |
+ :key="index" |
|
90 |
+ @click="toggleImage(index)" |
|
91 |
+ data-num="7" |
|
92 |
+ > |
|
93 |
+ <div class="image-container"> |
|
94 |
+ <img |
|
95 |
+ src="../../../resources/img/new_img/ai_board/racebtn_7.png" |
|
96 |
+ /> |
|
97 |
+ <img |
|
98 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
99 |
+ :style="{ |
|
100 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
101 |
+ }" |
|
102 |
+ class="clear-img" |
|
103 |
+ style="position: absolute; top: 85px" |
|
104 |
+ /> |
|
105 |
+ </div> |
|
106 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
107 |
+ <img |
|
108 |
+ v-if="item.isSecondImageVisible" |
|
109 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
110 |
+ alt="Complete Icon" |
|
111 |
+ class="complete-icon" |
|
112 |
+ /> |
|
113 |
+ 문제1 |
|
114 |
+ </p> |
|
115 |
+ </button> |
|
116 |
+ <!-- <p>문제1</p> --> |
|
117 |
+ </div> |
|
118 |
+ <!-- 6 --> |
|
119 |
+ <div class="race-btn" @click="goToPage('Chapter6')"> |
|
120 |
+ <button |
|
121 |
+ class="popTxt" |
|
122 |
+ v-for="(item, index) in items" |
|
123 |
+ :key="index" |
|
124 |
+ @click="toggleImage(index)" |
|
125 |
+ data-num="6" |
|
126 |
+ > |
|
127 |
+ <div class="image-container"> |
|
128 |
+ <img |
|
129 |
+ src="../../../resources/img/new_img/ai_board/racebtn_6.png" |
|
130 |
+ /> |
|
131 |
+ <img |
|
132 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
133 |
+ :style="{ |
|
134 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
135 |
+ }" |
|
136 |
+ class="clear-img" |
|
137 |
+ /> |
|
138 |
+ </div> |
|
139 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
140 |
+ <img |
|
141 |
+ v-if="item.isSecondImageVisible" |
|
142 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
143 |
+ alt="Complete Icon" |
|
144 |
+ class="complete-icon" |
|
145 |
+ /> |
|
146 |
+ 단어장 |
|
147 |
+ </p> |
|
148 |
+ </button> |
|
149 |
+ <!-- <p>단어장</p> --> |
|
150 |
+ </div> |
|
151 |
+ <!-- 5 --> |
|
152 |
+ <div |
|
153 |
+ class="race-btn" |
|
154 |
+ @click="goToPage('Chapter5')" |
|
155 |
+ style="position: relative; left: -31px" |
|
156 |
+ > |
|
157 |
+ <button |
|
158 |
+ class="popTxt" |
|
159 |
+ v-for="(item, index) in items" |
|
160 |
+ :key="index" |
|
161 |
+ @click="toggleImage(index)" |
|
162 |
+ data-num="5" |
|
163 |
+ style="position: absolute; top: -77px; left: 30px" |
|
164 |
+ > |
|
165 |
+ <div class="image-container"> |
|
166 |
+ <img |
|
167 |
+ src="../../../resources/img/new_img/ai_board/racebtn_5.png" |
|
168 |
+ /> |
|
169 |
+ <img |
|
170 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
171 |
+ :style="{ |
|
172 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
173 |
+ }" |
|
174 |
+ class="clear-img" |
|
175 |
+ /> |
|
176 |
+ </div> |
|
177 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
178 |
+ <img |
|
179 |
+ v-if="item.isSecondImageVisible" |
|
180 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
181 |
+ alt="Complete Icon" |
|
182 |
+ class="complete-icon" |
|
183 |
+ /> |
|
184 |
+ 지문2 |
|
185 |
+ </p> |
|
186 |
+ </button> |
|
187 |
+ <!-- <p>지문2</p> --> |
|
188 |
+ </div> |
|
189 |
+ <!-- 4 --> |
|
190 |
+ <div class="race-btn" @click="goToPage('Chapter4')"> |
|
191 |
+ <button |
|
192 |
+ class="popTxt" |
|
193 |
+ v-for="(item, index) in items" |
|
194 |
+ :key="index" |
|
195 |
+ @click="toggleImage(index)" |
|
196 |
+ data-num="4" |
|
197 |
+ > |
|
198 |
+ <div class="image-container"> |
|
199 |
+ <img |
|
200 |
+ src="../../../resources/img/new_img/ai_board/racebtn_4.png" |
|
201 |
+ /> |
|
202 |
+ <img |
|
203 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
204 |
+ :style="{ |
|
205 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
206 |
+ }" |
|
207 |
+ class="clear-img" |
|
208 |
+ /> |
|
209 |
+ </div> |
|
210 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
211 |
+ <img |
|
212 |
+ v-if="item.isSecondImageVisible" |
|
213 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
214 |
+ alt="Complete Icon" |
|
215 |
+ class="complete-icon" |
|
216 |
+ /> |
|
217 |
+ 문제2 |
|
218 |
+ </p> |
|
219 |
+ </button> |
|
220 |
+ <!-- <p>문제2</p> --> |
|
221 |
+ </div> |
|
222 |
+ <!-- 3 --> |
|
223 |
+ <div |
|
224 |
+ class="race-btn" |
|
225 |
+ @click="goToPage('Chapter3')" |
|
226 |
+ style="right: 12px" |
|
227 |
+ > |
|
228 |
+ <button |
|
229 |
+ class="popTxt" |
|
230 |
+ v-for="(item, index) in items" |
|
231 |
+ :key="index" |
|
232 |
+ @click="toggleImage(index)" |
|
233 |
+ data-num="3" |
|
234 |
+ style="top: -46px; position: relative" |
|
235 |
+ > |
|
236 |
+ <div class="image-container"> |
|
237 |
+ <img |
|
238 |
+ src="../../../resources/img/new_img/ai_board/racebtn_3.png" |
|
239 |
+ /> |
|
240 |
+ <img |
|
241 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
242 |
+ :style="{ |
|
243 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
244 |
+ }" |
|
245 |
+ class="clear-img" |
|
246 |
+ /> |
|
247 |
+ </div> |
|
248 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
249 |
+ <img |
|
250 |
+ v-if="item.isSecondImageVisible" |
|
251 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
252 |
+ alt="Complete Icon" |
|
253 |
+ class="complete-icon" |
|
254 |
+ /> |
|
255 |
+ 문제1 |
|
256 |
+ </p> |
|
257 |
+ </button> |
|
258 |
+ <!-- <p>문제1</p> --> |
|
259 |
+ </div> |
|
260 |
+ </div> |
|
261 |
+ <!-- 3번째 줄 --> |
|
262 |
+ <div class="rcon flex" style="position: relative; top: -23px"> |
|
263 |
+ <!-- 8 --> |
|
264 |
+ <div class="race-btn" @click="goToPage('Chapter8')"> |
|
265 |
+ <button |
|
266 |
+ class="popTxt" |
|
267 |
+ v-for="(item, index) in items" |
|
268 |
+ :key="index" |
|
269 |
+ @click="toggleImage(index)" |
|
270 |
+ data-num="8" |
|
271 |
+ > |
|
272 |
+ <div class="image-container"> |
|
273 |
+ <img |
|
274 |
+ src="../../../resources/img/new_img/ai_board/racebtn_8.png" |
|
275 |
+ /> |
|
276 |
+ <img |
|
277 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
278 |
+ :style="{ |
|
279 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
280 |
+ }" |
|
281 |
+ class="clear-img" |
|
282 |
+ /> |
|
283 |
+ </div> |
|
284 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
285 |
+ <img |
|
286 |
+ v-if="item.isSecondImageVisible" |
|
287 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
288 |
+ alt="Complete Icon" |
|
289 |
+ class="complete-icon" |
|
290 |
+ /> |
|
291 |
+ 중간 평가 |
|
292 |
+ </p> |
|
293 |
+ </button> |
|
294 |
+ <!-- <p class="long">중간 평가</p> --> |
|
295 |
+ </div> |
|
296 |
+ <!-- 9 --> |
|
297 |
+ <div class="race-btn" @click="goToPage('Chapter9')"> |
|
298 |
+ <button |
|
299 |
+ class="popTxt" |
|
300 |
+ v-for="(item, index) in items" |
|
301 |
+ :key="index" |
|
302 |
+ @click="toggleImage(index)" |
|
303 |
+ data-num="9" |
|
304 |
+ > |
|
305 |
+ <div class="image-container"> |
|
306 |
+ <img |
|
307 |
+ src="../../../resources/img/new_img/ai_board/racebtn_9.png" |
|
308 |
+ /> |
|
309 |
+ <img |
|
310 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
311 |
+ :style="{ |
|
312 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
313 |
+ }" |
|
314 |
+ class="clear-img" |
|
315 |
+ /> |
|
316 |
+ </div> |
|
317 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
318 |
+ <img |
|
319 |
+ v-if="item.isSecondImageVisible" |
|
320 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
321 |
+ alt="Complete Icon" |
|
322 |
+ class="complete-icon" |
|
323 |
+ /> |
|
324 |
+ 지문3 |
|
325 |
+ </p> |
|
326 |
+ </button> |
|
327 |
+ <!-- <p>지문3</p> --> |
|
328 |
+ </div> |
|
329 |
+ <!-- 10 --> |
|
330 |
+ <div class="race-btn" @click="goToPage('Chapter10')"> |
|
331 |
+ <button |
|
332 |
+ class="popTxt" |
|
333 |
+ v-for="(item, index) in items" |
|
334 |
+ :key="index" |
|
335 |
+ @click="toggleImage(index)" |
|
336 |
+ data-num="10" |
|
337 |
+ > |
|
338 |
+ <div class="image-container"> |
|
339 |
+ <img |
|
340 |
+ src="../../../resources/img/new_img/ai_board/racebtn_10.png" |
|
341 |
+ /> |
|
342 |
+ <img |
|
343 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
344 |
+ :style="{ |
|
345 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
346 |
+ }" |
|
347 |
+ class="clear-img" |
|
348 |
+ /> |
|
349 |
+ </div> |
|
350 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
351 |
+ <img |
|
352 |
+ v-if="item.isSecondImageVisible" |
|
353 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
354 |
+ alt="Complete Icon" |
|
355 |
+ class="complete-icon" |
|
356 |
+ /> |
|
357 |
+ 단어장 |
|
358 |
+ </p> |
|
359 |
+ </button> |
|
360 |
+ <!-- <p>단어장</p> --> |
|
361 |
+ </div> |
|
362 |
+ <!-- 11 --> |
|
363 |
+ <div class="race-btn"> |
|
364 |
+ <button |
|
365 |
+ class="popTxt" |
|
366 |
+ v-for="(item, index) in items" |
|
367 |
+ :key="index" |
|
368 |
+ @click="toggleImage(index)" |
|
369 |
+ data-num="11" |
|
370 |
+ > |
|
371 |
+ <div class="image-container"> |
|
372 |
+ <img |
|
373 |
+ src="../../../resources/img/new_img/ai_board/racebtn_11.png" |
|
374 |
+ /> |
|
375 |
+ <img |
|
376 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
377 |
+ :style="{ |
|
378 |
+ display: item.isSecondImageVisible ? 'block' : 'none', |
|
379 |
+ }" |
|
380 |
+ class="clear-img" |
|
381 |
+ /> |
|
382 |
+ </div> |
|
383 |
+ <p :class="!item.isSecondImageVisible ? 'before-clear' : 'clear'"> |
|
384 |
+ <img |
|
385 |
+ v-if="item.isSecondImageVisible" |
|
386 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
387 |
+ alt="Complete Icon" |
|
388 |
+ class="complete-icon" |
|
389 |
+ /> |
|
390 |
+ 최종 평가 |
|
391 |
+ </p> |
|
392 |
+ </button> |
|
393 |
+ <!-- <p class="long">최종 평가</p> --> |
|
394 |
+ </div> |
|
395 |
+ </div> |
|
396 |
+ <div class="rabbit-end" @click="ShowPopup"> |
|
397 |
+ <!-- <img src="../../../resources/img/img138_72s.png" alt="" /> --> |
|
398 |
+ </div> |
|
399 |
+ </div> |
|
197 | 400 |
|
401 |
+ <!-- 팝업 --> |
|
402 |
+ <div v-show="searchOpen2" class="popup-wrap"> |
|
403 |
+ <div class="popup-box"> |
|
404 |
+ <button |
|
405 |
+ type="button" |
|
406 |
+ class="popup-close-btn" |
|
407 |
+ style="position: absolute; top: 10px; right: 10px" |
|
408 |
+ @click="closeModal" |
|
409 |
+ > |
|
410 |
+ <svg-icon |
|
411 |
+ type="mdi" |
|
412 |
+ :path="mdiWindowClose" |
|
413 |
+ class="close-btn" |
|
414 |
+ ></svg-icon> |
|
415 |
+ </button> |
|
416 |
+ |
|
417 |
+ <div class="mb30 text-ct"> |
|
418 |
+ <p class="title1 mb20">1단원이 끝났습니다!</p> |
|
419 |
+ <p class="title1"> |
|
420 |
+ <em class="yellow">기념사진</em>을 촬영하러 가요 |
|
421 |
+ </p> |
|
422 |
+ </div> |
|
423 |
+ <div class="flex justify-center"> |
|
424 |
+ <button |
|
425 |
+ type="button" |
|
426 |
+ title="사진촬영" |
|
427 |
+ class="new-btn" |
|
428 |
+ @click="openCameraModal" |
|
429 |
+ > |
|
430 |
+ 사진 촬영 |
|
431 |
+ </button> |
|
432 |
+ </div> |
|
433 |
+ </div> |
|
434 |
+ </div> |
|
435 |
+ |
|
436 |
+ <!-- 카메라 모달 --> |
|
437 |
+ <article v-show="showCameraModal" class="popup-wrap"> |
|
438 |
+ <div class="popup-box" style="top: 500px; left: 500px"> |
|
439 |
+ <div class="flex mb10 justify-between"> |
|
440 |
+ <p class="popup-title">사진 촬영</p> |
|
441 |
+ <button type="button" class="popup-close-btn" @click="closeModal"> |
|
442 |
+ <svg-icon |
|
443 |
+ type="mdi" |
|
444 |
+ :path="mdiWindowClose" |
|
445 |
+ class="close-btn" |
|
446 |
+ ></svg-icon> |
|
447 |
+ </button> |
|
448 |
+ </div> |
|
449 |
+ <div class="box"> |
|
450 |
+ <div style="width: 100%"> |
|
451 |
+ <div id="container" ref="container"> |
|
452 |
+ <video |
|
453 |
+ v-if="!photoTaken" |
|
454 |
+ autoplay="true" |
|
455 |
+ ref="modalVideoElement" |
|
456 |
+ class="mirrored" |
|
457 |
+ @canplay="onVideoLoaded" |
|
458 |
+ style="position: absolute; height: 100%" |
|
459 |
+ ></video> |
|
460 |
+ <img |
|
461 |
+ src="../../../resources/img/camera-rabbit.png" |
|
462 |
+ class="camera-rabbit" |
|
463 |
+ style="position: absolute" |
|
464 |
+ /> |
|
465 |
+ <canvas ref="canvas" style="pointer-events: none"></canvas> |
|
466 |
+ </div> |
|
467 |
+ </div> |
|
468 |
+ </div> |
|
469 |
+ <div class="flex justify-center mt20"> |
|
470 |
+ <button class="new-btn" @click="takePhoto">사진 찍기</button> |
|
471 |
+ </div> |
|
472 |
+ </div> |
|
473 |
+ </article> |
|
198 | 474 |
</div> |
475 |
+ <div class="complete-wrap myphoto"> |
|
476 |
+ <button |
|
477 |
+ class="login-btn mt10" |
|
478 |
+ type="submit" |
|
479 |
+ style="width: 100%" |
|
480 |
+ @click="finishSchedule" |
|
481 |
+ > |
|
482 |
+ <img |
|
483 |
+ src="../../../resources/img/btn07_s.png" |
|
484 |
+ alt="" |
|
485 |
+ style="height: 100px" |
|
486 |
+ /> |
|
487 |
+ <p>학습 종료하기</p> |
|
488 |
+ </button> |
|
489 |
+ <h2 class="mb40 mt10">이 단원을 끝낸 친구들</h2> |
|
490 |
+ <article class="flex-column"> |
|
491 |
+ <div class="flex-row"> |
|
492 |
+ <div class="flex" style="gap: 5px; flex-wrap: wrap"> |
|
493 |
+ <div |
|
494 |
+ v-for="(image, index) in images" |
|
495 |
+ :key="image.fileId" |
|
496 |
+ @click="buttonSearch(image)" |
|
497 |
+ class="photo" |
|
498 |
+ style="margin-bottom: 5px" |
|
499 |
+ > |
|
500 |
+ <img |
|
501 |
+ :src="image.url" |
|
502 |
+ :alt="image.fileNm" |
|
503 |
+ reloadable="true" |
|
504 |
+ style="height: 100%" |
|
505 |
+ /> |
|
506 |
+ </div> |
|
507 |
+ </div> |
|
508 |
+ </div> |
|
509 |
+ </article> |
|
510 |
+ <article class="popup-wrap" v-show="searchOpen"> |
|
511 |
+ <div class="popup-box"> |
|
512 |
+ <div class="flex mb10 justify-between"> |
|
513 |
+ <p class="popup-title">알림</p> |
|
514 |
+ <button type="button" class="popup-close-btn" @click="closeModal"> |
|
515 |
+ <svg-icon |
|
516 |
+ type="mdi" |
|
517 |
+ :path="mdiWindowClose" |
|
518 |
+ class="close-btn" |
|
519 |
+ ></svg-icon> |
|
520 |
+ </button> |
|
521 |
+ </div> |
|
522 |
+ <div class="box"> |
|
523 |
+ <div style="width: 910px"> |
|
524 |
+ <img src="../../../resources/img/img140_747s.png" alt="" /> |
|
525 |
+ </div> |
|
526 |
+ </div> |
|
527 |
+ <div class="flex justify-between mt20"> |
|
528 |
+ <div class="text flex"> |
|
529 |
+ <p class="title2 date ml30">2024-08-06</p> |
|
530 |
+ <span class="title1 ml30" |
|
531 |
+ >1단원을 마친 <em class="yellow">가나다</em>친구</span |
|
532 |
+ > |
|
533 |
+ </div> |
|
534 |
+ <div class="title2 flex align-center" style="gap: 10px"> |
|
535 |
+ <svg-icon |
|
536 |
+ type="mdi" |
|
537 |
+ :path="mdiHeart" |
|
538 |
+ style="color: #ffba08" |
|
539 |
+ ></svg-icon> |
|
540 |
+ <p><em class="yellow">1</em></p> |
|
541 |
+ </div> |
|
542 |
+ </div> |
|
543 |
+ </div> |
|
544 |
+ </article> |
|
545 |
+ </div> |
|
546 |
+ </div> |
|
199 | 547 |
</template> |
200 | 548 |
|
201 | 549 |
<script> |
202 |
-import SvgIcon from '@jamescoyle/vue-icon'; |
|
203 |
-import { mdiMagnify, mdiHeart, mdiWindowClose } from '@mdi/js'; |
|
204 |
-import axios from 'axios'; |
|
550 |
+import SvgIcon from "@jamescoyle/vue-icon"; |
|
551 |
+import { mdiMagnify, mdiHeart, mdiWindowClose } from "@mdi/js"; |
|
552 |
+import axios from "axios"; |
|
205 | 553 |
|
206 |
-//은진 |
|
554 |
+//은진 |
|
207 | 555 |
|
208 | 556 |
export default { |
209 |
- data() { |
|
210 |
- return { |
|
211 |
- items: [ |
|
212 |
- { |
|
213 |
- imgSrc1: 'client/resources/img/img11_1_s.png', |
|
214 |
- imgSrc2: 'client/resources/img/img12_1_s.png', |
|
215 |
- imgSrc3: 'client/resources/img/img11_2_s.png', |
|
216 |
- imgSrc4: 'client/resources/img/img12_2_s.png', |
|
217 |
- isSecondImageVisible: false |
|
218 |
- }, |
|
219 |
- ], |
|
220 |
- mdiWindowClose: mdiWindowClose, |
|
221 |
- mdiHeart: mdiHeart, |
|
222 |
- showModal: false, |
|
223 |
- searchOpen: false, // 사진 상세보기 모달창 |
|
224 |
- searchOpen2: false, // 단원 마친 후, 사진 촬영 여부 선택 모달창 |
|
225 |
- showCameraModal: false, // 카메라 모달창 |
|
226 |
- photoTaken: false, |
|
227 |
- photo: null, //캡쳐 사진 |
|
228 |
- stream: null, |
|
229 |
- |
|
230 |
- isHidden: false, |
|
231 |
- images: [], |
|
232 |
- |
|
233 |
- |
|
234 |
- } |
|
235 |
- }, |
|
236 |
- methods: { |
|
237 |
- async findFile(file_mng_id) { |
|
238 |
- try { |
|
239 |
- const res = await axios({ |
|
240 |
- url: "/file/find.json", |
|
241 |
- method: "post", |
|
242 |
- headers: { |
|
243 |
- "Content-Type": "application/json; charset=UTF-8", |
|
244 |
- }, |
|
245 |
- data: { |
|
246 |
- file_mng_id: file_mng_id, |
|
247 |
- }, |
|
248 |
- }); |
|
249 |
- return res.data.list[0]; |
|
250 |
- } catch (error) { |
|
251 |
- console.log("result - error : ", error); |
|
252 |
- return null; |
|
253 |
- } |
|
557 |
+ data() { |
|
558 |
+ return { |
|
559 |
+ items: [ |
|
560 |
+ { |
|
561 |
+ imgSrc1: "client/resources/img/img11_1_s.png", |
|
562 |
+ imgSrc2: "client/resources/img/img12_1_s.png", |
|
563 |
+ imgSrc3: "client/resources/img/img11_2_s.png", |
|
564 |
+ imgSrc4: "client/resources/img/img12_2_s.png", |
|
565 |
+ isSecondImageVisible: false, |
|
254 | 566 |
}, |
255 |
- fetchImage() { |
|
256 |
- axios({ |
|
257 |
- url: "/photo/photoUnitList.json", |
|
258 |
- method: "post", |
|
259 |
- headers: { |
|
260 |
- "Content-Type": "application/json; charset=UTF-8", |
|
261 |
- }, |
|
262 |
- data: { |
|
263 |
- unitId: "UNIT_000000000000001", // 수정해야함 |
|
264 |
- sclsId: "1" |
|
265 |
- } |
|
567 |
+ ], |
|
568 |
+ mdiWindowClose: mdiWindowClose, |
|
569 |
+ mdiHeart: mdiHeart, |
|
570 |
+ showModal: false, |
|
571 |
+ searchOpen: false, // 사진 상세보기 모달창 |
|
572 |
+ searchOpen2: false, // 단원 마친 후, 사진 촬영 여부 선택 모달창 |
|
573 |
+ showCameraModal: false, // 카메라 모달창 |
|
574 |
+ photoTaken: false, |
|
575 |
+ photo: null, //캡쳐 사진 |
|
576 |
+ stream: null, |
|
577 |
+ |
|
578 |
+ isHidden: false, |
|
579 |
+ images: [], |
|
580 |
+ }; |
|
581 |
+ }, |
|
582 |
+ methods: { |
|
583 |
+ async findFile(file_mng_id) { |
|
584 |
+ try { |
|
585 |
+ const res = await axios({ |
|
586 |
+ url: "/file/find.json", |
|
587 |
+ method: "post", |
|
588 |
+ headers: { |
|
589 |
+ "Content-Type": "application/json; charset=UTF-8", |
|
590 |
+ }, |
|
591 |
+ data: { |
|
592 |
+ file_mng_id: file_mng_id, |
|
593 |
+ }, |
|
594 |
+ }); |
|
595 |
+ return res.data.list[0]; |
|
596 |
+ } catch (error) { |
|
597 |
+ console.log("result - error : ", error); |
|
598 |
+ return null; |
|
599 |
+ } |
|
600 |
+ }, |
|
601 |
+ fetchImage() { |
|
602 |
+ axios({ |
|
603 |
+ url: "/photo/photoUnitList.json", |
|
604 |
+ method: "post", |
|
605 |
+ headers: { |
|
606 |
+ "Content-Type": "application/json; charset=UTF-8", |
|
607 |
+ }, |
|
608 |
+ data: { |
|
609 |
+ unitId: "UNIT_000000000000001", // 수정해야함 |
|
610 |
+ sclsId: "1", |
|
611 |
+ }, |
|
612 |
+ }) |
|
613 |
+ .then((response) => { |
|
614 |
+ this.file_mng_id = response.data; |
|
615 |
+ |
|
616 |
+ const findFilePromises = this.file_mng_id.map((id) => |
|
617 |
+ this.findFile(id.file_mng_id) |
|
618 |
+ ); |
|
619 |
+ |
|
620 |
+ return Promise.all(findFilePromises); |
|
621 |
+ }) |
|
622 |
+ .then((fileResults) => { |
|
623 |
+ // Format file results to include image URL |
|
624 |
+ this.images = fileResults |
|
625 |
+ .map((file) => { |
|
626 |
+ if (file) { |
|
627 |
+ return { |
|
628 |
+ url: "http://165.229.169.113:9080/" + `${file.fileRpath}`, |
|
629 |
+ fileId: file.fileId, |
|
630 |
+ fileNm: file.fileNm, |
|
631 |
+ // Add any other properties you need here |
|
632 |
+ }; |
|
633 |
+ } |
|
634 |
+ return null; |
|
266 | 635 |
}) |
267 |
- .then(response => { |
|
268 |
- this.file_mng_id = response.data; |
|
269 |
- |
|
270 |
- const findFilePromises = this.file_mng_id.map(id => |
|
271 |
- this.findFile(id.file_mng_id) |
|
272 |
- ); |
|
273 |
- |
|
274 |
- return Promise.all(findFilePromises); |
|
275 |
- }) |
|
276 |
- .then(fileResults => { |
|
277 |
- // Format file results to include image URL |
|
278 |
- this.images = fileResults.map(file => { |
|
279 |
- if (file) { |
|
280 |
- return { |
|
281 |
- url: "http://165.229.169.113:9080/" + `${file.fileRpath}`, |
|
282 |
- fileId: file.fileId, |
|
283 |
- fileNm: file.fileNm, |
|
284 |
- // Add any other properties you need here |
|
285 |
- }; |
|
286 |
- } |
|
287 |
- return null; |
|
288 |
- }).filter(image => image !== null); |
|
289 |
- }) |
|
290 |
- .catch(error => { |
|
291 |
- console.error("Error fetching images:", error); |
|
292 |
- }); |
|
293 |
- }, |
|
294 |
- goToPageImg(page) { |
|
295 |
- const canvas = document.querySelector('canvas'); |
|
296 |
- const dataURL = canvas.toDataURL('image/png'); |
|
297 |
- |
|
298 |
- this.$router.push({ name: page, query: { image: encodeURIComponent(dataURL) } }); |
|
299 |
- }, |
|
300 |
- finishSchedule() { |
|
301 |
- this.isHidden = true; |
|
302 |
- }, |
|
303 |
- toggleImage(index) { |
|
304 |
- this.items[index].isSecondImageVisible = !this.items[index].isSecondImageVisible; |
|
305 |
- }, |
|
306 |
- ShowPopup() { |
|
307 |
- this.searchOpen2 = true; |
|
308 |
- }, |
|
309 |
- goToPage(page) { |
|
310 |
- this.$router.push({ name: page }); |
|
311 |
- }, |
|
312 |
- openCameraModal() { |
|
313 |
- this.closeModal(); |
|
314 |
- |
|
315 |
- this.showCameraModal = true; |
|
316 |
- navigator.mediaDevices.getUserMedia({ video: true }) |
|
317 |
- .then(stream => { |
|
318 |
- const modalVideo = this.$refs.modalVideoElement; |
|
319 |
- modalVideo.srcObject = stream; |
|
320 |
- this.stream = stream; |
|
321 |
- }) |
|
322 |
- .catch(error => { |
|
323 |
- console.log("error>>>>>>>>", error); |
|
324 |
- }); |
|
325 |
- }, |
|
326 |
- closeModal() { //웹캠 및 모든 팝업 닫기 |
|
327 |
- // this.showModal = false; |
|
328 |
- this.searchOpen = false; |
|
329 |
- this.searchOpen2 = false; |
|
330 |
- this.showCameraModal = false; |
|
331 |
- this.photoTaken = false; |
|
332 |
- this.photo = null; |
|
333 |
- |
|
334 |
- //스트림 종료 |
|
335 |
- if (this.stream) { |
|
336 |
- let tracks = this.stream.getTracks(); |
|
337 |
- tracks.forEach(track => track.stop()); |
|
338 |
- this.stream = null; |
|
339 |
- } |
|
340 |
- }, |
|
341 |
- |
|
342 |
- |
|
343 |
- //은진 |
|
344 |
- onVideoLoaded() { |
|
345 |
- const video = this.$refs.modalVideoElement; |
|
346 |
- const canvas = this.$refs.canvas; |
|
347 |
- const ctx = canvas.getContext('2d'); |
|
348 |
- |
|
349 |
- canvas.width = video.videoWidth; |
|
350 |
- canvas.height = video.videoHeight; |
|
351 |
- }, takePhoto() { |
|
352 |
- const video = this.$refs.modalVideoElement; |
|
353 |
- const canvas = this.$refs.canvas; |
|
354 |
- const ctx = canvas.getContext('2d'); |
|
355 |
- |
|
356 |
- ctx.save(); // 현재 상태 저장 |
|
357 |
- |
|
358 |
- // 캔버스 좌우 반전 |
|
359 |
- ctx.scale(-1, 1); |
|
360 |
- ctx.drawImage(video, -canvas.width, 0, canvas.width, canvas.height); |
|
361 |
- |
|
362 |
- ctx.restore(); |
|
363 |
- |
|
364 |
- const overlayImg = new Image(); |
|
365 |
- overlayImg.src = 'client/resources/img/camera-rabbit.png'; |
|
366 |
- overlayImg.onload = () => { |
|
367 |
- const overlayWidth = canvas.width * 0.4; |
|
368 |
- const overlayHeight = (overlayImg.height / overlayImg.width) * overlayWidth; |
|
369 |
- const overlayX = canvas.width - overlayWidth; |
|
370 |
- const overlayY = canvas.height - overlayHeight; |
|
371 |
- |
|
372 |
- // 오버레이 이미지 그리기 |
|
373 |
- ctx.drawImage(overlayImg, overlayX, overlayY, overlayWidth, overlayHeight); |
|
374 |
- |
|
375 |
- // 사진 저장 함수 호출 |
|
376 |
- // this.savePhoto('PhotoEdit'); |
|
377 |
- const dataURL = canvas.toDataURL('image/png'); |
|
378 |
- this.$router.push({ name: 'PhotoEdit', query: { image: encodeURIComponent(dataURL) } }); |
|
379 |
- }; |
|
380 |
- }, |
|
381 |
- |
|
382 |
- |
|
383 |
- buttonSearch() { |
|
384 |
- this.searchOpen = true; |
|
385 |
- }, |
|
386 |
- buttonSearch2() { |
|
387 |
- this.searchOpen2 = true; |
|
388 |
- }, |
|
389 |
- closeBtn() { |
|
390 |
- this.searchOpen = false; |
|
391 |
- }, |
|
636 |
+ .filter((image) => image !== null); |
|
637 |
+ }) |
|
638 |
+ .catch((error) => { |
|
639 |
+ console.error("Error fetching images:", error); |
|
640 |
+ }); |
|
392 | 641 |
}, |
393 |
- components: { |
|
394 |
- SvgIcon, |
|
642 |
+ goToPageImg(page) { |
|
643 |
+ const canvas = document.querySelector("canvas"); |
|
644 |
+ const dataURL = canvas.toDataURL("image/png"); |
|
645 |
+ |
|
646 |
+ this.$router.push({ |
|
647 |
+ name: page, |
|
648 |
+ query: { image: encodeURIComponent(dataURL) }, |
|
649 |
+ }); |
|
395 | 650 |
}, |
396 |
- mounted() { |
|
397 |
- console.log('main mounted'); |
|
398 |
- |
|
399 |
- this.onVideoLoaded(); |
|
400 |
- this.fetchImage(); |
|
401 |
- |
|
402 |
- if (this.$route.query.reCapture == 'true') { |
|
403 |
- this.openCameraModal() |
|
404 |
- } |
|
405 |
- |
|
651 |
+ finishSchedule() { |
|
652 |
+ this.isHidden = true; |
|
406 | 653 |
}, |
407 |
- computed() { |
|
408 |
- |
|
654 |
+ toggleImage(index) { |
|
655 |
+ this.items[index].isSecondImageVisible = |
|
656 |
+ !this.items[index].isSecondImageVisible; |
|
409 | 657 |
}, |
410 |
-} |
|
658 |
+ ShowPopup() { |
|
659 |
+ this.searchOpen2 = true; |
|
660 |
+ }, |
|
661 |
+ goToPage(page) { |
|
662 |
+ this.$router.push({ name: page }); |
|
663 |
+ }, |
|
664 |
+ openCameraModal() { |
|
665 |
+ this.closeModal(); |
|
666 |
+ |
|
667 |
+ this.showCameraModal = true; |
|
668 |
+ navigator.mediaDevices |
|
669 |
+ .getUserMedia({ video: true }) |
|
670 |
+ .then((stream) => { |
|
671 |
+ const modalVideo = this.$refs.modalVideoElement; |
|
672 |
+ modalVideo.srcObject = stream; |
|
673 |
+ this.stream = stream; |
|
674 |
+ }) |
|
675 |
+ .catch((error) => { |
|
676 |
+ console.log("error>>>>>>>>", error); |
|
677 |
+ }); |
|
678 |
+ }, |
|
679 |
+ closeModal() { |
|
680 |
+ //웹캠 및 모든 팝업 닫기 |
|
681 |
+ // this.showModal = false; |
|
682 |
+ this.searchOpen = false; |
|
683 |
+ this.searchOpen2 = false; |
|
684 |
+ this.showCameraModal = false; |
|
685 |
+ this.photoTaken = false; |
|
686 |
+ this.photo = null; |
|
687 |
+ |
|
688 |
+ //스트림 종료 |
|
689 |
+ if (this.stream) { |
|
690 |
+ let tracks = this.stream.getTracks(); |
|
691 |
+ tracks.forEach((track) => track.stop()); |
|
692 |
+ this.stream = null; |
|
693 |
+ } |
|
694 |
+ }, |
|
695 |
+ |
|
696 |
+ //은진 |
|
697 |
+ onVideoLoaded() { |
|
698 |
+ const video = this.$refs.modalVideoElement; |
|
699 |
+ const canvas = this.$refs.canvas; |
|
700 |
+ const ctx = canvas.getContext("2d"); |
|
701 |
+ |
|
702 |
+ canvas.width = video.videoWidth; |
|
703 |
+ canvas.height = video.videoHeight; |
|
704 |
+ }, |
|
705 |
+ takePhoto() { |
|
706 |
+ const video = this.$refs.modalVideoElement; |
|
707 |
+ const canvas = this.$refs.canvas; |
|
708 |
+ const ctx = canvas.getContext("2d"); |
|
709 |
+ |
|
710 |
+ ctx.save(); // 현재 상태 저장 |
|
711 |
+ |
|
712 |
+ // 캔버스 좌우 반전 |
|
713 |
+ ctx.scale(-1, 1); |
|
714 |
+ ctx.drawImage(video, -canvas.width, 0, canvas.width, canvas.height); |
|
715 |
+ |
|
716 |
+ ctx.restore(); |
|
717 |
+ |
|
718 |
+ const overlayImg = new Image(); |
|
719 |
+ overlayImg.src = "client/resources/img/camera-rabbit.png"; |
|
720 |
+ overlayImg.onload = () => { |
|
721 |
+ const overlayWidth = canvas.width * 0.4; |
|
722 |
+ const overlayHeight = |
|
723 |
+ (overlayImg.height / overlayImg.width) * overlayWidth; |
|
724 |
+ const overlayX = canvas.width - overlayWidth; |
|
725 |
+ const overlayY = canvas.height - overlayHeight; |
|
726 |
+ |
|
727 |
+ // 오버레이 이미지 그리기 |
|
728 |
+ ctx.drawImage( |
|
729 |
+ overlayImg, |
|
730 |
+ overlayX, |
|
731 |
+ overlayY, |
|
732 |
+ overlayWidth, |
|
733 |
+ overlayHeight |
|
734 |
+ ); |
|
735 |
+ |
|
736 |
+ // 사진 저장 함수 호출 |
|
737 |
+ // this.savePhoto('PhotoEdit'); |
|
738 |
+ const dataURL = canvas.toDataURL("image/png"); |
|
739 |
+ this.$router.push({ |
|
740 |
+ name: "PhotoEdit", |
|
741 |
+ query: { image: encodeURIComponent(dataURL) }, |
|
742 |
+ }); |
|
743 |
+ }; |
|
744 |
+ }, |
|
745 |
+ |
|
746 |
+ buttonSearch() { |
|
747 |
+ this.searchOpen = true; |
|
748 |
+ }, |
|
749 |
+ buttonSearch2() { |
|
750 |
+ this.searchOpen2 = true; |
|
751 |
+ }, |
|
752 |
+ closeBtn() { |
|
753 |
+ this.searchOpen = false; |
|
754 |
+ }, |
|
755 |
+ }, |
|
756 |
+ components: { |
|
757 |
+ SvgIcon, |
|
758 |
+ }, |
|
759 |
+ mounted() { |
|
760 |
+ console.log("main mounted"); |
|
761 |
+ |
|
762 |
+ this.onVideoLoaded(); |
|
763 |
+ this.fetchImage(); |
|
764 |
+ |
|
765 |
+ if (this.$route.query.reCapture == "true") { |
|
766 |
+ this.openCameraModal(); |
|
767 |
+ } |
|
768 |
+ }, |
|
769 |
+ computed() {}, |
|
770 |
+}; |
|
411 | 771 |
</script> |
412 | 772 |
|
413 | 773 |
<style> |
414 | 774 |
.body { |
415 |
- width: 1435px; |
|
416 |
- height: auto; |
|
417 |
- margin: 0 auto; |
|
775 |
+ width: 1435px; |
|
776 |
+ height: auto; |
|
777 |
+ margin: 0 auto; |
|
418 | 778 |
} |
419 | 779 |
|
420 | 780 |
#container { |
421 |
- position: relative; |
|
422 |
- margin: auto; |
|
423 |
- border: 10px #333 solid; |
|
424 |
- display: flex; |
|
425 |
- justify-content: center; |
|
426 |
- align-items: center; |
|
427 |
- z-index: 100; |
|
781 |
+ position: relative; |
|
782 |
+ margin: auto; |
|
783 |
+ border: 10px #333 solid; |
|
784 |
+ display: flex; |
|
785 |
+ justify-content: center; |
|
786 |
+ align-items: center; |
|
787 |
+ z-index: 100; |
|
428 | 788 |
} |
429 | 789 |
|
430 |
- |
|
431 | 790 |
video { |
432 |
- width: 100%; |
|
433 |
- height: 100%; |
|
434 |
- background-color: #666; |
|
791 |
+ width: 100%; |
|
792 |
+ height: 100%; |
|
793 |
+ background-color: #666; |
|
435 | 794 |
} |
436 | 795 |
|
437 | 796 |
.mirrored { |
438 |
- transform: scaleX(-1); |
|
797 |
+ transform: scaleX(-1); |
|
439 | 798 |
} |
440 | 799 |
|
441 | 800 |
.new-btn:disabled { |
442 |
- background-color: #FFF3D7; |
|
443 |
- cursor: not-allowed; |
|
801 |
+ background-color: #fff3d7; |
|
802 |
+ cursor: not-allowed; |
|
444 | 803 |
} |
445 | 804 |
|
446 | 805 |
/* button { |
... | ... | @@ -454,57 +813,110 @@ |
454 | 813 |
} */ |
455 | 814 |
|
456 | 815 |
.sticker { |
457 |
- position: absolute; |
|
458 |
- cursor: move; |
|
816 |
+ position: absolute; |
|
817 |
+ cursor: move; |
|
459 | 818 |
} |
460 | 819 |
|
461 | 820 |
.sticker-handle { |
462 |
- width: 15px; |
|
463 |
- height: 15px; |
|
464 |
- background: rgba(255, 255, 255, 0.521); |
|
465 |
- position: absolute; |
|
466 |
- bottom: 0; |
|
467 |
- right: 0; |
|
468 |
- cursor: nwse-resize; |
|
469 |
- font-size: 13px; |
|
470 |
- font-weight: bolder; |
|
471 |
- color: rgb(63, 63, 63); |
|
821 |
+ width: 15px; |
|
822 |
+ height: 15px; |
|
823 |
+ background: rgba(255, 255, 255, 0.521); |
|
824 |
+ position: absolute; |
|
825 |
+ bottom: 0; |
|
826 |
+ right: 0; |
|
827 |
+ cursor: nwse-resize; |
|
828 |
+ font-size: 13px; |
|
829 |
+ font-weight: bolder; |
|
830 |
+ color: rgb(63, 63, 63); |
|
472 | 831 |
} |
473 | 832 |
|
474 | 833 |
.sticker-delete { |
475 |
- position: absolute; |
|
476 |
- top: 0; |
|
477 |
- right: 0; |
|
478 |
- background: rgba(255, 0, 0, 0.425); |
|
479 |
- color: white; |
|
480 |
- padding: 5px; |
|
481 |
- cursor: pointer; |
|
834 |
+ position: absolute; |
|
835 |
+ top: 0; |
|
836 |
+ right: 0; |
|
837 |
+ background: rgba(255, 0, 0, 0.425); |
|
838 |
+ color: white; |
|
839 |
+ padding: 5px; |
|
840 |
+ cursor: pointer; |
|
482 | 841 |
} |
483 | 842 |
|
484 | 843 |
.toolbar { |
485 |
- display: flex; |
|
486 |
- justify-content: center; |
|
487 |
- margin-top: 10px; |
|
844 |
+ display: flex; |
|
845 |
+ justify-content: center; |
|
846 |
+ margin-top: 10px; |
|
488 | 847 |
} |
489 | 848 |
|
490 | 849 |
.toolbar button { |
491 |
- margin: 5px; |
|
492 |
- padding: 5px 10px; |
|
493 |
- cursor: pointer; |
|
850 |
+ margin: 5px; |
|
851 |
+ padding: 5px 10px; |
|
852 |
+ cursor: pointer; |
|
494 | 853 |
} |
495 | 854 |
|
496 | 855 |
.toolbar input { |
497 |
- margin: 5px; |
|
856 |
+ margin: 5px; |
|
498 | 857 |
} |
499 | 858 |
|
500 | 859 |
.rabbit-end { |
501 |
- cursor: pointer; |
|
860 |
+ cursor: pointer; |
|
502 | 861 |
} |
503 | 862 |
|
504 | 863 |
.camera-rabbit { |
505 |
- position: absolute; |
|
506 |
- right: 0; |
|
507 |
- bottom: 0; |
|
508 |
- width: 40%; |
|
864 |
+ position: absolute; |
|
865 |
+ right: 0; |
|
866 |
+ bottom: 0; |
|
867 |
+ width: 40%; |
|
509 | 868 |
} |
510 |
-</style>(파일 끝에 줄바꿈 문자 없음) |
|
869 |
+ |
|
870 |
+.rabbit-start img { |
|
871 |
+ transform: scaleX(-1); |
|
872 |
+} |
|
873 |
+ |
|
874 |
+.image-container { |
|
875 |
+ position: relative; |
|
876 |
+ display: inline-block; |
|
877 |
+} |
|
878 |
+ |
|
879 |
+.clear-img { |
|
880 |
+ position: absolute; |
|
881 |
+ top: -27px; |
|
882 |
+ left: 0; |
|
883 |
+ width: 100px; |
|
884 |
+ height: 100px; |
|
885 |
+ z-index: 1; |
|
886 |
+} |
|
887 |
+ |
|
888 |
+.race-btn p.before-clear { |
|
889 |
+ /* width: auto; */ |
|
890 |
+ font-size: 20px; |
|
891 |
+ line-height: 1.6; |
|
892 |
+ color: #ffffff; |
|
893 |
+ background-color: rgba(48, 48, 48, 0.562); |
|
894 |
+ padding: 6px; |
|
895 |
+ border-radius: 8px; |
|
896 |
+ /* border: 1px solid rgba(255, 255, 255, 0.2); */ |
|
897 |
+ margin-bottom: 20px; |
|
898 |
+ /* box-shadow: none; */ |
|
899 |
+ position: static; |
|
900 |
+} |
|
901 |
+ |
|
902 |
+.race-btn p.clear { |
|
903 |
+ /* width: auto; */ |
|
904 |
+ font-size: 20px; |
|
905 |
+ line-height: 1.6; |
|
906 |
+ color: #333; |
|
907 |
+ background-color: #f9f9f9; |
|
908 |
+ padding: 6px; |
|
909 |
+ border-radius: 8px; |
|
910 |
+ /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */ |
|
911 |
+ margin-bottom: 20px; |
|
912 |
+ position: static; |
|
913 |
+ display: flex; |
|
914 |
+ align-items: center; |
|
915 |
+ gap: 0.5rem; |
|
916 |
+} |
|
917 |
+ |
|
918 |
+.race-box .lcon { |
|
919 |
+ display: flex; |
|
920 |
+ align-items: center; |
|
921 |
+} |
|
922 |
+</style> |
--- client/views/pages/main/Dashboard.vue
+++ client/views/pages/main/Dashboard.vue
... | ... | @@ -1,232 +1,532 @@ |
1 | 1 |
<template> |
2 |
- <p class="title1" v-if="state === 'finish'" style="position: absolute; top: 50%; transform: translate(0, -50%);"> |
|
2 |
+ <p |
|
3 |
+ class="title1" |
|
4 |
+ v-if="state === 'finish'" |
|
5 |
+ style="position: absolute; top: 50%; transform: translate(0, -50%)" |
|
6 |
+ > |
|
3 | 7 |
오늘 공부를 다했어요! 너무 고생했어요! |
4 | 8 |
</p> |
5 |
- <div class="title1" v-else-if="state === 'notRegistered'" style="position: absolute; top: 50%; transform: translate(0, -50%);"> |
|
9 |
+ <div |
|
10 |
+ class="title1" |
|
11 |
+ v-else-if="state === 'notRegistered'" |
|
12 |
+ style="position: absolute; top: 50%; transform: translate(0, -50%)" |
|
13 |
+ > |
|
6 | 14 |
<div> |
7 |
- <h3>지금은 학습 루트가 등록이 안됐어요! 학습 일정에서 학습루트를 등록해볼까요?</h3> |
|
8 |
- <button type="button" title="바로가기" class="yellow-btn" @click="goToPage2('MyPlan2')">바로가기</button> |
|
15 |
+ <h3> |
|
16 |
+ 지금은 학습 루트가 등록이 안됐어요! 학습 일정에서 학습루트를 |
|
17 |
+ 등록해볼까요? |
|
18 |
+ </h3> |
|
19 |
+ <button |
|
20 |
+ type="button" |
|
21 |
+ title="바로가기" |
|
22 |
+ class="yellow-btn" |
|
23 |
+ @click="goToPage2('MyPlan2')" |
|
24 |
+ > |
|
25 |
+ 바로가기 |
|
26 |
+ </button> |
|
9 | 27 |
</div> |
10 | 28 |
</div> |
11 |
- <p class="title1" v-else-if="state === 'noProblem'" style="position: absolute; top: 50%; transform: translate(0, -50%);"> |
|
29 |
+ <p |
|
30 |
+ class="title1" |
|
31 |
+ v-else-if="state === 'noProblem'" |
|
32 |
+ style="position: absolute; top: 50%; transform: translate(0, -50%)" |
|
33 |
+ > |
|
12 | 34 |
교재에 등록된 문제가 없습니다. |
13 | 35 |
</p> |
14 | 36 |
<div v-else class="main"> |
15 | 37 |
<div class="race-wrap"> |
16 |
- <div class="title-box"> |
|
38 |
+ <!-- <div class="title-box"> |
|
17 | 39 |
<p class="title" style="margin-top: 7rem">{{ titleUnitName }}</p> |
18 | 40 |
<p class="subtitle">{{ titleBookName }}</p> |
19 |
- </div> |
|
41 |
+ </div> --> |
|
20 | 42 |
<div class="race-box"> |
21 | 43 |
<div class="rabbit-start"> |
22 |
- <img src="../../../resources/img/img09_s.png" alt="" :style="{ display: rabbitPos[0] ? 'block' : 'none' }" /> |
|
44 |
+ <img |
|
45 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
46 |
+ alt="" |
|
47 |
+ :style="{ display: rabbitPos[0] ? 'block' : 'none' }" |
|
48 |
+ /> |
|
23 | 49 |
</div> |
24 |
- <div class="rcon flex justify-end mb5"> |
|
50 |
+ <!-- 1번째줄 --> |
|
51 |
+ <div |
|
52 |
+ class="rcon flex justify-end mb5" |
|
53 |
+ style="position: relative; top: 24px" |
|
54 |
+ > |
|
55 |
+ <!-- 1 --> |
|
25 | 56 |
<div class="race-btn" @click="[storeLearningId(labeledItems[0])]"> |
26 | 57 |
<div class="rabbit-running"> |
27 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
28 |
- :style="{ display: rabbitPos[1] ? 'block' : 'none' }" /> |
|
58 |
+ <img |
|
59 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
60 |
+ alt="" |
|
61 |
+ :style="{ display: rabbitPos[1] ? 'block' : 'none' }" |
|
62 |
+ /> |
|
29 | 63 |
</div> |
30 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="1"> |
|
31 |
- <img :src="labeledItems[0].label.length >= 4 |
|
32 |
- ? item.imgSrc3 |
|
33 |
- : item.imgSrc1 |
|
34 |
- " :style="{ display: !rabbitCompl[1] ? 'block' : 'none' }" /> |
|
35 |
- <img :src="labeledItems[0].label.length >= 4 |
|
36 |
- ? item.imgSrc4 |
|
37 |
- : item.imgSrc2 |
|
38 |
- " :style="{ display: rabbitCompl[1] ? 'block' : 'none' }" /> |
|
64 |
+ <button |
|
65 |
+ class="popTxt" |
|
66 |
+ v-for="(item, index) in items" |
|
67 |
+ :key="index" |
|
68 |
+ @click="toggleImage(index)" |
|
69 |
+ data-num="1" |
|
70 |
+ > |
|
71 |
+ <div class="image-container"> |
|
72 |
+ <img |
|
73 |
+ src="../../../resources/img/new_img/board/racebtn_1.png" |
|
74 |
+ alt="Race Button" |
|
75 |
+ class="base-img" |
|
76 |
+ /> |
|
77 |
+ <img |
|
78 |
+ v-if="rabbitCompl[1]" |
|
79 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
80 |
+ alt="Clear Icon" |
|
81 |
+ class="clear-img" |
|
82 |
+ /> |
|
83 |
+ </div> |
|
39 | 84 |
</button> |
40 |
- <p>{{ labeledItems[0].label }}</p> |
|
85 |
+ <p :class="!rabbitCompl[1] ? 'before-clear' : 'clear'"> |
|
86 |
+ <img |
|
87 |
+ v-if="rabbitCompl[1]" |
|
88 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
89 |
+ alt="Complete Icon" |
|
90 |
+ class="complete-icon" |
|
91 |
+ /> |
|
92 |
+ {{ labeledItems[0].label }} |
|
93 |
+ </p> |
|
41 | 94 |
</div> |
95 |
+ <!-- 2 --> |
|
42 | 96 |
<div class="race-btn" @click="[storeLearningId(labeledItems[1])]"> |
43 | 97 |
<div class="rabbit-running"> |
44 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
45 |
- :style="{ display: rabbitPos[2] ? 'block' : 'none' }" /> |
|
98 |
+ <img |
|
99 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
100 |
+ alt="" |
|
101 |
+ :style="{ display: rabbitPos[2] ? 'block' : 'none' }" |
|
102 |
+ /> |
|
46 | 103 |
</div> |
47 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="2"> |
|
48 |
- <img :src="labeledItems[1].label.length >= 4 |
|
49 |
- ? item.imgSrc3 |
|
50 |
- : item.imgSrc1 |
|
51 |
- " :style="{ display: !rabbitCompl[2] ? 'block' : 'none' }" /> |
|
52 |
- <img :src="labeledItems[1].label.length >= 4 |
|
53 |
- ? item.imgSrc4 |
|
54 |
- : item.imgSrc2 |
|
55 |
- " :style="{ display: rabbitCompl[2] ? 'block' : 'none' }" /> |
|
104 |
+ <button |
|
105 |
+ class="popTxt" |
|
106 |
+ v-for="(item, index) in items" |
|
107 |
+ :key="index" |
|
108 |
+ @click="toggleImage(index)" |
|
109 |
+ data-num="2" |
|
110 |
+ > |
|
111 |
+ <div class="image-container"> |
|
112 |
+ <img |
|
113 |
+ src="../../../resources/img/new_img/board/racebtn_2.png" |
|
114 |
+ alt="Race Button" |
|
115 |
+ class="base-img" |
|
116 |
+ /> |
|
117 |
+ <img |
|
118 |
+ v-if="rabbitCompl[2]" |
|
119 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
120 |
+ alt="Clear Icon" |
|
121 |
+ class="clear-img" |
|
122 |
+ style="position: absolute; left: 16px" |
|
123 |
+ /> |
|
124 |
+ </div> |
|
56 | 125 |
</button> |
57 |
- <p>{{ labeledItems[1].label }}</p> |
|
126 |
+ <p :class="!rabbitCompl[2] ? 'before-clear' : 'clear'"> |
|
127 |
+ <img |
|
128 |
+ v-if="rabbitCompl[2]" |
|
129 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
130 |
+ alt="Complete Icon" |
|
131 |
+ class="complete-icon" |
|
132 |
+ /> |
|
133 |
+ {{ labeledItems[1].label }} |
|
134 |
+ </p> |
|
58 | 135 |
</div> |
59 | 136 |
</div> |
137 |
+ <!-- 2번째줄 --> |
|
60 | 138 |
<div class="lcon flex justify-between mb5"> |
139 |
+ <!-- 7 --> |
|
61 | 140 |
<div class="race-btn" @click="[storeLearningId(labeledItems[6])]"> |
62 |
- <div class="rabbit-running"> |
|
63 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
64 |
- :style="{ display: rabbitPos[7] ? 'block' : 'none' }" /> |
|
141 |
+ <div class="rabbit-running" style="top: -71px"> |
|
142 |
+ <img |
|
143 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
144 |
+ alt="" |
|
145 |
+ :style="{ display: rabbitPos[7] ? 'block' : 'none' }" |
|
146 |
+ /> |
|
65 | 147 |
</div> |
66 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="7"> |
|
67 |
- <img :src="labeledItems[6].label.length >= 4 |
|
68 |
- ? item.imgSrc3 |
|
69 |
- : item.imgSrc1 |
|
70 |
- " :style="{ display: !rabbitCompl[7] ? 'block' : 'none' }" /> |
|
71 |
- <img :src="labeledItems[6].label.length >= 4 |
|
72 |
- ? item.imgSrc4 |
|
73 |
- : item.imgSrc2 |
|
74 |
- " :style="{ display: rabbitCompl[7] ? 'block' : 'none' }" /> |
|
148 |
+ <button |
|
149 |
+ class="popTxt" |
|
150 |
+ v-for="(item, index) in items" |
|
151 |
+ :key="index" |
|
152 |
+ @click="toggleImage(index)" |
|
153 |
+ data-num="7" |
|
154 |
+ style="top: -53px; position: relative" |
|
155 |
+ > |
|
156 |
+ <div class="image-container"> |
|
157 |
+ <img |
|
158 |
+ src="../../../resources/img/new_img/board/racebtn_7.png" |
|
159 |
+ alt="Race Button" |
|
160 |
+ class="base-img" |
|
161 |
+ /> |
|
162 |
+ <img |
|
163 |
+ v-if="rabbitCompl[7]" |
|
164 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
165 |
+ alt="Clear Icon" |
|
166 |
+ class="clear-img" |
|
167 |
+ style="position: absolute; top: 85px" |
|
168 |
+ /> |
|
169 |
+ </div> |
|
75 | 170 |
</button> |
76 |
- <p>{{ labeledItems[6].label }}</p> |
|
171 |
+ <p |
|
172 |
+ :class="!rabbitCompl[7] ? 'before-clear' : 'clear'" |
|
173 |
+ style="position: relative; top: -53px; left: -10px" |
|
174 |
+ > |
|
175 |
+ <img |
|
176 |
+ v-if="rabbitCompl[7]" |
|
177 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
178 |
+ alt="Complete Icon" |
|
179 |
+ class="complete-icon" |
|
180 |
+ /> |
|
181 |
+ {{ labeledItems[6].label }} |
|
182 |
+ </p> |
|
77 | 183 |
</div> |
78 |
- <div class="race-btn" @click="[storeLearningId(labeledItems[5]),]"> |
|
184 |
+ <!-- 6 --> |
|
185 |
+ <div class="race-btn" @click="[storeLearningId(labeledItems[5])]"> |
|
79 | 186 |
<div class="rabbit-running"> |
80 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
81 |
- :style="{ display: rabbitPos[6] ? 'block' : 'none' }" /> |
|
187 |
+ <img |
|
188 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
189 |
+ alt="" |
|
190 |
+ :style="{ display: rabbitPos[6] ? 'block' : 'none' }" |
|
191 |
+ /> |
|
82 | 192 |
</div> |
83 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="6"> |
|
84 |
- <img :src="labeledItems[5].label.length >= 4 |
|
85 |
- ? item.imgSrc3 |
|
86 |
- : item.imgSrc1 |
|
87 |
- " :style="{ display: !rabbitCompl[6] ? 'block' : 'none' }" /> |
|
88 |
- <img :src="labeledItems[5].label.length >= 4 |
|
89 |
- ? item.imgSrc4 |
|
90 |
- : item.imgSrc2 |
|
91 |
- " :style="{ display: rabbitCompl[6] ? 'block' : 'none' }" /> |
|
193 |
+ <button |
|
194 |
+ class="popTxt" |
|
195 |
+ v-for="(item, index) in items" |
|
196 |
+ :key="index" |
|
197 |
+ @click="toggleImage(index)" |
|
198 |
+ data-num="6" |
|
199 |
+ > |
|
200 |
+ <div class="image-container"> |
|
201 |
+ <img |
|
202 |
+ src="../../../resources/img/new_img/board/racebtn_6.png" |
|
203 |
+ alt="Race Button" |
|
204 |
+ class="base-img" |
|
205 |
+ /> |
|
206 |
+ <img |
|
207 |
+ v-if="rabbitCompl[6]" |
|
208 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
209 |
+ alt="Clear Icon" |
|
210 |
+ class="clear-img" |
|
211 |
+ /> |
|
212 |
+ </div> |
|
92 | 213 |
</button> |
93 |
- <p>{{ labeledItems[5].label }}</p> |
|
214 |
+ <p :class="!rabbitCompl[6] ? 'before-clear' : 'clear'"> |
|
215 |
+ <img |
|
216 |
+ v-if="rabbitCompl[6]" |
|
217 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
218 |
+ alt="Complete Icon" |
|
219 |
+ class="complete-icon" |
|
220 |
+ /> |
|
221 |
+ {{ labeledItems[5].label }} |
|
222 |
+ </p> |
|
94 | 223 |
</div> |
95 |
- <div class="race-btn" @click="[storeLearningId(labeledItems[4])]"> |
|
224 |
+ <!-- 5 --> |
|
225 |
+ <div |
|
226 |
+ class="race-btn" |
|
227 |
+ @click="[storeLearningId(labeledItems[4])]" |
|
228 |
+ style="position: relative; left: -31px" |
|
229 |
+ > |
|
96 | 230 |
<div class="rabbit-running"> |
97 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
98 |
- :style="{ display: rabbitPos[5] ? 'block' : 'none' }" /> |
|
231 |
+ <img |
|
232 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
233 |
+ alt="" |
|
234 |
+ :style="{ display: rabbitPos[5] ? 'block' : 'none' }" |
|
235 |
+ /> |
|
99 | 236 |
</div> |
100 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="5"> |
|
101 |
- <img :src="labeledItems[4].label.length >= 4 |
|
102 |
- ? item.imgSrc3 |
|
103 |
- : item.imgSrc1 |
|
104 |
- " :style="{ display: !rabbitCompl[5] ? 'block' : 'none' }" /> |
|
105 |
- <img :src="labeledItems[4].label.length >= 4 |
|
106 |
- ? item.imgSrc4 |
|
107 |
- : item.imgSrc2 |
|
108 |
- " :style="{ display: rabbitCompl[5] ? 'block' : 'none' }" /> |
|
237 |
+ <button |
|
238 |
+ class="popTxt" |
|
239 |
+ v-for="(item, index) in items" |
|
240 |
+ :key="index" |
|
241 |
+ @click="toggleImage(index)" |
|
242 |
+ data-num="5" |
|
243 |
+ > |
|
244 |
+ <div class="image-container"> |
|
245 |
+ <img |
|
246 |
+ src="../../../resources/img/new_img/board/racebtn_5.png" |
|
247 |
+ alt="Race Button" |
|
248 |
+ class="base-img" |
|
249 |
+ /> |
|
250 |
+ <img |
|
251 |
+ v-if="rabbitCompl[5]" |
|
252 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
253 |
+ alt="Clear Icon" |
|
254 |
+ class="clear-img" |
|
255 |
+ /> |
|
256 |
+ </div> |
|
109 | 257 |
</button> |
110 |
- <p>{{ labeledItems[4].label }}</p> |
|
258 |
+ <p :class="!rabbitCompl[5] ? 'before-clear' : 'clear'"> |
|
259 |
+ <img |
|
260 |
+ v-if="rabbitCompl[5]" |
|
261 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
262 |
+ alt="Complete Icon" |
|
263 |
+ class="complete-icon" |
|
264 |
+ /> |
|
265 |
+ {{ labeledItems[4].label }} |
|
266 |
+ </p> |
|
111 | 267 |
</div> |
268 |
+ <!-- 4 --> |
|
112 | 269 |
<div class="race-btn" @click="[storeLearningId(labeledItems[3])]"> |
113 | 270 |
<div class="rabbit-running"> |
114 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
115 |
- :style="{ display: rabbitPos[4] ? 'block' : 'none' }" /> |
|
271 |
+ <img |
|
272 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
273 |
+ alt="" |
|
274 |
+ :style="{ display: rabbitPos[4] ? 'block' : 'none' }" |
|
275 |
+ /> |
|
116 | 276 |
</div> |
117 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="4"> |
|
118 |
- <img :src="labeledItems[3].label.length >= 4 |
|
119 |
- ? item.imgSrc3 |
|
120 |
- : item.imgSrc1 |
|
121 |
- " :style="{ display: !rabbitCompl[4] ? 'block' : 'none' }" /> |
|
122 |
- <img :src="labeledItems[3].label.length >= 4 |
|
123 |
- ? item.imgSrc4 |
|
124 |
- : item.imgSrc2 |
|
125 |
- " :style="{ display: rabbitCompl[4] ? 'block' : 'none' }" /> |
|
277 |
+ <button |
|
278 |
+ class="popTxt" |
|
279 |
+ v-for="(item, index) in items" |
|
280 |
+ :key="index" |
|
281 |
+ @click="toggleImage(index)" |
|
282 |
+ data-num="4" |
|
283 |
+ > |
|
284 |
+ <div class="image-container"> |
|
285 |
+ <img |
|
286 |
+ src="../../../resources/img/new_img/board/racebtn_4.png" |
|
287 |
+ alt="Race Button" |
|
288 |
+ class="base-img" |
|
289 |
+ /> |
|
290 |
+ <img |
|
291 |
+ v-if="rabbitCompl[4]" |
|
292 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
293 |
+ alt="Clear Icon" |
|
294 |
+ class="clear-img" |
|
295 |
+ /> |
|
296 |
+ </div> |
|
126 | 297 |
</button> |
127 |
- <p>{{ labeledItems[3].label }}</p> |
|
298 |
+ <p :class="!rabbitCompl[4] ? 'before-clear' : 'clear'"> |
|
299 |
+ <img |
|
300 |
+ v-if="rabbitCompl[4]" |
|
301 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
302 |
+ alt="Complete Icon" |
|
303 |
+ class="complete-icon" |
|
304 |
+ /> |
|
305 |
+ {{ labeledItems[3].label }} |
|
306 |
+ </p> |
|
128 | 307 |
</div> |
129 |
- <div class="race-btn" @click="[storeLearningId(labeledItems[2])]"> |
|
308 |
+ <!-- 3 --> |
|
309 |
+ <div |
|
310 |
+ class="race-btn" |
|
311 |
+ @click="[storeLearningId(labeledItems[2])]" |
|
312 |
+ style="right: 12px" |
|
313 |
+ > |
|
130 | 314 |
<div class="rabbit-running"> |
131 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
132 |
- :style="{ display: rabbitPos[3] ? 'block' : 'none' }" /> |
|
315 |
+ <img |
|
316 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
317 |
+ alt="" |
|
318 |
+ :style="{ display: rabbitPos[3] ? 'block' : 'none' }" |
|
319 |
+ /> |
|
133 | 320 |
</div> |
134 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="3"> |
|
135 |
- <img :src="labeledItems[2].label.length >= 4 |
|
136 |
- ? item.imgSrc3 |
|
137 |
- : item.imgSrc1 |
|
138 |
- " :style="{ display: !rabbitCompl[3] ? 'block' : 'none' }" /> |
|
139 |
- <img :src="labeledItems[2].label.length >= 4 |
|
140 |
- ? item.imgSrc4 |
|
141 |
- : item.imgSrc2 |
|
142 |
- " :style="{ display: rabbitCompl[3] ? 'block' : 'none' }" /> |
|
321 |
+ <button |
|
322 |
+ class="popTxt" |
|
323 |
+ v-for="(item, index) in items" |
|
324 |
+ :key="index" |
|
325 |
+ @click="toggleImage(index)" |
|
326 |
+ data-num="3" |
|
327 |
+ > |
|
328 |
+ <div class="image-container"> |
|
329 |
+ <img |
|
330 |
+ src="../../../resources/img/new_img/board/racebtn_3.png" |
|
331 |
+ alt="Race Button" |
|
332 |
+ class="base-img" |
|
333 |
+ /> |
|
334 |
+ <img |
|
335 |
+ v-if="rabbitCompl[3]" |
|
336 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
337 |
+ alt="Clear Icon" |
|
338 |
+ class="clear-img" |
|
339 |
+ /> |
|
340 |
+ </div> |
|
143 | 341 |
</button> |
144 |
- <p>{{ labeledItems[2].label }}</p> |
|
342 |
+ <p :class="!rabbitCompl[3] ? 'before-clear' : 'clear'"> |
|
343 |
+ <img |
|
344 |
+ v-if="rabbitCompl[3]" |
|
345 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
346 |
+ alt="Complete Icon" |
|
347 |
+ class="complete-icon" |
|
348 |
+ /> |
|
349 |
+ {{ labeledItems[2].label }} |
|
350 |
+ </p> |
|
145 | 351 |
</div> |
146 | 352 |
</div> |
147 |
- <div class="rcon flex"> |
|
148 |
- <div class="race-btn" @click=" |
|
149 |
- [storeLearningId(labeledItems[7]),] |
|
150 |
- "> |
|
353 |
+ <!-- 3번째줄 --> |
|
354 |
+ <div class="rcon flex" style="position: relative; top: -23px"> |
|
355 |
+ <!-- 8 --> |
|
356 |
+ <div class="race-btn" @click="[storeLearningId(labeledItems[7])]"> |
|
151 | 357 |
<div class="rabbit-running"> |
152 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
153 |
- :style="{ display: rabbitPos[8] ? 'block' : 'none' }" /> |
|
358 |
+ <img |
|
359 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
360 |
+ alt="" |
|
361 |
+ :style="{ display: rabbitPos[8] ? 'block' : 'none' }" |
|
362 |
+ /> |
|
154 | 363 |
</div> |
155 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="8"> |
|
156 |
- <img :src="labeledItems[7].label.length >= 4 |
|
157 |
- ? item.imgSrc3 |
|
158 |
- : item.imgSrc1 |
|
159 |
- " :style="{ display: !rabbitCompl[8] ? 'block' : 'none' }" /> |
|
160 |
- <img :src="labeledItems[7].label.length >= 4 |
|
161 |
- ? item.imgSrc4 |
|
162 |
- : item.imgSrc2 |
|
163 |
- " :style="{ display: rabbitCompl[8] ? 'block' : 'none' }" /> |
|
364 |
+ <button |
|
365 |
+ class="popTxt" |
|
366 |
+ v-for="(item, index) in items" |
|
367 |
+ :key="index" |
|
368 |
+ @click="toggleImage(index)" |
|
369 |
+ data-num="8" |
|
370 |
+ > |
|
371 |
+ <div class="image-container"> |
|
372 |
+ <img |
|
373 |
+ src="../../../resources/img/new_img/board/racebtn_8.png" |
|
374 |
+ alt="Race Button" |
|
375 |
+ class="base-img" |
|
376 |
+ /> |
|
377 |
+ <img |
|
378 |
+ v-if="rabbitCompl[8]" |
|
379 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
380 |
+ alt="Clear Icon" |
|
381 |
+ class="clear-img" |
|
382 |
+ /> |
|
383 |
+ </div> |
|
164 | 384 |
</button> |
165 |
- <p class="long">{{ labeledItems[7].label }}</p> |
|
385 |
+ <p :class="!rabbitCompl[8] ? 'before-clear' : 'clear'"> |
|
386 |
+ <img |
|
387 |
+ v-if="rabbitCompl[8]" |
|
388 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
389 |
+ alt="Complete Icon" |
|
390 |
+ class="complete-icon" |
|
391 |
+ /> |
|
392 |
+ {{ labeledItems[7].label }} |
|
393 |
+ </p> |
|
166 | 394 |
</div> |
395 |
+ <!-- 9 --> |
|
167 | 396 |
<div class="race-btn" @click="[storeLearningId(labeledItems[8])]"> |
168 | 397 |
<div class="rabbit-running"> |
169 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
170 |
- :style="{ display: rabbitPos[9] ? 'block' : 'none' }" /> |
|
398 |
+ <img |
|
399 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
400 |
+ alt="" |
|
401 |
+ :style="{ display: rabbitPos[9] ? 'block' : 'none' }" |
|
402 |
+ /> |
|
171 | 403 |
</div> |
172 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" data-num="9"> |
|
173 |
- <img :src="labeledItems[8].label.length >= 4 |
|
174 |
- ? item.imgSrc3 |
|
175 |
- : item.imgSrc1 |
|
176 |
- " :style="{ display: !rabbitCompl[9] ? 'block' : 'none' }" /> |
|
177 |
- <img :src="labeledItems[8].label.length >= 4 |
|
178 |
- ? item.imgSrc4 |
|
179 |
- : item.imgSrc2 |
|
180 |
- " :style="{ display: rabbitCompl[9] ? 'block' : 'none' }" /> |
|
404 |
+ <button |
|
405 |
+ class="popTxt" |
|
406 |
+ v-for="(item, index) in items" |
|
407 |
+ :key="index" |
|
408 |
+ @click="toggleImage(index)" |
|
409 |
+ data-num="9" |
|
410 |
+ > |
|
411 |
+ <div class="image-container"> |
|
412 |
+ <img |
|
413 |
+ src="../../../resources/img/new_img/board/racebtn_9.png" |
|
414 |
+ alt="Race Button" |
|
415 |
+ class="base-img" |
|
416 |
+ /> |
|
417 |
+ <img |
|
418 |
+ v-if="rabbitCompl[9]" |
|
419 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
420 |
+ alt="Clear Icon" |
|
421 |
+ class="clear-img" |
|
422 |
+ /> |
|
423 |
+ </div> |
|
181 | 424 |
</button> |
182 |
- <p>{{ labeledItems[8].label }}</p> |
|
425 |
+ <p :class="!rabbitCompl[9] ? 'before-clear' : 'clear'"> |
|
426 |
+ <img |
|
427 |
+ v-if="rabbitCompl[9]" |
|
428 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
429 |
+ alt="Complete Icon" |
|
430 |
+ class="complete-icon" |
|
431 |
+ /> |
|
432 |
+ {{ labeledItems[8].label }} |
|
433 |
+ </p> |
|
183 | 434 |
</div> |
435 |
+ <!-- 10 --> |
|
184 | 436 |
<div class="race-btn" @click="[storeLearningId(labeledItems[9])]"> |
185 | 437 |
<div class="rabbit-running"> |
186 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
187 |
- :style="{ display: rabbitPos[10] ? 'block' : 'none' }" /> |
|
438 |
+ <img |
|
439 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
440 |
+ alt="" |
|
441 |
+ :style="{ display: rabbitPos[10] ? 'block' : 'none' }" |
|
442 |
+ /> |
|
188 | 443 |
</div> |
189 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" @click="toggleImage(index)" |
|
190 |
- data-num="10"> |
|
191 |
- <img :src="labeledItems[9].label.length >= 4 |
|
192 |
- ? item.imgSrc3 |
|
193 |
- : item.imgSrc1 |
|
194 |
- " :style="{ display: !rabbitCompl[10] ? 'block' : 'none' }" /> |
|
195 |
- <img :src="labeledItems[9].label.length >= 4 |
|
196 |
- ? item.imgSrc4 |
|
197 |
- : item.imgSrc2 |
|
198 |
- " :style="{ display: rabbitCompl[10] ? 'block' : 'none' }" /> |
|
444 |
+ <button |
|
445 |
+ class="popTxt" |
|
446 |
+ v-for="(item, index) in items" |
|
447 |
+ :key="index" |
|
448 |
+ @click="toggleImage(index)" |
|
449 |
+ data-num="10" |
|
450 |
+ > |
|
451 |
+ <div class="image-container"> |
|
452 |
+ <img |
|
453 |
+ src="../../../resources/img/new_img/board/racebtn_10.png" |
|
454 |
+ alt="Race Button" |
|
455 |
+ class="base-img" |
|
456 |
+ /> |
|
457 |
+ <img |
|
458 |
+ v-if="rabbitCompl[10]" |
|
459 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
460 |
+ alt="Clear Icon" |
|
461 |
+ class="clear-img" |
|
462 |
+ /> |
|
463 |
+ </div> |
|
199 | 464 |
</button> |
200 |
- <p>{{ labeledItems[9].label }}</p> |
|
465 |
+ <p :class="!rabbitCompl[10] ? 'before-clear' : 'clear'"> |
|
466 |
+ <img |
|
467 |
+ v-if="rabbitCompl[10]" |
|
468 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
469 |
+ alt="Complete Icon" |
|
470 |
+ class="complete-icon" |
|
471 |
+ /> |
|
472 |
+ {{ labeledItems[9].label }} |
|
473 |
+ </p> |
|
201 | 474 |
</div> |
202 |
- |
|
203 |
- <div class="race-btn" @click=" |
|
204 |
- [storeLearningId(labeledItems[10]),] |
|
205 |
- "> |
|
475 |
+ <!-- 11 --> |
|
476 |
+ <div class="race-btn" @click="[storeLearningId(labeledItems[10])]"> |
|
206 | 477 |
<div class="rabbit-running"> |
207 |
- <img src="../../../resources/img/img09_s.png" alt="" |
|
208 |
- :style="{ display: rabbitPos[11] ? 'block' : 'none' }" /> |
|
478 |
+ <img |
|
479 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
480 |
+ alt="" |
|
481 |
+ :style="{ display: rabbitPos[11] ? 'block' : 'none' }" |
|
482 |
+ /> |
|
209 | 483 |
</div> |
210 |
- <button class="popTxt" v-for="(item, index) in items" :key="index" |
|
211 |
- @click="toggleImageAndShowPopup(index, '11')" data-num="11"> |
|
212 |
- <img :src="labeledItems[10].label.length >= 4 |
|
213 |
- ? item.imgSrc3 |
|
214 |
- : item.imgSrc1 |
|
215 |
- " :style="{ display: !rabbitCompl[11] ? 'block' : 'none' }" /> |
|
216 |
- <img :src="labeledItems[10].label.length >= 4 |
|
217 |
- ? item.imgSrc4 |
|
218 |
- : item.imgSrc2 |
|
219 |
- " :style="{ display: rabbitCompl[11] ? 'block' : 'none' }" /> |
|
484 |
+ <button |
|
485 |
+ class="popTxt" |
|
486 |
+ v-for="(item, index) in items" |
|
487 |
+ :key="index" |
|
488 |
+ @click="toggleImageAndShowPopup(index, '11')" |
|
489 |
+ data-num="11" |
|
490 |
+ > |
|
491 |
+ <div class="image-container"> |
|
492 |
+ <img |
|
493 |
+ src="../../../resources/img/new_img/board/racebtn_11.png" |
|
494 |
+ alt="Race Button" |
|
495 |
+ class="base-img" |
|
496 |
+ /> |
|
497 |
+ <img |
|
498 |
+ v-if="rabbitCompl[11]" |
|
499 |
+ src="../../../resources/img/new_img/icon/clear_img.png" |
|
500 |
+ alt="Clear Icon" |
|
501 |
+ class="clear-img" |
|
502 |
+ /> |
|
503 |
+ </div> |
|
220 | 504 |
</button> |
221 |
- <p class="long">{{ labeledItems[10].label }}</p> |
|
505 |
+ <p :class="!rabbitCompl[11] ? 'before-clear' : 'clear'"> |
|
506 |
+ <img |
|
507 |
+ v-if="rabbitCompl[11]" |
|
508 |
+ src="../../../resources/img/new_img/icon/complete_icon.png" |
|
509 |
+ alt="Complete Icon" |
|
510 |
+ class="complete-icon" |
|
511 |
+ /> |
|
512 |
+ {{ labeledItems[10].label }} |
|
513 |
+ </p> |
|
222 | 514 |
</div> |
223 | 515 |
</div> |
224 | 516 |
<div class="race-btn"> |
225 | 517 |
<div class="rabbit-running" style="display: flex"> |
226 |
- <img class="rabbit-end" src="../../../resources/img/img138_72s.png" alt="" |
|
227 |
- :style="{ display: rabbitEnd ? 'block' : 'none' }" /> |
|
228 |
- <img class="fireworks-end" src="../../../resources/img/fireworks.gif" alt="" |
|
229 |
- :style="{ display: rabbitEnd ? 'block' : 'none' }" /> |
|
518 |
+ <img |
|
519 |
+ class="rabbit-end" |
|
520 |
+ src="../../../resources/img/new_img/rabbit.png" |
|
521 |
+ alt="" |
|
522 |
+ :style="{ display: rabbitEnd ? 'block' : 'none' }" |
|
523 |
+ /> |
|
524 |
+ <img |
|
525 |
+ class="fireworks-end" |
|
526 |
+ src="../../../resources/img/fireworks.gif" |
|
527 |
+ alt="" |
|
528 |
+ :style="{ display: rabbitEnd ? 'block' : 'none' }" |
|
529 |
+ /> |
|
230 | 530 |
</div> |
231 | 531 |
</div> |
232 | 532 |
</div> |
... | ... | @@ -234,9 +534,17 @@ |
234 | 534 |
<!-- 팝업 --> |
235 | 535 |
<div v-show="searchOpen2" class="popup-wrap"> |
236 | 536 |
<div class="popup-box"> |
237 |
- <button type="button" class="popup-close-btn" style="position: absolute; top: 10px; right: 10px" |
|
238 |
- @click="closeModal"> |
|
239 |
- <svg-icon type="mdi" :path="mdiWindowClose" class="close-btn"></svg-icon> |
|
537 |
+ <button |
|
538 |
+ type="button" |
|
539 |
+ class="popup-close-btn" |
|
540 |
+ style="position: absolute; top: 10px; right: 10px" |
|
541 |
+ @click="closeModal" |
|
542 |
+ > |
|
543 |
+ <svg-icon |
|
544 |
+ type="mdi" |
|
545 |
+ :path="mdiWindowClose" |
|
546 |
+ class="close-btn" |
|
547 |
+ ></svg-icon> |
|
240 | 548 |
</button> |
241 | 549 |
|
242 | 550 |
<div class="mb30 text-ct"> |
... | ... | @@ -246,7 +554,12 @@ |
246 | 554 |
</p> |
247 | 555 |
</div> |
248 | 556 |
<div class="flex justify-center"> |
249 |
- <button type="button" title="사진촬영" class="new-btn" @click="openCameraModal"> |
|
557 |
+ <button |
|
558 |
+ type="button" |
|
559 |
+ title="사진촬영" |
|
560 |
+ class="new-btn" |
|
561 |
+ @click="openCameraModal" |
|
562 |
+ > |
|
250 | 563 |
사진 촬영 |
251 | 564 |
</button> |
252 | 565 |
</div> |
... | ... | @@ -258,15 +571,29 @@ |
258 | 571 |
<div class="flex mb10 justify-between"> |
259 | 572 |
<p class="popup-title">사진 촬영</p> |
260 | 573 |
<button type="button" class="popup-close-btn" @click="closeModal"> |
261 |
- <svg-icon type="mdi" :path="mdiWindowClose" class="close-btn"></svg-icon> |
|
574 |
+ <svg-icon |
|
575 |
+ type="mdi" |
|
576 |
+ :path="mdiWindowClose" |
|
577 |
+ class="close-btn" |
|
578 |
+ ></svg-icon> |
|
262 | 579 |
</button> |
263 | 580 |
</div> |
264 | 581 |
<div class="box"> |
265 | 582 |
<div style="width: 100%"> |
266 | 583 |
<div id="container" ref="container"> |
267 |
- <video v-if="!photoTaken" autoplay="true" ref="modalVideoElement" class="mirrored" |
|
268 |
- @canplay="onVideoLoaded" style="position: absolute; height: 100%"></video> |
|
269 |
- <img src="../../../resources/img/camera-rabbit.png" class="camera-rabbit" style="position: absolute" /> |
|
584 |
+ <video |
|
585 |
+ v-if="!photoTaken" |
|
586 |
+ autoplay="true" |
|
587 |
+ ref="modalVideoElement" |
|
588 |
+ class="mirrored" |
|
589 |
+ @canplay="onVideoLoaded" |
|
590 |
+ style="position: absolute; height: 100%" |
|
591 |
+ ></video> |
|
592 |
+ <img |
|
593 |
+ src="../../../resources/img/camera-rabbit.png" |
|
594 |
+ class="camera-rabbit" |
|
595 |
+ style="position: absolute" |
|
596 |
+ /> |
|
270 | 597 |
<canvas ref="canvas" style="pointer-events: none"></canvas> |
271 | 598 |
</div> |
272 | 599 |
</div> |
... | ... | @@ -279,8 +606,17 @@ |
279 | 606 |
</div> |
280 | 607 |
|
281 | 608 |
<div class="complete-wrap myphoto"> |
282 |
- <button class="login-btn mt10" type="submit" style="width: 100%" @click="finishSchedule"> |
|
283 |
- <img src="../../../resources/img/btn07_s.png" alt="" style="width: 100%; height: 100px" /> |
|
609 |
+ <button |
|
610 |
+ class="login-btn mt10" |
|
611 |
+ type="submit" |
|
612 |
+ style="width: 100%" |
|
613 |
+ @click="finishSchedule" |
|
614 |
+ > |
|
615 |
+ <img |
|
616 |
+ src="../../../resources/img/btn07_s.png" |
|
617 |
+ alt="" |
|
618 |
+ style="height: 100px" |
|
619 |
+ /> |
|
284 | 620 |
<p>학습 종료하기</p> |
285 | 621 |
</button> |
286 | 622 |
<h2 class="mb40 mt10">이 단원을 끝낸 친구들</h2> |
... | ... | @@ -288,9 +624,19 @@ |
288 | 624 |
<article class="flex-column"> |
289 | 625 |
<div class="flex-row"> |
290 | 626 |
<div class="flex" style="gap: 5px; flex-wrap: wrap"> |
291 |
- <div v-for="(image, index) in images" :key="image.fileId" @click="buttonSearch(image)" class="photo" |
|
292 |
- style="margin-bottom: 5px"> |
|
293 |
- <img :src="image.url" :alt="image.fileNm" reloadable="true" style="height: 100%" /> |
|
627 |
+ <div |
|
628 |
+ v-for="(image, index) in images" |
|
629 |
+ :key="image.fileId" |
|
630 |
+ @click="buttonSearch(image)" |
|
631 |
+ class="photo" |
|
632 |
+ style="margin-bottom: 5px" |
|
633 |
+ > |
|
634 |
+ <img |
|
635 |
+ :src="image.url" |
|
636 |
+ :alt="image.fileNm" |
|
637 |
+ reloadable="true" |
|
638 |
+ style="height: 100%" |
|
639 |
+ /> |
|
294 | 640 |
</div> |
295 | 641 |
</div> |
296 | 642 |
</div> |
... | ... | @@ -299,27 +645,51 @@ |
299 | 645 |
<div class="popup-box" style="top: 50%"> |
300 | 646 |
<div class="flex mb10 justify-between"> |
301 | 647 |
<button type="button" class="popup-close-btn" @click="closeModal"> |
302 |
- <svg-icon type="mdi" :path="mdiWindowClose" class="close-btn"></svg-icon> |
|
648 |
+ <svg-icon |
|
649 |
+ type="mdi" |
|
650 |
+ :path="mdiWindowClose" |
|
651 |
+ class="close-btn" |
|
652 |
+ ></svg-icon> |
|
303 | 653 |
</button> |
304 | 654 |
</div> |
305 | 655 |
<div class="box"> |
306 | 656 |
<div style="width: 910px; height: 680px"> |
307 |
- <img :src="selectedImage.image" alt="Image" @error="onImageError" reloadable="true" /> |
|
657 |
+ <img |
|
658 |
+ :src="selectedImage.image" |
|
659 |
+ alt="Image" |
|
660 |
+ @error="onImageError" |
|
661 |
+ reloadable="true" |
|
662 |
+ /> |
|
308 | 663 |
</div> |
309 | 664 |
</div> |
310 | 665 |
<div class="flex justify-between mt20"> |
311 | 666 |
<div class="text flex"> |
312 | 667 |
<p class="title2 date ml30">{{ selectedImage.date }}</p> |
313 |
- <span class="title1 ml30">{{ selectedImage.unit }}을 마친 |
|
314 |
- <em class="yellow">{{ selectedImage.name }}</em>친구</span> |
|
668 |
+ <span class="title1 ml30" |
|
669 |
+ >{{ selectedImage.unit }}을 마친 |
|
670 |
+ <em class="yellow">{{ selectedImage.name }}</em |
|
671 |
+ >친구</span |
|
672 |
+ > |
|
315 | 673 |
</div> |
316 | 674 |
<div class="title2 flex align-center" style="gap: 10px"> |
317 |
- <svg-icon v-if="!isHeartFilled" type="mdi" :path="mdiHeartOutline" @click=" |
|
318 |
- toggleHeart(selectedImage.heart, selectedImage.fileMngId) |
|
319 |
- " style="color: #ffba08; cursor: pointer"></svg-icon> |
|
320 |
- <svg-icon v-if="isHeartFilled" type="mdi" :path="mdiHeart" @click=" |
|
321 |
- toggleHeart(selectedImage.heart, selectedImage.fileMngId) |
|
322 |
- " style="color: #ffba08; cursor: pointer"></svg-icon> |
|
675 |
+ <svg-icon |
|
676 |
+ v-if="!isHeartFilled" |
|
677 |
+ type="mdi" |
|
678 |
+ :path="mdiHeartOutline" |
|
679 |
+ @click=" |
|
680 |
+ toggleHeart(selectedImage.heart, selectedImage.fileMngId) |
|
681 |
+ " |
|
682 |
+ style="color: #ffba08; cursor: pointer" |
|
683 |
+ ></svg-icon> |
|
684 |
+ <svg-icon |
|
685 |
+ v-if="isHeartFilled" |
|
686 |
+ type="mdi" |
|
687 |
+ :path="mdiHeart" |
|
688 |
+ @click=" |
|
689 |
+ toggleHeart(selectedImage.heart, selectedImage.fileMngId) |
|
690 |
+ " |
|
691 |
+ style="color: #ffba08; cursor: pointer" |
|
692 |
+ ></svg-icon> |
|
323 | 693 |
<p> |
324 | 694 |
<em class="yellow">{{ selectedImage.heart }}</em> |
325 | 695 |
</p> |
... | ... | @@ -649,7 +1019,7 @@ |
649 | 1019 |
this.titleUnitName = this.roadmapData[0].unit_nm; |
650 | 1020 |
this.titleBookName = this.roadmapData[0].book_nm; |
651 | 1021 |
this.labeledItems = this.processedRoadmap; |
652 |
- console.log(this.roadmapData, this.labeledItems) |
|
1022 |
+ console.log(this.roadmapData, this.labeledItems); |
|
653 | 1023 |
} else { |
654 | 1024 |
this.state = "noProblem"; |
655 | 1025 |
} |
... | ... | @@ -673,7 +1043,8 @@ |
673 | 1043 |
}, |
674 | 1044 |
goToPage2(page, unit_id) { |
675 | 1045 |
this.$router.push({ |
676 |
- name: page, query: { |
|
1046 |
+ name: page, |
|
1047 |
+ query: { |
|
677 | 1048 |
unit_id: unit_id, |
678 | 1049 |
}, |
679 | 1050 |
}); |
... | ... | @@ -800,29 +1171,28 @@ |
800 | 1171 |
"Content-Type": "application/json; charset=UTF-8", |
801 | 1172 |
}, |
802 | 1173 |
data: { |
803 |
- evalId: evaldata.learning_id |
|
1174 |
+ evalId: evaldata.learning_id, |
|
804 | 1175 |
}, |
805 | 1176 |
}) |
806 |
- .then(response => { |
|
1177 |
+ .then((response) => { |
|
807 | 1178 |
const payload = { |
808 | 1179 |
learning_id: response.data, |
809 | 1180 |
label: evaldata.label, |
810 |
- seqNum: evaldata.seqNum |
|
1181 |
+ seqNum: evaldata.seqNum, |
|
811 | 1182 |
}; |
812 | 1183 |
|
813 | 1184 |
// Vuex 뮤테이션 호출 |
814 |
- this.$store.commit('setLearningData', payload); |
|
1185 |
+ this.$store.commit("setLearningData", payload); |
|
815 | 1186 |
this.handleProblemDetail(response.data[0]); |
816 | 1187 |
this.goToPage(this.problemType); |
817 | 1188 |
}) |
818 |
- .catch(error => { |
|
1189 |
+ .catch((error) => { |
|
819 | 1190 |
console.error("fetchData - error: ", error); |
820 | 1191 |
return []; |
821 | 1192 |
}); |
822 | 1193 |
}, |
823 | 1194 |
|
824 | 1195 |
handleProblemDetail(item) { |
825 |
- |
|
826 | 1196 |
if (item.prblm_type_id === "prblm_type_001") { |
827 | 1197 |
this.problemType = "Chapter3"; |
828 | 1198 |
} else if (item.prblm_type_id === "prblm_type_002") { |
... | ... | @@ -1054,6 +1424,9 @@ |
1054 | 1424 |
</script> |
1055 | 1425 |
|
1056 | 1426 |
<style scoped> |
1427 |
+.complete-wrap img { |
|
1428 |
+ width: auto; |
|
1429 |
+} |
|
1057 | 1430 |
.body { |
1058 | 1431 |
width: 1435px; |
1059 | 1432 |
height: auto; |
... | ... | @@ -1140,8 +1513,9 @@ |
1140 | 1513 |
|
1141 | 1514 |
.rabbit-running { |
1142 | 1515 |
position: absolute; |
1143 |
- bottom: 40px; |
|
1144 |
- right: 110px; |
|
1516 |
+ /* bottom: 40px; */ |
|
1517 |
+ /* right: 110px; */ |
|
1518 |
+ top: -118px; |
|
1145 | 1519 |
z-index: 10000; |
1146 | 1520 |
transform: scaleX(-1); |
1147 | 1521 |
transition: all 0.5s ease-in-out; |
... | ... | @@ -1161,7 +1535,59 @@ |
1161 | 1535 |
width: 40%; |
1162 | 1536 |
} |
1163 | 1537 |
|
1164 |
-.race-btn p { |
|
1165 |
- width: auto; |
|
1538 |
+.race-btn p.clear { |
|
1539 |
+ /* width: auto; */ |
|
1540 |
+ font-size: 20px; |
|
1541 |
+ line-height: 1.6; |
|
1542 |
+ color: #333; |
|
1543 |
+ background-color: #f9f9f9; |
|
1544 |
+ padding: 6px; |
|
1545 |
+ border-radius: 8px; |
|
1546 |
+ /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */ |
|
1547 |
+ margin-bottom: 20px; |
|
1548 |
+ position: static; |
|
1549 |
+ display: flex; |
|
1550 |
+ align-items: center; |
|
1551 |
+ gap: 0.5rem; |
|
1552 |
+} |
|
1553 |
+ |
|
1554 |
+.race-btn p.before-clear { |
|
1555 |
+ /* width: auto; */ |
|
1556 |
+ font-size: 20px; |
|
1557 |
+ line-height: 1.6; |
|
1558 |
+ color: #ffffff; |
|
1559 |
+ background-color: rgba(119, 119, 119, 0.815); |
|
1560 |
+ padding: 6px; |
|
1561 |
+ border-radius: 8px; |
|
1562 |
+ /* border: 1px solid rgba(255, 255, 255, 0.2); */ |
|
1563 |
+ margin-bottom: 20px; |
|
1564 |
+ /* box-shadow: none; */ |
|
1565 |
+ position: static; |
|
1566 |
+} |
|
1567 |
+ |
|
1568 |
+.race-box .lcon { |
|
1569 |
+ display: flex; |
|
1570 |
+ align-items: center; |
|
1571 |
+} |
|
1572 |
+.lcon .race-btn .rabbit-running { |
|
1573 |
+ transform: scaleX(1); |
|
1574 |
+} |
|
1575 |
+ |
|
1576 |
+.rabbit-start img { |
|
1577 |
+ transform: scaleX(-1); |
|
1578 |
+} |
|
1579 |
+ |
|
1580 |
+.image-container { |
|
1581 |
+ position: relative; |
|
1582 |
+ display: inline-block; |
|
1583 |
+} |
|
1584 |
+ |
|
1585 |
+.clear-img { |
|
1586 |
+ position: absolute; |
|
1587 |
+ top: -27px; |
|
1588 |
+ left: 0; |
|
1589 |
+ width: 100px; |
|
1590 |
+ height: 100px; |
|
1591 |
+ z-index: 1; |
|
1166 | 1592 |
} |
1167 | 1593 |
</style> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?