From 8394d37971428d6f90d6f5af123c898d6c48f2b8 Mon Sep 17 00:00:00 2001
From: yuetsh <517252939@qq.com>
Date: Sat, 3 Jan 2026 23:02:02 +0800
Subject: [PATCH] add color
---
src/oj/class/pk.vue | 1834 ++++++++++++++++++++++---------------------
1 file changed, 949 insertions(+), 885 deletions(-)
diff --git a/src/oj/class/pk.vue b/src/oj/class/pk.vue
index 982d25d..ed5ea68 100644
--- a/src/oj/class/pk.vue
+++ b/src/oj/class/pk.vue
@@ -1,885 +1,949 @@
-
-
-
-
-
- 班级PK
-
-
-
-
-
-
-
-
-
-
-
- 开始PK
-
-
-
-
-
-
-
-
-
- {{ getRankColor(index).text }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ classData.q1_ac.toFixed(2) }}
-
-
- {{ classData.q3_ac.toFixed(2) }}
-
-
- {{ classData.iqr.toFixed(2) }}
-
-
- {{ classData.std_dev.toFixed(2) }}
-
-
-
-
- {{ classData.top_10_avg.toFixed(2) }}
-
-
- {{ classData.bottom_10_avg.toFixed(2) }}
-
-
- {{ classData.top_25_avg.toFixed(2) }}
-
-
- {{ classData.bottom_25_avg.toFixed(2) }}
-
-
-
-
- {{ classData.user_count }}
-
-
-
-
-
-
-
-
- 优秀率: {{ classData.excellent_rate.toFixed(1) }}%
-
-
-
-
- 及格率: {{ classData.pass_rate.toFixed(1) }}%
-
-
-
-
- 参与度: {{ classData.active_rate.toFixed(1) }}%
-
-
-
-
-
-
-
-
-
-
- {{ classData.recent_total_ac }}
-
-
- {{ classData.recent_avg_ac?.toFixed(2) }}
-
-
- {{ classData.recent_median_ac?.toFixed(2) }}
-
-
- {{ classData.recent_top_10_avg?.toFixed(2) }}
-
-
- {{ classData.recent_active_count }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 班级PK
+
+
+
+
+
+
+
+
+
+
+
+ 开始PK
+
+
+
+
+
+
+
+
+
+ {{ getRankColor(index).text }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ classData.q1_ac.toFixed(2) }}
+
+
+ {{ classData.q3_ac.toFixed(2) }}
+
+
+ {{ classData.iqr.toFixed(2) }}
+
+
+ {{ classData.std_dev.toFixed(2) }}
+
+
+
+
+ {{ classData.top_10_avg.toFixed(2) }}
+
+
+ {{ classData.bottom_10_avg.toFixed(2) }}
+
+
+ {{ classData.top_25_avg.toFixed(2) }}
+
+
+ {{ classData.bottom_25_avg.toFixed(2) }}
+
+
+
+
+ {{ classData.user_count }}
+
+
+
+
+
+
+
+
+ 优秀率: {{ classData.excellent_rate.toFixed(1) }}%
+
+
+
+
+ 及格率: {{ classData.pass_rate.toFixed(1) }}%
+
+
+
+
+ 参与度: {{ classData.active_rate.toFixed(1) }}%
+
+
+
+
+
+
+
+
+
+
+ {{ classData.recent_total_ac }}
+
+
+ {{ classData.recent_avg_ac?.toFixed(2) }}
+
+
+ {{ classData.recent_median_ac?.toFixed(2) }}
+
+
+ {{ classData.recent_top_10_avg?.toFixed(2) }}
+
+
+ {{ classData.recent_active_count }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+