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
+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;