import {RouteRecordRaw} from 'vue-router';
import Layout from '@/layout/Index.vue';

const Router: Array<RouteRecordRaw> = [{
  path: '/ETH',
  name: 'ETH',
  component: Layout,
  meta: {
    title: 'ETH',
    icon: 'home-2-line',
    breadcrumbHidden: true,
  },
  children: [
    {
      path: 'EthAddress',
      name: 'EthAddress',
      component: () => import('@/views/ETH/address/index.vue'),
      meta: {
        title: 'ETH地址管理',
        icon: 'home-2-line',
        noClosable: true,
      },
    },
    {
      path: 'EthRecord',
      name: 'EthRecord',
      component: () => import('@/views/ETH/record/index.vue'),
      meta: {
        title: 'ETH充值记录',
        icon: 'home-2-line',
        noClosable: true,
      },
    },
    {
      path: 'EthTokenList',
      name: 'EthTokenList',
      component: () => import('@/views/ETH/token/index.vue'),
      meta: {
        title: 'ETH币种管理',
        icon: 'home-2-line',
        noClosable: true,
      },
    },
  ],
},
];

export default Router;
