add Dashboard

This commit is contained in:
Timi
2026-04-10 00:01:38 +08:00
parent d9e32c4dbe
commit 489cbb5d0f
14 changed files with 1134 additions and 54 deletions

View File

@@ -1,12 +1,12 @@
import type { RouteRecordRaw } from "vue-router";
import FilePage from "@/pages/tabs/FilePage.vue";
import ServerStatusPage from "@/pages/tabs/ServerStatusPage.vue";
import SettingsPage from "@/pages/tabs/SettingsPage.vue";
import FileTab from "@/pages/tabs/FileTab.vue";
import DashboardTab from "@/pages/tabs/DashboardTab.vue";
import SettingsTab from "@/pages/tabs/SettingsTab.vue";
const tabs: RouteRecordRaw[] = [
{
path: "/",
name: "FilePage",
name: "FileTab",
meta: {
depth: 2,
navBarVisible: true,
@@ -17,11 +17,11 @@ const tabs: RouteRecordRaw[] = [
contentFixedHeight: true,
bodyBackground: "#F4F4F4"
},
component: FilePage
component: FileTab
},
{
path: "/server",
name: "ServerStatusPage",
name: "DashboardTab",
meta: {
depth: 2,
navBarVisible: true,
@@ -29,13 +29,13 @@ const tabs: RouteRecordRaw[] = [
tabBarVisible: true,
tabBarRoot: true,
tabBarPadding: true,
bodyBackground: "#FFF"
bodyBackground: "#F4F4F4"
},
component: ServerStatusPage
component: DashboardTab
},
{
path: "/settings",
name: "SettingsPage",
name: "SettingsTab",
meta: {
depth: 2,
navBarVisible: true,
@@ -45,7 +45,7 @@ const tabs: RouteRecordRaw[] = [
tabBarPadding: true,
bodyBackground: "#FFF"
},
component: SettingsPage
component: SettingsTab
}
];