Commit f2fa2383 by lijiabin

【需求 20331】 wip: 增加后台相关路由

parent 03141b5e
......@@ -76,6 +76,12 @@ export const constantsRoute = [
name: 'CultureSelfTask',
component: () => import('@/views/userPage/components/selfTask.vue'),
},
// 参与活动
{
path: 'selfActivity',
name: 'CultureSelfActivity',
component: () => import('@/views/userPage/components/selfActivity.vue'),
},
// 评论回复
{
path: 'selfComment',
......@@ -177,8 +183,15 @@ export const constantsRoute = [
name: 'CulturePublishLongArticle',
component: () => import('@/views/publishLongArticle/index.vue'),
},
// 限时竞拍
{
path: 'auction',
name: 'Auction',
component: () => import('@/views/auction/index.vue'),
},
],
},
{
path: '/backend',
name: 'Backend',
......@@ -209,53 +222,102 @@ export const constantsRoute = [
// component: () => import('@/views/backend/topic-admin/index.vue'),
// meta: { title: '专栏——管理员' },
// },
{
path: 'columnSettings',
name: 'ColumnSettingsManagement',
component: () => import('@/views/backend/columnSettings/index.vue'),
meta: { title: '专栏——栏目管理' },
},
// {
// path: 'interview-admin',
// name: 'InterviewAdminManagement',
// component: () => import('@/views/backend/interview-admin/index.vue'),
// meta: { title: '专访——管理员' },
// },
// {
// path: 'videoManage',
// name: 'VideoManageManagement',
// component: () => import('@/views/backend/videoManage/index.vue'),
// meta: { title: '视频管理' },
// },
{
path: 'interviewSettings',
name: 'InterviewSettingsManagement',
component: () => import('@/views/backend/interviewSettings/index.vue'),
meta: { title: '专访——栏目管理' },
path: 'caseManage',
name: 'CaseManageManagement',
component: () => import('@/views/backend/caseManage/index.vue'),
meta: { title: 'YAYA案例库管理' },
},
{
path: 'videoSettings',
name: 'VideoSettingsManagement',
component: () => import('@/views/backend/videoSettings/index.vue'),
meta: { title: '视频——栏目管理' },
path: 'goodsDistribution',
name: 'GoodsDistributionManagement',
component: () => import('@/views/backend/goodsDistribution/index.vue'),
meta: { title: '积分商城——商品分发' },
},
/**
* 内容管理下的子菜单
*/
// 专栏管理
{
path: 'contentsMenu/columnManage',
name: 'ContentsColumnManage',
component: () => import('@/views/backend/contentsMenu/columnManage/index.vue'),
meta: { title: '专栏管理' },
},
// 专访管理
{
path: 'contentsMenu/interviewManage',
name: 'ContentsInterviewManage',
component: () => import('@/views/backend/contentsMenu/interviewManage/index.vue'),
meta: { title: '专访管理' },
},
// 视频管理
{
path: 'videoManage',
name: 'VideoManageManagement',
component: () => import('@/views/backend/videoManage/index.vue'),
path: 'contentsMenu/videoManage',
name: 'ContentsVideoManage',
component: () => import('@/views/backend/contentsMenu/videoManage/index.vue'),
meta: { title: '视频管理' },
},
// 问吧管理
{
path: 'caseManage',
name: 'CaseManageManagement',
component: () => import('@/views/backend/caseManage/index.vue'),
meta: { title: 'YAYA案例库管理' },
path: 'contentsMenu/questionManage',
name: 'ContentsQuestionManage',
component: () => import('@/views/backend/contentsMenu/questionManage/index.vue'),
meta: { title: '问吧管理' },
},
/**
* 配置管理下的子菜单
*/
// 积分商城配置
{
path: 'goodsManage',
path: 'settingsMenu/goodsManage',
name: 'GoodsManageManagement',
component: () => import('@/views/backend/goodsManage/index.vue'),
meta: { title: '积分商城——商品配置' },
component: () => import('@/views/backend/settingsMenu/goodsManage/index.vue'),
meta: { title: '积分商城配置' },
},
// 限时竞拍配置
{
path: 'goodsDistribution',
name: 'GoodsDistributionManagement',
component: () => import('@/views/backend/goodsDistribution/index.vue'),
meta: { title: '积分商城——商品分发' },
path: 'settingsMenu/auctionManage',
name: 'AuctionManageManagement',
component: () => import('@/views/backend/settingsMenu/auctionManage/index.vue'),
meta: { title: '限时竞拍配置' },
},
/**
* 栏目管理下的子菜单
*/
// 专栏——栏目管理
{
path: 'columnsMenu/columnManage',
name: 'ColumnManage',
component: () => import('@/views/backend/columnsMenu/columnManage/index.vue'),
meta: { title: '专栏——栏目管理' },
},
// 专访——栏目管理
{
path: 'columnsMenu/interviewManage',
name: 'InterviewManage',
component: () => import('@/views/backend/columnsMenu/interviewManage/index.vue'),
meta: { title: '专访——栏目管理' },
},
// 视频——栏目管理
{
path: 'columnsMenu/videoManage',
name: 'VideoManage',
component: () => import('@/views/backend/columnsMenu/videoManage/index.vue'),
meta: { title: '视频——栏目管理' },
},
],
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment