diff --git a/.env.development b/.env.development index 64c2bdd4..d78c77aa 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -VITE_API_BASE_URL=http://10.10.10.10:3001/api/v1/ +VITE_API_BASE_URL=http://10.10.10.105:3001/api/v1/ diff --git a/src/api/types.ts b/src/api/types.ts index 9e60d3f3..eb359107 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -154,3 +154,19 @@ export interface Site { // 是否启用 is_active: boolean } + + +// 正在下载 +export interface DownloadingInfo { + hash?: string + title?: string + name?: string + year?: string + season_episode?: string + size?: number + progress?: number + state?: string + dlspeed?: string + upspeed?: string + media: {[key: string]: any} + } diff --git a/src/components/cards/DownloadingCard.vue b/src/components/cards/DownloadingCard.vue new file mode 100644 index 00000000..6053f152 --- /dev/null +++ b/src/components/cards/DownloadingCard.vue @@ -0,0 +1,77 @@ + + + diff --git a/src/pages/downloading.vue b/src/pages/downloading.vue index de26debc..dc021376 100644 --- a/src/pages/downloading.vue +++ b/src/pages/downloading.vue @@ -1,93 +1,9 @@ - diff --git a/src/views/reorganize/DownloadingListView.vue b/src/views/reorganize/DownloadingListView.vue new file mode 100644 index 00000000..f188d044 --- /dev/null +++ b/src/views/reorganize/DownloadingListView.vue @@ -0,0 +1,46 @@ + + + + +