feat: add ppt demo

This commit is contained in:
xiaoxian521
2022-04-19 11:42:36 +08:00
parent a80c6f034a
commit 63640a0950
6 changed files with 38 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ const ableRouter = {
icon: "ubuntu-fill",
title: $t("menus.hsAble"),
i18n: true,
rank: 3
rank: 4
},
children: [
{

View File

@@ -9,7 +9,7 @@ const componentsRouter = {
icon: "menu",
title: $t("menus.hscomponents"),
i18n: true,
rank: 4
rank: 5
},
children: [
{

View File

@@ -19,11 +19,7 @@ const editorRouter = {
meta: {
title: $t("menus.hseditor"),
i18n: true,
keepAlive: true,
extraIcon: {
svg: true,
name: "team-iconxinpin"
}
keepAlive: true
}
}
]

31
src/router/modules/ppt.ts Normal file
View File

@@ -0,0 +1,31 @@
const Layout = () => import("/@/layout/index.vue");
const IFrame = () => import("/@/layout/frameView.vue");
const pptRouter = {
path: "/ppt",
component: Layout,
meta: {
icon: "ppt",
title: "PPT",
i18n: false,
rank: 3
},
children: [
{
path: "/ppt/index",
name: "reFrameppt",
component: IFrame,
meta: {
title: "PPT",
i18n: false,
frameSrc: "https://pipipi-pikachu.github.io/PPTist/",
extraIcon: {
svg: true,
name: "team-iconxinpin"
}
}
}
]
};
export default pptRouter;