This commit is contained in:
yanran200730
2023-08-18 22:35:07 +08:00
parent 5d58a1d67a
commit f03d1ccf2e
8 changed files with 14 additions and 12 deletions

View File

@@ -2,10 +2,8 @@
<div class="admin">
<div class="admin-top">
<div class="logo">
<!-- <img src="../../assets/images/logo.png" /> -->
<div>
<h1>TEMU助手</h1>
</div>
<img src="../assets/images/logo.png" />
<span>v{{ version }}</span>
</div>
<div class="admin-right">
<el-tooltip class="item" effect="dark" content="用户激活" placement="top">
@@ -119,6 +117,7 @@
mallName: this.$store.state.mallName,
code: ''
},
version: '',
vipType: ["体验会员","月会员","半年会员","年会员","年会员多店通用"]
}
},
@@ -132,7 +131,7 @@
} else {
return this.vipType[this.$store.state.userInfo.type] + '/有效期至' + this.$store.state.userInfo.expireTime
}
} else {
return '已过期';
}
@@ -148,6 +147,9 @@
},
created () {
const devVersion = require('../manifest.development.json').version
const prodVersion = require('../manifest.production.json').version
this.version = process.env.NODE_ENV === 'production' ? prodVersion : devVersion
this.activePath = this.$route.fullPath
},
@@ -276,16 +278,16 @@
.logo {
display: flex;
align-items: center;
cursor: pointer;
align-items: baseline;
&:hover {
opacity: 0.6;
span {
position: relative;
bottom: 12px;
font-size: 16px;
}
img {
width: 42px;
height: 42px;
width: 60px;
margin-right: 12px;
}