From d2abd8134f276b0f3cc9fcf63a15106210ab8f56 Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Sat, 7 Oct 2023 20:08:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/utils.js | 1 + components/commentItem/commentItem.vue | 19 +-- components/pozCard/pozCard.vue | 22 ++- components/searchRow/searchRow.vue | 2 +- config/api.js | 18 +++ manifest.json | 2 +- .../consult/pubComplaint/pubComplaint.vue | 151 +++++++++++++++------ pages/indexEntry/consult/pubConsult/pubConsult.vue | 31 +++-- .../consult/record/comp/complaintItem.vue | 49 ++++--- .../indexEntry/consult/record/comp/consultItem.vue | 23 +++- pages/indexEntry/consult/record/record.vue | 62 ++++++--- .../examines/allExamines/allExamines.vue | 57 +++++++- pages/indexEntry/examines/allNews/allNews.vue | 22 ++- pages/indexEntry/examines/comp/examineItem.vue | 41 ++++-- pages/indexEntry/examines/comp/newItem.vue | 12 +- pages/indexEntry/examines/detail/detail.vue | 57 ++++++-- pages/indexEntry/examines/examines.vue | 29 +++- .../findShcool/coachComment/coachComment.vue | 8 +- pages/indexEntry/findShcool/comments/comments.vue | 7 +- .../findShcool/shcoolComment/shcoolComment.vue | 28 +++- .../findShcool/shcoolDetail/comp/tab1.vue | 8 +- .../findShcool/shcoolDetail/comp/tab2.vue | 17 ++- .../findShcool/shcoolDetail/comp/tab4.vue | 8 +- .../findShcool/shcoolDetail/shcoolDetail.vue | 62 +++++++-- 24 files changed, 545 insertions(+), 191 deletions(-) diff --git a/common/js/utils.js b/common/js/utils.js index e8b20d9..367591e 100644 --- a/common/js/utils.js +++ b/common/js/utils.js @@ -12,6 +12,7 @@ const install = (Vue, vm) => { // 距离换算 const distanceFn = (val) => { + if(!val) return if (val * 1 < 1000) { return val + '米' } else { diff --git a/components/commentItem/commentItem.vue b/components/commentItem/commentItem.vue index 23f7f6c..dde3da7 100644 --- a/components/commentItem/commentItem.vue +++ b/components/commentItem/commentItem.vue @@ -1,23 +1,26 @@ \ No newline at end of file diff --git a/pages/indexEntry/examines/comp/newItem.vue b/pages/indexEntry/examines/comp/newItem.vue index 7e7d53d..bec0d1f 100644 --- a/pages/indexEntry/examines/comp/newItem.vue +++ b/pages/indexEntry/examines/comp/newItem.vue @@ -1,12 +1,16 @@