From 78c87cc73f18960f3379955e58200326ccafdf24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com>
Date: Thu, 5 Sep 2024 10:50:14 +0800
Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=85=AC=E7=9B=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/IconifyIcon/src/offlineIcon.ts | 3 +-
src/router/index.ts | 11 +++++
src/views/welfare/index.vue | 49 +++++++++++++++++++
3 files changed, 62 insertions(+), 1 deletion(-)
create mode 100644 src/views/welfare/index.vue
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 @@
+
+
+
+
+
+
+