diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..b453e66 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/icons/128.png b/public/icons/128.png index e1da745..49f4bc4 100644 Binary files a/public/icons/128.png and b/public/icons/128.png differ diff --git a/public/icons/16.png b/public/icons/16.png index 584a47e..45177e2 100644 Binary files a/public/icons/16.png and b/public/icons/16.png differ diff --git a/public/icons/48.png b/public/icons/48.png index 018271b..7f2d35a 100644 Binary files a/public/icons/48.png and b/public/icons/48.png differ diff --git a/public/index.html b/public/index.html index 82891a1..5741fe8 100644 --- a/public/index.html +++ b/public/index.html @@ -4,7 +4,7 @@ - + TEMU助手 diff --git a/src/assets/images/logo.jpg b/src/assets/images/logo.jpg new file mode 100644 index 0000000..1bc7676 Binary files /dev/null and b/src/assets/images/logo.jpg differ diff --git a/src/assets/images/logo.png b/src/assets/images/logo.png new file mode 100644 index 0000000..4c42dbf Binary files /dev/null and b/src/assets/images/logo.png differ diff --git a/src/view/Home.vue b/src/view/Home.vue index 86b8888..541831a 100644 --- a/src/view/Home.vue +++ b/src/view/Home.vue @@ -2,10 +2,8 @@
@@ -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; }