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

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 579 B

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon_32.ico">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>TEMU助手</title>
</head>
<body>

BIN
src/assets/images/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

BIN
src/assets/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

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;
}