37 lines
1.0 KiB
TypeScript
37 lines
1.0 KiB
TypeScript
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
const routes: RouteRecordRaw[] = [
|
|
{
|
|
meta: {
|
|
icon: 'lucide:party-popper',
|
|
order: 51,
|
|
title: '常驻活动',
|
|
},
|
|
name: 'ResidentActivityManager',
|
|
path: '/resident-activity/manager',
|
|
redirect: '/resident-activity/manager/invite/config',
|
|
children: [
|
|
{
|
|
name: 'ResidentRegisterRewardConfig',
|
|
path: 'register-reward/config',
|
|
component: () => import('#/views/resident-activity/register-reward-config.vue'),
|
|
meta: { title: '注册奖励配置' },
|
|
},
|
|
{
|
|
name: 'ResidentInviteConfig',
|
|
path: 'invite/config',
|
|
component: () => import('#/views/resident-activity/invite-config.vue'),
|
|
meta: { title: '邀请活动配置' },
|
|
},
|
|
{
|
|
name: 'ResidentInviteList',
|
|
path: 'invite/list',
|
|
component: () => import('#/views/resident-activity/invite-list.vue'),
|
|
meta: { title: '邀请活动列表' },
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default routes;
|