feat: 首页顶部改为本年、本月、今日和累计学时,以及累计学分和可用积分

This commit is contained in:
2026-10-27 05:30:01 +08:00
parent 060dc60c68
commit 84772c9f7a
4 changed files with 34 additions and 22 deletions
+4 -5
View File
@@ -72,13 +72,12 @@ class FakeClient:
"avatar": "https://example.test/a.jpg",
"department": "测试部门",
"level": "Scientist",
"year_score": "1.00",
"month_score": "0.20",
"year_hours": "100",
"month_hours": "60",
"today_hours": 1,
"total_hours": "10",
"total_score": "3.00",
"today_hours": "1",
"today_score": "0.10",
"month_hours": "60",
"points": 20,
"exams": [{"name": "安全考试", "status": "已完成", "start": "2026-05-20 00:01:00"}],
"trainings": [],
}