348 lines
8.9 KiB
JavaScript
348 lines
8.9 KiB
JavaScript
function login() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/login/login.vue');
|
|
}
|
|
function home() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/home2/index.vue');
|
|
}
|
|
// function home2() {
|
|
// return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/home2/index.vue');
|
|
// }
|
|
|
|
function yhzx() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/glxtSy/glxtSy.vue');
|
|
}
|
|
function mhNewMain() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/home/mhNewMain.vue');
|
|
}
|
|
function zxym() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/zx/index.vue');
|
|
}
|
|
function authorize() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/dddl/authorize.vue');
|
|
}
|
|
// 企业出海
|
|
function qych() {
|
|
return import(/* webpackChunkName: "lsxd" */ '@/pages/index/views/qych/index.vue');
|
|
}
|
|
// 行业专题
|
|
function hyzt() {
|
|
return import(/* webpackChunkName: "lsxd" */ '@/pages/index/views/hyzt/index.vue');
|
|
}
|
|
|
|
function gxnlpt() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/gxnlpt/index.vue');
|
|
}
|
|
|
|
//消息中心
|
|
function newsCenter() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/ggwhglHtgl/index.vue');
|
|
}
|
|
|
|
//碳服务市场
|
|
function fwsc() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/fwsc/fwsc.vue');
|
|
}
|
|
|
|
//碳金融市场
|
|
function jrsc() {
|
|
return import(/* webpackChunkName: "sbfdemo" */ '@/pages/index/views/fwsc/jrsc.vue');
|
|
}
|
|
|
|
//碳需求市场
|
|
function xqsc() {
|
|
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');
|
|
}
|
|
|
|
//企业认证
|
|
function qyrenzheng() {
|
|
return import('@/pages/index/views/qyrz/index.vue');
|
|
}
|
|
//企业入驻
|
|
function qyruzhu() {
|
|
return import('@/pages/index/views/qy-rz/index.vue');
|
|
}
|
|
//碳服务供给
|
|
function tfwgj() {
|
|
return import('@/pages/index/views/gxfb/tfwgj.vue');
|
|
}
|
|
|
|
//碳服务需求
|
|
function tfwxq() {
|
|
return import('@/pages/index/views/gxfb/tfwxq.vue');
|
|
}
|
|
|
|
//绿色交易
|
|
function lsjy() {
|
|
return import('@/pages/index/views/lsjy/lsjy.vue');
|
|
}
|
|
|
|
// 工作台
|
|
function gzt() {
|
|
return import(/* webpackChunkName: "gzt" */ '@/pages/index/views/gzt/index.vue');
|
|
}
|
|
|
|
// 搜索结果页
|
|
function search() {
|
|
return import(/* webpackChunkName: "search" */ '@/pages/index/views/search/index.vue');
|
|
}
|
|
|
|
// 账号管理
|
|
function zhanghugl() {
|
|
return import(/* webpackChunkName: "zhanghugl" */ '@/pages/index/views/yhzx/zhanghugl/index.vue');
|
|
}
|
|
|
|
// 用户反馈
|
|
function yhfk() {
|
|
return import(/* webpackChunkName: "yhfk" */ '@/pages/index/views/yhfk/index.vue');
|
|
}
|
|
|
|
// md文档查看器
|
|
function mdviewer() {
|
|
return import(/* webpackChunkName: "mdviewer" */ '@/pages/index/views/mdviewer/index.vue');
|
|
}
|
|
|
|
|
|
// md文档查看器
|
|
function tzzx() {
|
|
return import(/* webpackChunkName: "tzzx" */ '@/pages/index/views/tzzx/index.vue');
|
|
}
|
|
|
|
|
|
export default [
|
|
{
|
|
name: 'login',
|
|
path: '/login',
|
|
component: login,
|
|
meta: {
|
|
title: '登录',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '登录', to: '/login' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'mhNewMain',
|
|
path: '/mhsy/mhNewMain',
|
|
component: mhNewMain,
|
|
meta: {
|
|
title: '碳信网',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '碳信网', to: '/mhsy/mhNewMain' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'home',
|
|
path: '/home',
|
|
component: home,
|
|
meta: {
|
|
title: '首页',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }],
|
|
disableBack: true,
|
|
needLogin: false,
|
|
},
|
|
},
|
|
// {
|
|
// name: 'home2',
|
|
// path: '/home2',
|
|
// component: home2,
|
|
// meta: {
|
|
// title: '首页',
|
|
// isShowSideBar: false,
|
|
// hasHome: true,
|
|
// breadCrumbs: [{ title: '首页', to: '/home2' }],
|
|
// disableBack: true,
|
|
// needLogin: false,
|
|
// },
|
|
// },
|
|
{
|
|
name: 'yhzx',
|
|
path: '/yhzx',
|
|
component: yhzx,
|
|
meta: {
|
|
title: '用户中心',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '用户中心', to: '/yhzx' }],
|
|
disableBack: true,
|
|
},
|
|
children: [
|
|
{ path: 'gzt', component: gzt, name: 'gzt', meta: { title: '工作台' } },
|
|
{ path: 'wdgj', component: gzt, name: 'wdgj', meta: { title: '我的供给' } },
|
|
{ path: 'wdxq', component: gzt, name: 'wdxq', meta: { title: '我的需求' } },
|
|
{ path: 'zzgl', component: gzt, name: 'zzgl', meta: { title: '质证申请' } },
|
|
{ path: 'qyrenzheng', component: qyrenzheng, name: 'qyrenzheng', meta: { title: '企业认证' } },
|
|
{ path: 'qyruzhu', component: qyruzhu, name: 'qyruzhu', meta: { title: '企业入驻' } },
|
|
{ path: 'tfwgj', component: tfwgj, name: 'tfwgj', meta: { title: '碳服务供给' } },
|
|
{ path: 'tfwxq', component: tfwxq, name: 'tfwxq', meta: { title: '碳服务需求' } },
|
|
{ path: 'ggwhgl', component: newsCenter, name: 'ggwhgl', meta: { title: '消息中心' } },
|
|
{ path: 'lsjy', component: lsjy, name: 'lsjy', meta: { title: '绿色交易' } },
|
|
{ path: 'zhanghugl', component: zhanghugl, name: 'zhanghugl', meta: { title: '账号管理' } },
|
|
{ path: 'yhfk', component: yhfk, name: 'yhfk', meta: { title: '意见反馈' } },
|
|
]
|
|
},
|
|
{
|
|
name: 'newsCenter',
|
|
path: '/newsCenter',
|
|
component: newsCenter,
|
|
meta: {
|
|
title: '消息中心',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '消息中心', to: '/newsCenter' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'zxym',
|
|
path: '/zxym',
|
|
component: zxym,
|
|
},
|
|
{
|
|
name: 'authorize',
|
|
path: '/authorize',
|
|
component: authorize,
|
|
},
|
|
{
|
|
name: 'qych',
|
|
path: '/qych',
|
|
component: qych,
|
|
},
|
|
{
|
|
name: 'gxnlpt',
|
|
path: '/gxnlpt',
|
|
component: gxnlpt,
|
|
},
|
|
{
|
|
name: 'hyzt',
|
|
path: '/hyzt',
|
|
component: hyzt,
|
|
},
|
|
{
|
|
name: 'tfwsc',
|
|
path: '/tfwsc',
|
|
component: fwsc,
|
|
meta: {
|
|
title: '碳服务市场',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '' }, { title: '碳服务市场', to: '/tfwsc' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'tjrsc',
|
|
path: '/tjrsc',
|
|
component: jrsc,
|
|
meta: {
|
|
title: '碳金融市场',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '' }, { title: '碳金融市场', to: '/tjrsc' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'txqsc',
|
|
path: '/txqsc',
|
|
component: xqsc,
|
|
meta: {
|
|
title: '碳需求市场',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '' }, { title: '碳需求市场', to: '/txqsc' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'tsjsc',
|
|
path: '/tsjsc',
|
|
component: sjsc,
|
|
meta: {
|
|
title: '碳数据市场',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '' }, { title: '碳数据市场', to: '/tsjsc' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'tsjlbc',
|
|
path: '/tsjlbc',
|
|
component: sjlbc,
|
|
meta: {
|
|
title: '数据列表',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '' }, { title: '碳数据市场', to: '/fwscsjlbc' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'fwsc',
|
|
path: '/fwsc',
|
|
component: fwscIndex,
|
|
meta: {
|
|
title: '服务中心',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '服务中心', to: '/fwsc' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'search',
|
|
path: '/search',
|
|
component: search,
|
|
meta: {
|
|
title: '搜索结果',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '搜索结果', to: '/search' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'mdviewer',
|
|
path: '/mdviewer',
|
|
component: mdviewer,
|
|
meta: {
|
|
title: '文档预览',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
breadCrumbs: [{ title: '首页', to: '/home' }, { title: '文档预览', to: '/mdviewer' }],
|
|
disableBack: true,
|
|
},
|
|
},
|
|
{
|
|
name: 'tzzx',
|
|
path: '/tzzx',
|
|
component: tzzx,
|
|
meta: {
|
|
title: '碳证中心',
|
|
isShowSideBar: false,
|
|
hasHome: true,
|
|
disableBack: true,
|
|
},
|
|
},
|
|
];
|