add Notify

This commit is contained in:
Timi
2026-08-21 13:52:52 +08:00
parent 1f37d36901
commit c97913da2d
9 changed files with 803 additions and 28 deletions
+3 -1
View File
@@ -11,6 +11,7 @@ import pointRoutes from "@/router/routes/pointRoutes";
import registrationRoutes from "@/router/routes/registrationRoutes";
import tabRoutes from "@/router/routes/tabRoutes";
import userRoutes from "@/router/routes/userRoutes";
import notifyRoutes from "@/router/routes/notifyRoutes";
import { useCurrentStoreStore } from "@/store/currentStoreStore";
import { useGlobalUIStore } from "@/store/globalUI";
import { gaoRoleCodes } from "@/utils/permission";
@@ -25,7 +26,8 @@ const detailRoutes = [
...permissionRoutes,
...pointRoutes,
...chartRoutes,
...managementAccountRoutes
...managementAccountRoutes,
...notifyRoutes
];
const router = createRouter({
+36
View File
@@ -0,0 +1,36 @@
import type { RouteRecordRaw } from "vue-router";
import NotifyDetail from "@/pages/notify/NotifyDetail.vue";
import NotifyList from "@/pages/notify/NotifyList.vue";
const notifyRoutes: RouteRecordRaw[] = [
{
path: "/notify",
name: "NotifyList",
component: NotifyList,
meta: {
depth: 3,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "站内通知",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/notify/:id",
name: "NotifyDetail",
component: NotifyDetail,
meta: {
depth: 4,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "通知详情",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
}
];
export default notifyRoutes;