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 '已过期'; }