diff --git a/os-checks/components/InfoTestCases.vue b/os-checks/components/InfoTestCases.vue
new file mode 100644
index 0000000..829d598
--- /dev/null
+++ b/os-checks/components/InfoTestCases.vue
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/os-checks/components/TopBar.vue b/os-checks/components/TopBar.vue
index 2c67e65..9b04dfb 100644
--- a/os-checks/components/TopBar.vue
+++ b/os-checks/components/TopBar.vue
@@ -23,6 +23,10 @@
+
+
+
+
diff --git a/os-checks/pages/index.vue b/os-checks/pages/index.vue
index cd47909..9a31303 100644
--- a/os-checks/pages/index.vue
+++ b/os-checks/pages/index.vue
@@ -147,13 +147,13 @@ const progressRatio = computed(() => {
}
.nav-link {
- color: #336ad7;
+ color: var(--p-indigo-500);
/* 统一的链接颜色 */
text-decoration: none;
}
.nav-link.router-link-active {
- color: #336ad7;
+ color: var(--p-indigo-500);
/* 重置激活链接的颜色 */
}
diff --git a/os-checks/pages/info.vue b/os-checks/pages/info.vue
new file mode 100644
index 0000000..41cc476
--- /dev/null
+++ b/os-checks/pages/info.vue
@@ -0,0 +1,252 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/os-checks/shared/info.ts b/os-checks/shared/info.ts
new file mode 100644
index 0000000..9a12afc
--- /dev/null
+++ b/os-checks/shared/info.ts
@@ -0,0 +1,34 @@
+export type PkgInfo = {
+ user: string,
+ repo: string,
+ pkgs: { [key: string]: Pkg }
+}
+
+export type Pkg = {
+ version: string,
+ dependencies: number,
+ lib: boolean,
+ bin: boolean,
+ testcases: TestCases | null,
+ tests: number,
+ examples: number,
+ benches: number,
+ author: string[]
+ description: string[],
+ categories: string[]
+ os_categories: string[],
+}
+
+export type TestCases = {
+ tests: Test[],
+ pkg_tests_count: number,
+ workspace_tests_count: number,
+}
+
+export type Test = {
+ id: string,
+ kind: string,
+ binary_name: string,
+ binary_path: string,
+ testcases: string[]
+}