diff --git a/assets/icons/next-survey.svg b/assets/icons/next-survey.svg new file mode 100644 index 0000000..b012acc --- /dev/null +++ b/assets/icons/next-survey.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/timeline-desktop.svg b/assets/icons/timeline-desktop.svg index 8fd4a00..4a8529a 100644 --- a/assets/icons/timeline-desktop.svg +++ b/assets/icons/timeline-desktop.svg @@ -1,127 +1,123 @@ - \ No newline at end of file + diff --git a/assets/icons/timeline-mobile.svg b/assets/icons/timeline-mobile.svg index 250be8d..08e3720 100644 --- a/assets/icons/timeline-mobile.svg +++ b/assets/icons/timeline-mobile.svg @@ -1,115 +1,109 @@ - \ No newline at end of file + diff --git a/components/FormDialog.vue b/components/FormDialog.vue index 4f547c6..3224484 100644 --- a/components/FormDialog.vue +++ b/components/FormDialog.vue @@ -111,10 +111,12 @@ export default { async senduser() { const cookieId = this.$cookies.get("uuid"); try { - await this.postTableRow("User-data", [{ - userId: cookieId, - district: `เขต${this.formData.district.th_name}`, - }]); + await this.postTableRow("User-data", [ + { + userId: cookieId, + district: `เขต${this.formData.district.th_name}`, + }, + ]); } catch (e) { // eslint-disable-next-line no-console console.error(e); @@ -134,13 +136,12 @@ export default { try { await this.postTableRow("Survey", arrayForNoco).then(() => { - this.isVoted = true; setTimeout(() => { this.isShowLoading = false; this.setStepSurvey("next"); // this.closeDialog(); }, 2000); - this.$cookies.set("isVoted", "true"); + this.$cookies.set("voted", "true"); }); } catch (e) { // eslint-disable-next-line no-console diff --git a/components/PersistProblems.vue b/components/PersistProblems.vue index 8e3cf7e..757b60b 100644 --- a/components/PersistProblems.vue +++ b/components/PersistProblems.vue @@ -15,11 +15,12 @@
เลือกได้ 1 ข้อ
{{ item.issue }}
-เป็นเพียงส่วนหนึ่งของอีกหลายประเด็นที่กรุงเทพฯ วางแผนเพื่อแก้ไข ภายใต้ diff --git a/components/expore/SurveyByKeyword.vue b/components/expore/SurveyByKeyword.vue index 0646ad4..a8d8a4b 100644 --- a/components/expore/SurveyByKeyword.vue +++ b/components/expore/SurveyByKeyword.vue @@ -245,7 +245,7 @@ :style="{ height: isMillion ? calHeight(displayMaxAmout(key), item.amount) - : '100%x', + : '100%', }" >
{{ title }}
{{ item.title }}
@@ -39,7 +39,7 @@ />