const LAYOUT = () => import("@/layout/app/index.vue");

export const systemRoutes = [
  {
    path: "/",
    name: "main",
    redirect: "login",
    component: LAYOUT,
    children: [
      {
        path: "im",
        name: "im",
        meta: { title: "router.Social", keepAlive: false, navbar: true, tabbar:true }, // 社交
        component: () => import("@/views/home/index.vue"),
      },
      {
        path: "transaction",
        name: "transaction",
        meta: { title: "router.Transaction", keepAlive: false, navbar: true, tabbar:true }, // 交易
        component: () => import("@/views/transaction/index.vue"),
      },
      {
        path: "wallet",
        name: "wallet",
        meta: { title: "router.Wallet", keepAlive: false, navbar: false, tabbar:true }, // 钱包
        component: () => import("@/views/wallet/index.vue"),
      },
      {
        path: "dapp",
        name: "dapp",
        meta: { title: "router.Dapp", keepAlive: false, navbar: false, tabbar:true }, // DAPP
        component: () => import("@/views/dapp/index.vue"),
      },
      {
        path: "me",
        name: "me",
        meta: { title: "router.Me", keepAlive: false, navbar: false, tabbar:true }, // 我的
        component: () => import("@/views/me/index.vue"),
      },
      {
        path: "personalInformation",
        name: "personalInformation",
        meta: { title: "router.PersonalInformation", keepAlive: false, navbar: true, leftArrow: true }, // 个人资料
        component: () => import("@/views/me/personalInformation/index.vue"),
      },
      {
        path: "walletManagement",
        name: "walletManagement",
        meta: { title: "router.WalletManagement", keepAlive: false, navbar: true, leftArrow: true }, // 钱包管理
        component: () => import("@/views/me/walletManagement/index.vue"),
      },
      {
        path: "nodeDividend",
        name: "nodeDividend",
        meta: { title: "router.receiptOfRecord", keepAlive: false, navbar: true, leftArrow: true }, // 节点分红
        component: () => import("@/views/me/nodeDividend/index.vue"),
      },
    ],
  },
];
