From a74073f9c179fff5b4942a6a68c85db45967c5fd Mon Sep 17 00:00:00 2001 From: Germey Date: Wed, 24 Jul 2024 02:15:38 +0800 Subject: [PATCH] update suno list and player --- src/components/suno/RecentPanel.vue | 9 +- src/components/suno/config/TypeSelector.vue | 6 +- src/components/suno/footer/PlayerAction.vue | 37 -- src/components/suno/footer/PlayerSong.vue | 58 --- .../{footer/Footer.vue => player/Player.vue} | 10 +- src/components/suno/player/PlayerAction.vue | 32 ++ .../{footer => player}/PlayerController.vue | 41 +-- .../suno/{footer => player}/PlayerSlider.vue | 26 +- src/components/suno/player/PlayerSong.vue | 51 +++ .../{footer => player}/PlayerVolumeSlider.vue | 8 +- src/components/suno/task/Preview.vue | 99 +++++- src/pages/suno/Index.vue | 11 - src/store/suno/actions.ts | 333 +++++++++--------- src/store/suno/index.ts | 27 +- src/store/suno/models.ts | 3 +- src/store/suno/mutations.ts | 240 ++++++------- src/store/suno/persist.ts | 2 +- src/store/suno/state.ts | 45 +-- 18 files changed, 534 insertions(+), 504 deletions(-) delete mode 100644 src/components/suno/footer/PlayerAction.vue delete mode 100644 src/components/suno/footer/PlayerSong.vue rename src/components/suno/{footer/Footer.vue => player/Player.vue} (75%) create mode 100644 src/components/suno/player/PlayerAction.vue rename src/components/suno/{footer => player}/PlayerController.vue (52%) rename src/components/suno/{footer => player}/PlayerSlider.vue (68%) create mode 100644 src/components/suno/player/PlayerSong.vue rename src/components/suno/{footer => player}/PlayerVolumeSlider.vue (82%) diff --git a/src/components/suno/RecentPanel.vue b/src/components/suno/RecentPanel.vue index 60095c40..664ef909 100644 --- a/src/components/suno/RecentPanel.vue +++ b/src/components/suno/RecentPanel.vue @@ -29,7 +29,7 @@
-
+
@@ -37,9 +37,9 @@ - - diff --git a/src/components/suno/footer/PlayerSong.vue b/src/components/suno/footer/PlayerSong.vue deleted file mode 100644 index 628b8ecd..00000000 --- a/src/components/suno/footer/PlayerSong.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - diff --git a/src/components/suno/footer/Footer.vue b/src/components/suno/player/Player.vue similarity index 75% rename from src/components/suno/footer/Footer.vue rename to src/components/suno/player/Player.vue index a87d8111..d956326a 100644 --- a/src/components/suno/footer/Footer.vue +++ b/src/components/suno/player/Player.vue @@ -1,16 +1,15 @@