123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- import { $t } from "@/plugins/i18n";
- import { components } from "@/router/enums";
- export default {
- path: "/components",
- redirect: "/components/video",
- meta: {
- icon: "menu",
- title: $t("menus.hscomponents"),
- rank: components
- },
- children: [
- {
- path: "/components/message",
- name: "Message",
- component: () => import("@/views/components/message/index.vue"),
- meta: {
- title: $t("menus.hsmessage"),
- extraIcon: {
- svg: true,
- name: "team-iconxinpinrenqiwang"
- }
- }
- },
- {
- path: "/components/video",
- name: "Video",
- component: () => import("@/views/components/video/index.vue"),
- meta: {
- title: $t("menus.hsvideo")
- }
- },
- {
- path: "/components/map",
- name: "Map",
- component: () => import("@/views/components/map/index.vue"),
- meta: {
- title: $t("menus.hsmap"),
- keepAlive: true,
- transition: {
- name: "fade"
- }
- }
- },
- {
- path: "/components/draggable",
- name: "Draggable",
- component: () => import("@/views/components/draggable/index.vue"),
- meta: {
- title: $t("menus.hsdraggable"),
- transition: {
- enterTransition: "animate__zoomIn",
- leaveTransition: "animate__zoomOut"
- }
- }
- },
- {
- path: "/components/splitPane",
- name: "SplitPane",
- component: () => import("@/views/components/split-pane/index.vue"),
- meta: {
- title: $t("menus.hssplitPane")
- }
- },
- {
- path: "/components/button",
- name: "Button",
- component: () => import("@/views/components/button/index.vue"),
- meta: {
- title: $t("menus.hsbutton")
- }
- },
- {
- path: "/components/cropping",
- name: "Cropping",
- component: () => import("@/views/components/cropping/index.vue"),
- meta: {
- title: $t("menus.hscropping")
- }
- },
- {
- path: "/components/countTo",
- name: "CountTo",
- component: () => import("@/views/components/count-to/index.vue"),
- meta: {
- title: $t("menus.hscountTo")
- }
- },
- {
- path: "/components/selector",
- name: "Selector",
- component: () => import("@/views/components/selector/index.vue"),
- meta: {
- title: $t("menus.hsselector")
- }
- },
- {
- path: "/components/seamlessScroll",
- name: "SeamlessScroll",
- component: () => import("@/views/components/seamless-scroll/index.vue"),
- meta: {
- title: $t("menus.hsseamless")
- }
- },
- {
- path: "/components/contextmenu",
- name: "ContextMenu",
- component: () => import("@/views/components/contextmenu/index.vue"),
- meta: {
- title: $t("menus.hscontextmenu")
- }
- },
- {
- path: "/components/typeit",
- name: "Typeit",
- component: () => import("@/views/components/typeit/index.vue"),
- meta: {
- title: $t("menus.hstypeit")
- }
- },
- {
- path: "/components/json-editor",
- name: "JsonEditor",
- component: () => import("@/views/components/json-editor/index.vue"),
- meta: {
- title: $t("menus.hsjsoneditor")
- }
- },
- {
- path: "/components/danmaku",
- name: "Danmaku",
- component: () => import("@/views/components/danmaku/index.vue"),
- meta: {
- title: $t("menus.hsdanmaku")
- }
- }
- ]
- } as RouteConfigsTable;
|