From 67a3b7fb268c42c8ba4aa5ed1030c9e605b703a6 Mon Sep 17 00:00:00 2001
From: yuetsh <517252939@qq.com>
Date: Wed, 24 Sep 2025 14:30:17 +0800
Subject: [PATCH] update ui
---
.gitignore | 3 +
src/oj/ai/analysis.vue | 196 +++------------------------
src/oj/ai/components/Details.vue | 171 +++++++++++++++++++++++
src/oj/ai/components/WeeklyChart.vue | 35 +++--
4 files changed, 222 insertions(+), 183 deletions(-)
create mode 100644 src/oj/ai/components/Details.vue
diff --git a/.gitignore b/.gitignore
index a547bf3..5a865f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?
+
+src/components.d.ts
+src/auto-imports.d.ts
\ No newline at end of file
diff --git a/src/oj/ai/analysis.vue b/src/oj/ai/analysis.vue
index 22acf23..668571e 100644
--- a/src/oj/ai/analysis.vue
+++ b/src/oj/ai/analysis.vue
@@ -6,7 +6,7 @@
- 查询
+ 查询
-
-
-
- {{ durationLabel }},
- {{ !!username ? username : "你" }}一共解决
- {{ solvedProblems.length }}
- 道题,
-
- 并且参加
- {{ contest_count }} 次比赛,
-
- 综合评价给到
-
- {{ greeting }}
-
-
-
-
-
-
-
-
-
+
-
-
-
+
-
diff --git a/src/oj/ai/components/Details.vue b/src/oj/ai/components/Details.vue
new file mode 100644
index 0000000..f91e5e3
--- /dev/null
+++ b/src/oj/ai/components/Details.vue
@@ -0,0 +1,171 @@
+
+
+
+
+ {{ durationLabel }},
+ {{ !!username ? username : "你" }}一共解决
+ {{ solvedProblems.length }}
+ 道题,
+
+ 并且参加
+ {{ contest_count }} 次比赛,
+
+ 综合评价给到
+
+ {{ greeting }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/oj/ai/components/WeeklyChart.vue b/src/oj/ai/components/WeeklyChart.vue
index 0e0eb28..70ce80b 100644
--- a/src/oj/ai/components/WeeklyChart.vue
+++ b/src/oj/ai/components/WeeklyChart.vue
@@ -1,19 +1,25 @@
-
-
-
+
+
+
+
+