diff --git a/src/api/api-models.ts b/src/api/api-models.ts index 0945a99..b78d91e 100644 --- a/src/api/api-models.ts +++ b/src/api/api-models.ts @@ -124,8 +124,18 @@ export interface LotteryUserCardInfo { isGuard: boolean isCharge: boolean } +export interface ScheduleWeekInfo { + year: number + week: number + days: ScheduleDayInfo[] +} +export interface ScheduleDayInfo { + title: string + tag: string + time: number +} export enum ThemeType { Auto = 'auto', Light = 'light', Dark = 'dark', -} \ No newline at end of file +} diff --git a/src/components/ScheduleList.vue b/src/components/ScheduleList.vue new file mode 100644 index 0000000..2d9d4a4 --- /dev/null +++ b/src/components/ScheduleList.vue @@ -0,0 +1,32 @@ + + + diff --git a/src/data/constants.ts b/src/data/constants.ts index 6380043..b3ce046 100644 --- a/src/data/constants.ts +++ b/src/data/constants.ts @@ -19,3 +19,4 @@ export const NOTIFACTION_API_URL = `${BASE_API}notifaction/` export const QUESTION_API_URL = `${BASE_API}qa/` export const LOTTERY_API_URL = `${BASE_API}lottery/` export const HISTORY_API_URL = `${BASE_API}history/` +export const SCHEDULE_API_URL = `${BASE_API}schedule/` diff --git a/src/views/manage/ScheduleManageView.vue b/src/views/manage/ScheduleManageView.vue index c3685af..21d6b33 100644 --- a/src/views/manage/ScheduleManageView.vue +++ b/src/views/manage/ScheduleManageView.vue @@ -1,6 +1,170 @@ \ No newline at end of file + 添加日程 + + + + + 添加 + + + + + + + +