import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:users',
      order: 49.5,
      title: 'App用户管理',
    },
    name: 'AppUserManager',
    path: '/app-user/manager',
    redirect: '/app-user/manager/gold-balance',
    children: [
      {
        name: 'GoldBalance',
        path: 'gold-balance',
        alias: '/operate/manager/gold-balance',
        component: () => import('#/views/operate/gold-balance.vue'),
        meta: { title: '金币余额' },
      },
      {
        name: 'AutoSalaryPayRecord',
        path: 'auto-salary-pay-record',
        alias: '/auto-salary-pay-record',
        component: () => import('#/views/operate/auto-salary-pay-record.vue'),
        meta: { title: '自动发放工资凭据' },
      },
      {
        name: 'UserBankWithdrawMoneyApply',
        path: 'withdraw-money-apply-page',
        alias: '/withdraw-money-apply-page',
        component: () =>
          import('#/views/operate/user-bank-withdraw-money-apply.vue'),
        meta: { title: '用户银行卡提现现金申请' },
      },
      {
        name: 'UserBankWithdrawDiamondApply',
        path: 'withdraw-diamond-apply-page',
        alias: '/withdraw-diamond-apply-page',
        component: () =>
          import('#/views/operate/user-bank-withdraw-diamond-apply.vue'),
        meta: { title: '用户银行卡提现钻石申请' },
      },
      {
        name: 'UserBankWithdrawGoldApply',
        path: 'user-bank-withdraw-gold-apply',
        alias: '/user-bank-withdraw-gold-apply',
        component: () =>
          import('#/views/operate/user-bank-withdraw-gold-apply.vue'),
        meta: { title: '用户银行金币兑换申请' },
      },
      {
        name: 'UserBankDiamondWithdrawGoldApply',
        path: 'user-bank-diamond-withdraw-gold-apply',
        alias: '/user-bank-diamond-withdraw-gold-apply',
        component: () =>
          import('#/views/operate/user-bank-diamond-withdraw-gold-apply.vue'),
        meta: { title: '用户银行卡钻石兑换金币申请' },
      },
      {
        name: 'UserBankBalance',
        path: 'user-bank-balance',
        alias: '/user-bank-balance',
        component: () => import('#/views/operate/user-bank-balance.vue'),
        meta: { title: '用户银行账户' },
      },
      {
        name: 'UserBankRunningWater',
        path: 'user-running-water',
        alias: '/user-running-water',
        component: () => import('#/views/operate/user-bank-running-water.vue'),
        meta: { title: '用户银行流水' },
      },
      {
        name: 'InviteUserLog',
        path: 'invite-user-log',
        alias: '/operate/manager/invite-user-log',
        component: () => import('#/views/operate/invite-user-log.vue'),
        meta: { title: '邀请用户日志' },
      },
      {
        name: 'SysUserFriendshipCard',
        path: 'sys/friendship-card',
        alias: '/sys/friendship-card',
        component: () => import('#/views/operate/friendship-card.vue'),
        meta: { title: '用户友谊卡配置' },
      },
      {
        name: 'LotfunInviteUserRule',
        path: 'sys/invite-user-rule',
        alias: '/sys/invite-user-rule',
        component: () => import('#/views/operate/invite-user-rule.vue'),
        meta: { title: '邀请用户配置' },
      },
      {
        name: 'AswatUserAdvertising',
        path: 'sys/user-advertising',
        alias: '/sys/user-advertising',
        component: () => import('#/views/operate/user-advertising.vue'),
        meta: { title: '用户观看广告配置' },
      },
      {
        name: 'OperateUserFreight',
        path: 'user_freight',
        alias: '/operate/manager/user_freight',
        component: () => import('#/views/operate/user-freight.vue'),
        meta: { title: '货运代理' },
      },
      {
        name: 'InviteRewardRecord',
        path: 'user/invite-reward',
        alias: '/operate/manager/user/invite-reward',
        component: () => import('#/views/operate/invite-reward.vue'),
        meta: { title: '邀请用户奖励记录' },
      },
      {
        name: 'OperateImAccountManager',
        path: 'im/account/manager',
        alias: '/operate/manager/im/account/manager',
        component: () => import('#/views/operate/im-account-manager.vue'),
        meta: { title: 'IM账号管理' },
      },
      {
        name: 'CheckInLog',
        path: 'check/in/log',
        alias: '/operate/manager/check/in/log',
        component: () => import('#/views/operate/check-in-log.vue'),
        meta: { title: '用户签到' },
      },
      {
        name: 'OperateUserManage',
        path: 'user',
        alias: '/operate/manager/user',
        component: () => import('#/views/operate/user-manage.vue'),
        meta: { title: '用户列表' },
      },
      {
        name: 'OperateUserDevice',
        path: 'user/user-device',
        alias: '/operate/manager/user/user-device',
        component: () => import('#/views/operate/user-device-list.vue'),
        meta: { title: '用户最新设备列表' },
      },
      {
        name: 'OperateUserFreightInfoList',
        path: 'user_freight_info_list',
        alias: '/operate/manager/user_freight_info_list',
        component: () => import('#/views/operate/user-freight-info-list.vue'),
        meta: { title: '货运代理流水' },
      },
      {
        name: 'OperateQualityUsersList',
        path: 'quality_users_list',
        alias: '/operate/manager/quality_users_list',
        component: () => import('#/views/operate/quality-users-list.vue'),
        meta: { title: '高产用户列表' },
      },
      {
        name: 'OperateGoldRunningWater',
        path: 'running/water',
        alias: '/operate/manager/running/water',
        component: () => import('#/views/operate/gold-running-water.vue'),
        meta: { title: '金币收支记录' },
      },
      {
        name: 'OperateInsideOperationGold',
        path: 'inside-operation-gold',
        alias: '/operate/manager/inside-operation-gold',
        component: () => import('#/views/operate/inside-operation-gold.vue'),
        meta: { title: '内部操作金币' },
      },
      {
        name: 'GameCouponRunningWater',
        path: 'game/coupon/running/water',
        alias: '/game/coupon/running/water',
        component: () => import('#/views/operate/game-coupon-running-water.vue'),
        meta: { title: '游戏券收支记录' },
      },
      {
        name: 'OperateIntegralStream',
        path: 'integral/stream',
        alias: '/operate/manager/integral/stream',
        component: () => import('#/views/operate/integral-stream.vue'),
        meta: { title: '积分收支记录' },
      },
      {
        name: 'OperateBadgeConfig',
        path: 'badge',
        alias: '/operate/manager/badge',
        component: () => import('#/views/operate/badge-config.vue'),
        meta: { title: '徽章配置管理' },
      },
      {
        name: 'OperateGiftHistory',
        path: 'gift/history',
        alias: '/operate/manager/gift/history',
        component: () => import('#/views/operate/gift-history.vue'),
        meta: { title: '礼物赠送记录' },
      },
      {
        name: 'OperatePush',
        path: 'push',
        alias: '/operate/manager/push',
        component: () => import('#/views/operate/push.vue'),
        meta: { title: '消息推送' },
      },
      {
        name: 'RunningWaterUserProps',
        path: 'running/water/user/props',
        alias: '/running/water/user/props',
        component: () => import('#/views/operate/user-props-running-water.vue'),
        meta: { title: '用户道具流水' },
      },
      {
        name: 'UserDiamondBalance',
        path: 'user/diamond-balance',
        alias: '/user/diamond-balance',
        component: () => import('#/views/operate/user-diamond-balance.vue'),
        meta: { title: '用户钻石余额列表' },
      },
      {
        name: 'UserDiamondRunWater',
        path: 'user/diamond-run-water',
        alias: '/user/diamond-run-water',
        component: () =>
          import('#/views/operate/user-diamond-running-water.vue'),
        meta: { title: '用户钻石流水列表' },
      },
      {
        name: 'UserActivityReceive',
        path: 'user/user-activity-receive',
        alias: '/user/user-activity-receive',
        component: () => import('#/views/operate/user-activity-receive.vue'),
        meta: { title: '用户活动领奖记录' },
      },
      {
        name: 'BeautifulNumberApply',
        path: 'user/beautiful-number-apply',
        alias: '/user/beautiful-number-apply',
        component: () => import('#/views/operate/beautiful-number-apply.vue'),
        meta: { title: '用户申请靓号记录' },
      },
      {
        name: 'OperateBeautifulNumber',
        path: 'beautiful-number',
        alias: '/operate/manager/beautiful-number',
        component: () => import('#/views/operate/beautiful-number.vue'),
        meta: { title: '靓号池管理' },
      },
    ],
  },
];

export default routes;
