From 6e416bfec076e9b1e1a6f0c4dd8b2bf5b7e0ff0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=95=E5=B1=82=E7=94=A8=E6=88=B7?= Date: Sat, 14 Jan 2023 19:34:39 +0800 Subject: [PATCH] Fix Bug --- .env | 5 +- package.json | 6 +- src/App.vue | 75 +++++++++++++++------- src/api/index.js | 2 +- src/components/Footer/index.vue | 58 +++++++++-------- src/components/Links/index.vue | 15 ++++- src/components/Message/index.vue | 6 +- src/components/Music/index.vue | 75 +++++++++++----------- src/components/Player/index.vue | 9 ++- src/components/SocialLinks/index.vue | 14 ++++ src/style/global.scss | 7 +- src/style/style.scss | 25 +++----- src/utils/lantern.js | 6 ++ src/views/Box/index.vue | 41 +++++++----- src/views/Func/index.vue | 13 ++++ src/views/Main/Right.vue | 2 +- src/views/MoreSet/index.vue | 6 +- vite.config.js | 11 +++- vite.config.js.timestamp-1668666668207.mjs | 62 ------------------ yarn.lock | 10 +++ 20 files changed, 248 insertions(+), 200 deletions(-) create mode 100644 src/utils/lantern.js delete mode 100644 vite.config.js.timestamp-1668666668207.mjs diff --git a/.env b/.env index edbb31f..1a25379 100644 --- a/.env +++ b/.env @@ -16,12 +16,15 @@ VITE_SOCIAL_TELEGRAM = "bottom_user" VITE_SOCIAL_TWITTER = "iimmsyy" # 网站链接 -## 请在 src\components\Links\index.vue 中设置 +## 请在 src/components/Links/index.vue 中设置 # 天气 Key ## 请前往高德开放平台注册 Web服务 Key +## 请各位大佬行行好,别再让我超量了 VITE_WEATHER_KEY = "57eaea5833ff1616cfd1ff2c4cf9b58a" +# 歌曲 API 地址 +VITE_SONG_API = "https://api-meting.imsyy.top" # 歌曲服务器 ( netease-网易云, tencent-qq音乐 ) VITE_SONG_SERVER = "netease" # 播放类型 ( song-歌曲, playlist-播放列表, album-专辑, search-搜索, artist-艺术家 ) diff --git a/package.json b/package.json index 46f99ac..794618b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,8 @@ { "name": "home", + "author": "imsyy", + "github": "https://github.com/imsyy/home", + "home": "https://imsyy.top", "private": true, "version": "4.0.0", "type": "module", @@ -15,6 +18,7 @@ "element-plus": "^2.2.18", "pinia": "^2.0.23", "pinia-plugin-persistedstate": "^3.0.0", + "terser": "^5.16.1", "vue": "^3.2.37", "vue3-aplayer": "^1.7.3" }, @@ -29,4 +33,4 @@ "vite": "^3.1.0", "vite-plugin-html": "^3.2.0" } -} +} \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 355555b..96ba724 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,30 +3,28 @@
- -
- - - -
-
- -
- -
-
+
+ + + +
+
+ +
-