// 碳足迹评价
import type { Route } from '@/global'

const Layout = () => import('@/layouts/index.vue')
const routes: Route.recordRaw[] = [
  {
    path: '/carbonEvaluate',
    component: Layout,
    redirect: '/carbonEvaluate/evaluate',
    name: 'Devaluate',
    meta: {
      title: '碳足迹评价',
      icon: 'ep:key',
      auth: '/evaluate',
    },
    children: [
      {
        path: 'evaluate',
        name: 'Evaluate',
        component: () => import('@/views/evaluate/index.vue'),
        meta: {
          title: '碳足迹评价',
          auth: '/evaluate',
          sidebar: false,
          breadcrumb: true,
          activeMenu: '/carbonEvaluate',
        },
      },
    ],
  },
]

export default routes
