This commit is contained in:
2025-03-07 17:35:39 +08:00
parent 3f38f1bb73
commit 94644d0601
48 changed files with 585 additions and 7 deletions

27
src/router/merchant.js Normal file
View File

@@ -0,0 +1,27 @@
// const merchant = [
// {
// path: '/task-center',
// name: 'task-center',
// title: '任务中心',
// icon: '',
// component: () => import('../pages/merchant/pages/task-center/index.vue'),
// children: [
// {
// path: '/reward-mission',
// name: 'reward-mission',
// title: '悬赏任务',
// icon: '',
// component: () => import('../pages/merchant/pages/task-center/reward-mission.vue'),
// },
// {
// path: '/appointed-task',
// name: 'appointed-task',
// title: '任务指派',
// icon: '',
// component: () => import('../pages/merchant/pages/task-center/appointed-task.vue'),
// }
// ]
// },
// ]
//
// export default merchant;

7
src/router/routes-map.js Normal file
View File

@@ -0,0 +1,7 @@
const routesMap = {
'task-center': import('../pages/merchant/pages/task-center/index.vue'),
'reward-mission': import('../pages/merchant/pages/task-center/reward-mission.vue'),
'appointed-task': import('../pages/merchant/pages/task-center/appointed-task.vue'),
};
export default routesMap;