37 lines
810 B
TypeScript
37 lines
810 B
TypeScript
import type { RouteRecordRaw } from "vue-router";
|
|
import UserNotifyDetail from "@/pages/notify/UserNotifyDetail.vue";
|
|
import UserNotifyList from "@/pages/notify/UserNotifyList.vue";
|
|
|
|
const notifyRoutes: RouteRecordRaw[] = [
|
|
{
|
|
path: "/notify",
|
|
name: "UserNotifyList",
|
|
component: UserNotifyList,
|
|
meta: {
|
|
depth: 3,
|
|
navBarVisible: true,
|
|
navBarCanBack: true,
|
|
navBarTitle: "站内通知",
|
|
tabBarVisible: false,
|
|
bodyBackground: "#F5F5F8",
|
|
darkBodyBackground: "#10161f"
|
|
}
|
|
},
|
|
{
|
|
path: "/notify/:id",
|
|
name: "UserNotifyDetail",
|
|
component: UserNotifyDetail,
|
|
meta: {
|
|
depth: 4,
|
|
navBarVisible: true,
|
|
navBarCanBack: true,
|
|
navBarTitle: "通知详情",
|
|
tabBarVisible: false,
|
|
bodyBackground: "#FFF",
|
|
darkBodyBackground: "#000"
|
|
}
|
|
}
|
|
];
|
|
|
|
export default notifyRoutes;
|