import type { RouteRecordRaw } from 'vue-router'

const BasicLayout = () => import('#/layouts/basic.vue')

const site: RouteRecordRaw = {
  path: '/site',
  name: 'Site',
  component: BasicLayout,
  meta: {
    orderNo: 2000,
    icon: 'ion:grid-outline',
    title: '站点管理',
  },
  children: [
    {
      path: 'list',
      name: 'SiteList',
      component: () => import('#/views/site/list.vue'),
      meta: {
        title: '站点列表',
        icon: 'ion:list-outline',
      },
    },
    {
      path: 'group',
      name: 'SiteGroup',
      component: () => import('#/views/site/group.vue'),
      meta: {
        title: '站点分组',
        icon: 'ion:folder-outline',
      },
    },
    // {
    //   path: 'user',
    //   name: 'SiteUser',
    //   component: () => import('#/views/site/user.vue'),
    //   meta: {
    //     title: '站点用户',
    //     icon: 'ion:people-outline',
    //   },
    // },
    // {
    //   path: 'log',
    //   name: 'SiteLog',
    //   component: () => import('#/views/site/log.vue'),
    //   meta: {
    //     title: '操作日志',
    //     icon: 'ion:document-text-outline',
    //   },
    // },
    // {
    //   path: 'account',
    //   name: 'SiteAccount',
    //   component: () => import('#/views/site/account.vue'),
    //   meta: {
    //     title: '账单管理',
    //     icon: 'ion:card-outline',
    //   },
    // },
  ],
}

export default site 