From 087cda650c98c2050ebc7642db520eaacd5583ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=96=87=E5=B3=B0?= Date: Tue, 14 Apr 2026 16:47:27 +0800 Subject: [PATCH] up --- .workbuddy/expert-history.json | 2 +- frontend/ops_vue_js/src/i18n/en.json | 6 + frontend/ops_vue_js/src/i18n/zh-CN.json | 6 + frontend/ops_vue_js/src/views/HomeView.vue | 132 +++++++++++++++++++-- 4 files changed, 134 insertions(+), 12 deletions(-) diff --git a/.workbuddy/expert-history.json b/.workbuddy/expert-history.json index 544ff68..81e0ce9 100644 --- a/.workbuddy/expert-history.json +++ b/.workbuddy/expert-history.json @@ -13,5 +13,5 @@ } ] }, - "lastUpdated": 1776154347507 + "lastUpdated": 1776156362292 } \ No newline at end of file diff --git a/frontend/ops_vue_js/src/i18n/en.json b/frontend/ops_vue_js/src/i18n/en.json index 1101c30..a451719 100644 --- a/frontend/ops_vue_js/src/i18n/en.json +++ b/frontend/ops_vue_js/src/i18n/en.json @@ -187,6 +187,12 @@ "not_your_schedule": "This is not your schedule", "someone_schedule": "Created by {name}" }, + "home": { + "today_schedule_count": "Today: {count} schedule(s)", + "today_no_schedule": "No schedules today", + "loading": "Loading...", + "today": "Today: {date}" + }, "message": { "functionality_not_yet_developed": "Functionality not yet developed", "hello": "Hello", diff --git a/frontend/ops_vue_js/src/i18n/zh-CN.json b/frontend/ops_vue_js/src/i18n/zh-CN.json index 48c575e..d9eb120 100644 --- a/frontend/ops_vue_js/src/i18n/zh-CN.json +++ b/frontend/ops_vue_js/src/i18n/zh-CN.json @@ -187,6 +187,12 @@ "not_your_schedule": "这不是你的日程", "someone_schedule": "{name} 创建的日程" }, + "home": { + "today_schedule_count": "今日共 {count} 个日程", + "today_no_schedule": "今日暂无日程", + "loading": "加载中...", + "today": "今日:{date}" + }, "message": { "functionality_not_yet_developed": "功能未开发", "hello": "你好", diff --git a/frontend/ops_vue_js/src/views/HomeView.vue b/frontend/ops_vue_js/src/views/HomeView.vue index cb07315..9a99a10 100644 --- a/frontend/ops_vue_js/src/views/HomeView.vue +++ b/frontend/ops_vue_js/src/views/HomeView.vue @@ -1,33 +1,143 @@