From 26d77acc79144082f9ad4c50f276389c054a00ba Mon Sep 17 00:00:00 2001 From: Sunwuyuan Date: Tue, 3 Mar 2026 19:53:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=B6=E9=97=B4=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E7=BB=84=E4=BB=B6=E5=8F=8A=E7=9B=B8=E5=85=B3=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.js | 2 + src/components/TimeCard.vue | 164 +++++++++++++++++++++++++++ src/components/home/HomeworkGrid.vue | 9 +- src/pages/index.vue | 11 ++ src/utils/settings.js | 8 ++ 5 files changed, 193 insertions(+), 1 deletion(-) create mode 100644 src/components/TimeCard.vue diff --git a/eslint.config.js b/eslint.config.js index dc39e85..2e02a43 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -34,7 +34,9 @@ export default [ confirm: 'readonly', prompt: 'readonly', setTimeout: 'readonly', + clearTimeout: 'readonly', setInterval: 'readonly', + clearInterval: 'readonly', fetch: 'readonly', XMLHttpRequest: 'readonly', URL: 'readonly', diff --git a/src/components/TimeCard.vue b/src/components/TimeCard.vue new file mode 100644 index 0000000..8ef33ae --- /dev/null +++ b/src/components/TimeCard.vue @@ -0,0 +1,164 @@ + + + + + diff --git a/src/components/home/HomeworkGrid.vue b/src/components/home/HomeworkGrid.vue index 591123f..8051c2d 100644 --- a/src/components/home/HomeworkGrid.vue +++ b/src/components/home/HomeworkGrid.vue @@ -11,8 +11,13 @@ }" class="grid-item" > + +
+ +
+ -
+
@@ -204,6 +209,7 @@