From 6f7caaa793fffee7d5361377295cc27efb82065b Mon Sep 17 00:00:00 2001 From: liushiwei <499672082@qq.com> Date: Wed, 9 Aug 2023 00:59:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/Home.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/view/Home.vue b/src/view/Home.vue index 3253857..0ec3205 100644 --- a/src/view/Home.vue +++ b/src/view/Home.vue @@ -127,7 +127,12 @@ if (this.$store.state.userInfo.flag == 0) { return '未激活'; } else if (this.$store.state.userInfo.flag == 1) { - return this.vipType[this.$store.state.userInfo.type] + '/有效期至' + this.$store.state.userInfo.expireTime; + if (this.$store.state.userInfo.type != 4) { + return `(${this.$store.state.userInfo.mallName})` + this.vipType[this.$store.state.userInfo.type] + '/有效期至' + this.$store.state.userInfo.expireTime; + } else { + return this.vipType[this.$store.state.userInfo.type] + '/有效期至' + this.$store.state.userInfo.expireTime + } + } else { return '已过期'; }