From 20e4d4ffb9b86ec37a4633eebfdda61812a6058e Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Mon, 28 Mar 2022 15:35:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=8D=E5=8A=A1=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E5=9C=B0=E5=8C=BA=E7=9A=84=E9=80=89=E6=8B=A9=E3=80=81?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BA=8B=E4=BB=B6=E6=95=B0=E6=8D=AE=E7=9A=84?= =?UTF-8?q?=E4=BC=A0=E9=80=92=E3=80=81=E6=96=B0=E5=A2=9Etools.js=E9=82=AE?= =?UTF-8?q?=E7=AE=B1=E9=AA=8C=E8=AF=81=E6=AD=A3=E5=88=99=E3=80=81=E8=BA=AB?= =?UTF-8?q?=E4=BB=BD=E8=AF=81=E9=AA=8C=E8=AF=81=E6=AD=A3=E5=88=99=E3=80=81?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BA=8B=E4=BB=B6=E6=95=B0=E6=8D=AE=E7=9A=84=E4=BC=A0?= =?UTF-8?q?=E9=80=92=E3=80=81=E7=94=B5=E5=AD=90=E8=AF=81=E4=BB=B6=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=9A=84=E5=8A=A8=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ar-circle-progress/index.vue | 4 +- components/city/city.css | 107 ++++++ components/city/city.js | 1 + components/city/city.vue | 233 ++++++++++++ components/lw-notice/lw-notice.vue | 4 +- jsFile/tools.js | 10 + pages/feedback/feedback.vue | 9 + pages/project/projectList.vue | 14 +- pages/tabbar/my/my.vue | 12 +- pages/tabbar/pagehome/pagehome.vue | 351 +++++++++--------- .../electronic-certificate.vue | 22 +- .../personal-information.vue | 70 +++- pagesB/service-range/service-range.vue | 110 +++++- static/public/icon-home-banner.png | Bin 88840 -> 96656 bytes 14 files changed, 745 insertions(+), 202 deletions(-) create mode 100644 components/city/city.css create mode 100644 components/city/city.js create mode 100644 components/city/city.vue diff --git a/components/ar-circle-progress/index.vue b/components/ar-circle-progress/index.vue index b76def0..35a4e4d 100644 --- a/components/ar-circle-progress/index.vue +++ b/components/ar-circle-progress/index.vue @@ -8,7 +8,7 @@ }" > - - + + + + + 取消 + 确认 + + + + + {{pItem}} + + + + {{cItem}} + + + + {{tItem}} + + + + + + + + + + + diff --git a/components/lw-notice/lw-notice.vue b/components/lw-notice/lw-notice.vue index 5194005..3e15a24 100644 --- a/components/lw-notice/lw-notice.vue +++ b/components/lw-notice/lw-notice.vue @@ -356,14 +356,14 @@ moreColor:显示更多的颜色 } .loopItemBaseShow { + position: absolute; top: 0; left: 0; width: 100%; - height: 100%; + // height: 100%; overflow: hidden; font-size: 28rpx; text-align: left; - position: absolute; white-space: nowrap; align-items: center; text-overflow: ellipsis; diff --git a/jsFile/tools.js b/jsFile/tools.js index 118ef71..531362d 100644 --- a/jsFile/tools.js +++ b/jsFile/tools.js @@ -69,6 +69,16 @@ const tools = { // return false return !reg_tel.test(phone); }, + // 电子邮箱验证 + isEmail(email){ + let reg_email = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/; + return !reg_email.test(email); + }, + // 身份证验证 + isIdentity(identity) { + let reg_identity = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/; + return !reg_identity.test(identity); + }, // 手机号中间四位用"****"带替 hideMPhone(phone){ return `${phone.substr(0, 3)}****${phone.substr(7)}` diff --git a/pages/feedback/feedback.vue b/pages/feedback/feedback.vue index 23b129a..a0f7cd6 100644 --- a/pages/feedback/feedback.vue +++ b/pages/feedback/feedback.vue @@ -104,7 +104,16 @@ ] } }, + onLoad() { + this.checkFeedback(); + }, methods: { + // 查询意见反馈类型 + checkFeedback(){ + this.$requst.get('/universal/api.feedback/feedback_type',{page:1,list_rows:20}).then(res=>{ + + }) + }, opinionType(index) { for (var i = 0; i < this.typeData.length; i++) { this.typeData[i].state = false diff --git a/pages/project/projectList.vue b/pages/project/projectList.vue index 770f85e..b498a54 100644 --- a/pages/project/projectList.vue +++ b/pages/project/projectList.vue @@ -1,14 +1,11 @@