From 92f38a744958ff3be6c0bc7dd5b7381442bf112c Mon Sep 17 00:00:00 2001 From: He Hang Date: Wed, 8 Nov 2023 20:09:40 +0800 Subject: [PATCH] For smaller screen --- .github/workflows/web.yml | 2 +- web/src/App.vue | 16 +-- web/src/components/CurrentList.vue | 5 +- web/src/components/Footer.vue | 46 ++++++++- web/src/components/Header.vue | 88 +++++++++++------ web/src/components/MusicList.vue | 28 ++++++ web/src/components/PlayDetail.vue | 35 +++++-- web/src/components/Playlist.vue | 22 +++++ web/src/components/SideMenu.vue | 32 ++++++ web/src/components/player/DefaultMode.vue | 30 ++++++ web/src/components/player/Jukebox.vue | 12 +++ web/src/components/player/Lyric.vue | 8 ++ web/src/router/index.ts | 6 +- web/src/style/base.less | 11 ++- web/src/utils/http.ts | 10 +- web/src/utils/lyric.ts | 113 ++++++++++++---------- web/src/utils/utils.ts | 44 +++++++++ web/src/views/playlist.vue | 32 +++++- web/src/views/ranking.vue | 17 +++- web/src/views/recommend.vue | 3 + web/src/views/search.vue | 13 ++- web/src/views/setting.vue | 50 +++++----- 22 files changed, 490 insertions(+), 133 deletions(-) diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index b9d5795..edfe2fd 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -35,7 +35,7 @@ jobs: cd web yarn yarn build:zip - echo '' > dist/404.html + echo '' > dist/404.html cd ..\windows echo "" > FodyWeavers.xml mv ..\web\web.zip Resources\web.zip diff --git a/web/src/App.vue b/web/src/App.vue index 4eb8d46..0156a0c 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -55,7 +55,7 @@ new MusicConnection(webView2Services.enabled); -