mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-15 04:27:39 +08:00
@@ -1,40 +1,50 @@
|
||||
/**
|
||||
* @file router modules sub.ts
|
||||
* @description 子路由模块,用于二级窗口
|
||||
* @author BTMuli <bt-muli@outlook.com>
|
||||
* @since Alpha v0.2.2
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @since Alpha v0.1.2
|
||||
*/
|
||||
// 游戏内公告
|
||||
import TAnno from "../../views/t-anno.vue";
|
||||
import TAnnoJson from "../../views/t-anno-json.vue";
|
||||
// 咨讯
|
||||
import TNews from "../../views/t-news.vue";
|
||||
// 帖子相关
|
||||
import TPost from "../../views/t-post.vue";
|
||||
import TPostJson from "../../views/t-post-json.vue";
|
||||
// 抽奖
|
||||
import TLottery from "../../views/t-lottery.vue";
|
||||
|
||||
const subRoutes = [
|
||||
{
|
||||
path: "/anno_detail/:anno_id",
|
||||
name: "游戏内公告",
|
||||
component: async () => await import("../../views/t-anno.vue"),
|
||||
component: TAnno,
|
||||
},
|
||||
{
|
||||
path: "/anno_detail_json/:anno_id",
|
||||
name: "游戏内公告(JSON)",
|
||||
component: async () => await import("../../views/t-anno-json.vue"),
|
||||
component: TAnnoJson,
|
||||
},
|
||||
{
|
||||
path: "/news/:gid",
|
||||
name: "咨讯",
|
||||
component: async () => await import("../../views/t-news.vue"),
|
||||
component: TNews,
|
||||
},
|
||||
{
|
||||
path: "/post_detail/:post_id",
|
||||
name: "帖子详情",
|
||||
component: async () => await import("../../views/t-post.vue"),
|
||||
component: TPost,
|
||||
},
|
||||
{
|
||||
path: "/post_detail_json/:post_id",
|
||||
name: "帖子详情(JSON)",
|
||||
component: async () => await import("../../views/t-post-json.vue"),
|
||||
component: TPostJson,
|
||||
},
|
||||
{
|
||||
path: "/lottery/:lottery_id",
|
||||
name: "抽奖详情",
|
||||
component: async () => await import("../../views/t-lottery.vue"),
|
||||
component: TLottery,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user