diff --git a/frontend/src/api/models/TaskCreateIn.ts b/frontend/src/api/models/TaskCreateIn.ts index 19547dd..d519f9b 100644 --- a/frontend/src/api/models/TaskCreateIn.ts +++ b/frontend/src/api/models/TaskCreateIn.ts @@ -17,9 +17,9 @@ export namespace TaskCreateIn { * 任务模式 */ export enum mode { - _ = '自动代理', - _ = '人工排查', - _ = '设置脚本', + AutoMode = '自动代理', + ManualMode = '人工排查', + SettingScriptMode = '设置脚本', } } diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index 1dc7b4e..0f3343e 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -1,12 +1,430 @@ - - 主页 - 这里是主页内容的占位符 - + + + 主人早上好喵~ + + + + + + + + + + + 刷新 + + + + + + + + + + + + + {{ currentActivity.StageName }} + {{ currentActivity.Tip }} + + + + + 剩余时间: + {{ getTimeRemaining(currentActivity.UtcExpireTime, currentActivity.TimeZone) }} + + + 结束时间: + {{ formatTime(currentActivity.UtcExpireTime, currentActivity.TimeZone) }} + + + + + + + + + {{ item.Display }} + + + + + + + + + + + {{ item.DropName.startsWith('DESC:') ? item.DropName.substring(5) : item.DropName }} + + + + + + + + + + + + + + + + \ No newline at end of file
这里是主页内容的占位符