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

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

export default Router;
