
--- client/views/pages/main/AIDashboard.vue
+++ client/views/pages/main/AIDashboard.vue
... | ... | @@ -160,11 +160,13 @@ |
160 | 160 |
<p>학습 종료하기</p> |
161 | 161 |
</button> |
162 | 162 |
<h2 class="mb40 mt10">이 단원을 끝낸 친구들</h2> |
163 |
- <article class="flex-column" style="gap: 5px;"> |
|
164 |
- <div class="flex" style="gap: 5px;"> |
|
165 |
- <div v-for="(image, index) in images" :key="image.fileId" @click="buttonSearch(image)" |
|
166 |
- class="photo"> |
|
167 |
- <img :src="image.url" :alt="image.fileNm" reloadable="true" /> |
|
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> |
|
168 | 170 |
</div> |
169 | 171 |
</div> |
170 | 172 |
</article> |
--- client/views/pages/main/Dashboard.vue
+++ client/views/pages/main/Dashboard.vue
... | ... | @@ -139,19 +139,6 @@ |
139 | 139 |
:style="{ display: rabbitEnd ? 'block' : 'none' }"> |
140 | 140 |
</div> |
141 | 141 |
</div> |
142 |
- <div class="complete-wrap smt50 myphoto"> |
|
143 |
- <!-- 팝업 --> |
|
144 |
- <article class="popup-wrap" v-show="searchOpen"> |
|
145 |
- <div class="popup-box "> |
|
146 |
- <div class="flex mb10 justify-between"> |
|
147 |
- <p class="popup-title">알림</p> |
|
148 |
- <button type="button" class="popup-close-btn" @click="closeBtn2"> |
|
149 |
- <svg-icon type="mdi" :path="mdiWindowClose" class="close-btn"></svg-icon> |
|
150 |
- </button> |
|
151 |
- </div> |
|
152 |
- </div> |
|
153 |
- </article> |
|
154 |
- </div> |
|
155 | 142 |
</div> |
156 | 143 |
|
157 | 144 |
<!-- 팝업 --> |
... | ... | @@ -177,7 +164,7 @@ |
177 | 164 |
<article v-show="showCameraModal" class="popup-wrap"> |
178 | 165 |
<div class="popup-box" style="top: 500px; left:500px"> |
179 | 166 |
<div class="flex mb10 justify-between"> |
180 |
- <p class="popup-title">사진 촬영</p> |
|
167 |
+ <p class="popup-title">사진 촬영</p>ㄹ |
|
181 | 168 |
<button type="button" class="popup-close-btn" @click="closeModal"> |
182 | 169 |
<svg-icon type="mdi" :path="mdiWindowClose" class="close-btn"></svg-icon> |
183 | 170 |
</button> |
... | ... | @@ -209,11 +196,14 @@ |
209 | 196 |
<p>학습 종료하기</p> |
210 | 197 |
</button> |
211 | 198 |
<h2 class="mb40 mt10">이 단원을 끝낸 친구들</h2> |
212 |
- <article class="flex-column" style="gap: 5px;"> |
|
213 |
- <div class="flex" style="gap: 5px; flex-wrap: wrap;"> |
|
214 |
- <div v-for="(image, index) in images" :key="image.fileId" @click="buttonSearch(image)" |
|
215 |
- class="photo"> |
|
216 |
- <img :src="image.url" :alt="image.fileNm" reloadable="true" /> |
|
199 |
+ |
|
200 |
+ <article class="flex-column"> |
|
201 |
+ <div class="flex-row"> |
|
202 |
+ <div class="flex" style="gap: 5px; flex-wrap: wrap;"> |
|
203 |
+ <div v-for="(image, index) in images" :key="image.fileId" @click="buttonSearch(image)" |
|
204 |
+ class="photo" style="margin-bottom: 5px;"> |
|
205 |
+ <img :src="image.url" :alt="image.fileNm" reloadable="true" style="height: 100%;" /> |
|
206 |
+ </div> |
|
217 | 207 |
</div> |
218 | 208 |
</div> |
219 | 209 |
</article> |
... | ... | @@ -432,23 +422,23 @@ |
432 | 422 |
finish: "T" |
433 | 423 |
} |
434 | 424 |
}) |
435 |
- .then(response => { |
|
436 |
- const nextSchedule = this.schedules.find(schedule => schedule.schdl_id > this.nowSchedule.schdl_id); |
|
437 |
- alert("학습을 완료했습니다!"); |
|
425 |
+ .then(response => { |
|
426 |
+ const nextSchedule = this.schedules.find(schedule => schedule.schdl_id > this.nowSchedule.schdl_id); |
|
427 |
+ alert("학습을 완료했습니다!"); |
|
438 | 428 |
|
439 |
- if (nextSchedule) { |
|
440 |
- this.nowSchedule = nextSchedule; |
|
441 |
- this.fetchSchedule(nextSchedule.unit_id, nextSchedule.book_id); |
|
442 |
- this.fetchRoadmapData(nextSchedule.unit_id, nextSchedule.book_id); |
|
443 |
- this.$router.push({ name: 'Dashboard', query: { unit_id: nextSchedule.unit_id, book_id: nextSchedule.book_id } }); |
|
444 |
- } else { |
|
445 |
- alert("모든 학습을 완료했습니다!"); |
|
446 |
- this.state = 'finish'; |
|
429 |
+ if (nextSchedule) { |
|
430 |
+ this.nowSchedule = nextSchedule; |
|
431 |
+ this.fetchSchedule(nextSchedule.unit_id, nextSchedule.book_id); |
|
432 |
+ this.fetchRoadmapData(nextSchedule.unit_id, nextSchedule.book_id); |
|
433 |
+ this.$router.push({ name: 'Dashboard', query: { unit_id: nextSchedule.unit_id, book_id: nextSchedule.book_id } }); |
|
434 |
+ } else { |
|
435 |
+ alert("모든 학습을 완료했습니다!"); |
|
436 |
+ this.state = 'finish'; |
|
447 | 437 |
} |
448 | 438 |
}) |
449 |
- .catch(error => { |
|
450 |
- console.error("Error updating schedule:", error); |
|
451 |
- }); |
|
439 |
+ .catch(error => { |
|
440 |
+ console.error("Error updating schedule:", error); |
|
441 |
+ }); |
|
452 | 442 |
}, |
453 | 443 |
fetchRoadmapData(unit_id, book_id) { |
454 | 444 |
axios({ |
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?