portal.js 1.05 KB
import Layout from '@/layout/'
const portalRouter = {
  path: '/portal',
  component: Layout,
  name: 'portal',
  meta: {
    icon: 'profile',
    title: '门户管理'
  },
  children: [
    {
      path: '/portal/carouselManage',
      name: 'carouselManage',
      exact: true,
      meta: {
        title: '轮播图管理'
      },
      component: () => import(/* webpackChunkName: "carouselManage" */ '@/views/portalManage/carouselManage/index.vue'), // 轮播图管理
    },
    {
      path: '/portal/scrollBarManage',
      name: 'scrollBarManage',
      exact: true,
      meta: {
        title: '滚动条管理'
      },
      component: () => import(/* webpackChunkName: "scrollBarManage" */ '@/views/portalManage/scrollBarManage/index.vue'), // 滚动条管理
    },
    {
      path: '/portal/pdf',
      name: 'pdf',
      exact: true,
      meta: {
        title: '滚动条管理'
      },
      component: () => import(/* webpackChunkName: "pdf" */ '@/views/portalManage/pdf/index.vue'), // 滚动条管理
    },
  ]
}

export default portalRouter;