From 8206006501a03c95d55683001b4e423b74cd7ccb Mon Sep 17 00:00:00 2001 From: lucky Date: Mon, 25 Jan 2021 18:12:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B6=E9=83=A8=E7=99=BB=E5=BD=95=E5=90=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HeadNav/HeadNav.vue | 14 ++- .../IncubationPlatform/Children/Services.vue | 92 ++++++++++++++--- src/views/NewPlatform/Children/Service.vue | 98 +++++++++++++++---- 3 files changed, 166 insertions(+), 38 deletions(-) diff --git a/src/components/HeadNav/HeadNav.vue b/src/components/HeadNav/HeadNav.vue index 8188a54..0130091 100644 --- a/src/components/HeadNav/HeadNav.vue +++ b/src/components/HeadNav/HeadNav.vue @@ -192,16 +192,20 @@ export default { computed: { ...mapState('user', ['anyringToken', 'user']), + nickName() { - const anyringToken = sessionStorage.getItem('anyringToken'); - const user = JSON.parse(sessionStorage.getItem('user')); + const anyringToken = sessionStorage.getItem('anyringToken') || this.anyringToken; + const user = sessionStorage.getItem('user') && JSON.parse(sessionStorage.getItem('user')); if (anyringToken) { - if (user.wxInfo && user.wxInfo.nickname) { + if (user.wxInfo.nickname) { return user.wxInfo.nickname; + } else { + const account = this.user.account || user.account; + return account; } - return user.account; + } else { + return ''; } - return ''; }, }, diff --git a/src/views/IncubationPlatform/Children/Services.vue b/src/views/IncubationPlatform/Children/Services.vue index 2f2ca8b..82f4996 100644 --- a/src/views/IncubationPlatform/Children/Services.vue +++ b/src/views/IncubationPlatform/Children/Services.vue @@ -42,36 +42,94 @@ v-show="total > 8" /> - + - + - + - - + + - +
- + 获取验证码
- +
- 重新发送 {{ interval }} - 获取验证码 + 重新发送 {{ interval }} + 获取验证码
- - + + - 点击上传附件 + + 点击上传附件 +
diff --git a/src/views/NewPlatform/Children/Service.vue b/src/views/NewPlatform/Children/Service.vue index bf4e3f8..98a5af1 100644 --- a/src/views/NewPlatform/Children/Service.vue +++ b/src/views/NewPlatform/Children/Service.vue @@ -31,47 +31,111 @@ >了解更多→

--> - + - + - + - - + + - +
- + 获取验证码
- +
- 重新发送 {{ interval }} - 获取验证码 + 重新发送 {{ interval }} + 获取验证码
- - + + - + - 点击上传附件 + + 点击上传附件 +