diff --git a/src/App.vue b/src/App.vue
index da47278..760f6a0 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,12 +1,14 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -14,7 +16,7 @@
import ViewerLayout from '@/views/ViewerLayout.vue'
import ManageLayout from '@/views/ManageLayout.vue'
import { useRoute } from 'vue-router'
-import { NConfigProvider, NMessageProvider } from 'naive-ui'
+import { NConfigProvider, NMessageProvider, NNotificationProvider, zhCN } from 'naive-ui'
import { computed } from 'vue'
const route = useRoute()
diff --git a/src/api/api-models.ts b/src/api/api-models.ts
index 8da6081..a2a5147 100644
--- a/src/api/api-models.ts
+++ b/src/api/api-models.ts
@@ -24,14 +24,31 @@ export interface AccountInfo extends UserInfo {
biliVerifyCode?: string
emailVerifyUrl?: string
}
-export interface SongsInfo {
- id: string
+export interface SongAuthorInfo {
name: string
- author: string
- url: string
- cover: string
- from: string
- language: string
- desc: string
- tags: string[]
+ id: number
+}
+export enum SongFrom {
+ Custom,
+ Netease,
+ FiveSing,
+}
+export interface SongsInfo {
+ id: number
+ key: string
+ name: string
+ author: string[]
+ url: string
+ from: SongFrom
+ language: SongLanguage[]
+ description?: string
+ tags?: string[]
+}
+export enum SongLanguage {
+ Chinese, // 中文
+ English, // 英文
+ Japanese, // 日文
+ Spanish, // 西班牙文
+ French, // 法文
+ Other, //其他
}
diff --git a/src/components/SongList.vue b/src/components/SongList.vue
index 73e30a5..292db43 100644
--- a/src/components/SongList.vue
+++ b/src/components/SongList.vue
@@ -1,14 +1,58 @@
- 歌单 {{ songs.length }}
+ 歌单 {{ songsInternal.length }}
-
+
+
+ 修改信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 更新
+
diff --git a/src/data/constants.ts b/src/data/constants.ts
index 15c3d03..0a2824d 100644
--- a/src/data/constants.ts
+++ b/src/data/constants.ts
@@ -8,3 +8,4 @@ export const TURNSTILE_KEY = '0x4AAAAAAAETUSAKbds019h0'
export const USER_API_URL = `${BASE_API}user/`
export const ACCOUNT_API_URL = `${BASE_API}account/`
export const BILI_API_URL = `${BASE_API}bili/`
+export const SONG_API_URL = `${BASE_API}song-list/`
diff --git a/src/views/manage/SongListManageView.vue b/src/views/manage/SongListManageView.vue
index 98faa8d..3f60b73 100644
--- a/src/views/manage/SongListManageView.vue
+++ b/src/views/manage/SongListManageView.vue
@@ -1,11 +1,241 @@
+ 添加歌曲
+
+ 添加歌曲
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+
+
+
+
+ 歌单Id: {{ neteaseSongListId }}
+
+
+
+ 获取
+
+
+
+
+ 添加到歌单 | {{ selectedNeteaseSongs.length }} 首
+
+
+
+
+
+
diff --git a/src/views/view/SongListView.vue b/src/views/view/SongListView.vue
index e197b6e..a12fc50 100644
--- a/src/views/view/SongListView.vue
+++ b/src/views/view/SongListView.vue
@@ -1,55 +1,28 @@