feat: 完善服务中心页面路由配置

This commit is contained in:
liulujian 2026-04-03 16:36:14 +08:00
parent ca7b1a0013
commit 4d13ed6f9f

View File

@ -51,6 +51,21 @@ function jrsc() {
function xqsc() { function xqsc() {
return import(/* webpackChunkName: "fwsc" */ '@/pages/index/views/fwsc/xqsc.vue'); return import(/* webpackChunkName: "fwsc" */ '@/pages/index/views/fwsc/xqsc.vue');
} }
//碳数据市场
function sjsc() {
return import(/* webpackChunkName: "fwsc" */ '@/pages/index/views/fwsc/sjsc.vue');
}
//数据列表
function sjlbc() {
return import(/* webpackChunkName: "fwsc" */ '@/pages/index/views/fwsc/sjlbc.vue');
}
//服务中心引导页
function fwscIndex() {
return import(/* webpackChunkName: "fwsc" */ '@/pages/index/views/fwsc/index.vue');
}
export default [ export default [
{ {
name: 'login', name: 'login',
@ -187,4 +202,40 @@ export default [
disableBack: true, disableBack: true,
}, },
}, },
{
name: 'fwsc-sjsc',
path: '/fwsc/sjsc',
component: sjsc,
meta: {
title: '碳数据市场',
isShowSideBar: false,
hasHome: true,
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '' }, { title: '碳数据市场', to: '/fwsc/sjsc' }],
disableBack: true,
},
},
{
name: 'fwsc-sjlbc',
path: '/fwsc/sjlbc',
component: sjlbc,
meta: {
title: '数据列表',
isShowSideBar: false,
hasHome: true,
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '' }, { title: '碳数据市场', to: '/fwsc/sjsc' }, { title: '数据列表', to: '/fwsc/sjlbc' }],
disableBack: true,
},
},
{
name: 'fwsc',
path: '/fwsc',
component: fwscIndex,
meta: {
title: '服务中心',
isShowSideBar: false,
hasHome: true,
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '/fwsc' }],
disableBack: true,
},
},
]; ];