diff --git a/src/components/IconifyIcon/src/offlineIcon.ts b/src/components/IconifyIcon/src/offlineIcon.ts index cf20fd8..c4e3b53 100644 --- a/src/components/IconifyIcon/src/offlineIcon.ts +++ b/src/components/IconifyIcon/src/offlineIcon.ts @@ -35,7 +35,7 @@ import downloadRounded from "@iconify-icons/material-symbols/download-rounded"; import deviceReset from "@iconify-icons/material-symbols/device-reset"; import switchAccessOutlineRounded from "@iconify-icons/material-symbols/switch-access-outline-rounded"; import switchAccessRounded from "@iconify-icons/material-symbols/switch-access-rounded"; - +import localFireDepartment from "@iconify-icons/material-symbols/local-fire-department"; addIcon("cloud", Cloud); addIcon("rocket-launch-rounded", RocketLaunchRounded); addIcon("download", Download); @@ -65,5 +65,6 @@ addIcon("downloadRounded", downloadRounded); addIcon("deviceReset", deviceReset); addIcon("switchAccessOutlineRounded", switchAccessOutlineRounded); addIcon("switchAccessRounded", switchAccessRounded); +addIcon("localFireDepartment", localFireDepartment); diff --git a/src/router/index.ts b/src/router/index.ts index 2bd4f3c..e3546b0 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -60,6 +60,17 @@ const routes: RouteRecordRaw[] = [ }, component: () => import("@/views/logger/index.vue") }, + { + path: "/welfare", + name: "Welfare", + meta: { + title: "公益", + icon: "localFireDepartment", + keepAlive: true, + hidden: false + }, + component: () => import("@/views/welfare/index.vue") + }, { path: "/about", name: "About", diff --git a/src/views/welfare/index.vue b/src/views/welfare/index.vue new file mode 100644 index 0000000..18ce149 --- /dev/null +++ b/src/views/welfare/index.vue @@ -0,0 +1,49 @@ + + + + +