forked from TALL/check-work
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
326 lines
11 KiB
326 lines
11 KiB
import Vue from 'vue';
|
|
import VueRouter from 'vue-router';
|
|
import Home from 'views/FirstPage/FirstPage.vue';
|
|
|
|
Vue.use(VueRouter);
|
|
|
|
const routes = [
|
|
// 首页
|
|
{
|
|
path: '/',
|
|
name: 'Home',
|
|
component: Home,
|
|
},
|
|
// 登录界面
|
|
{
|
|
path: '/login',
|
|
name: 'Login',
|
|
component: () => import(/* webpackChunkName: "Login" */ 'views/User/Login.vue'),
|
|
},
|
|
// 注册界面
|
|
{
|
|
path: '/register',
|
|
name: 'Register',
|
|
component: () => import(/* webpackChunkName: "register" */ 'views/User/Register.vue'),
|
|
},
|
|
// 修改密码
|
|
{
|
|
path: '/forget-password',
|
|
name: 'ForgetPassword',
|
|
component: () => import(/* webpackChunkName: "forget-password" */ 'views/User/ForgetPassword.vue'),
|
|
},
|
|
// 关于我们界面
|
|
{
|
|
path: '/About/Introduce',
|
|
name: 'About',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/About.vue'),
|
|
children: [
|
|
{
|
|
path: '/About/Introduce',
|
|
name: 'Introduce',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Introduce.vue'),
|
|
},
|
|
{
|
|
path: '/About/Organ',
|
|
name: 'Organ',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Organ.vue'),
|
|
},
|
|
{
|
|
path: '/About/Partner',
|
|
name: 'Partner',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/Partner.vue'),
|
|
},
|
|
{
|
|
path: '/About/SpinOffs',
|
|
name: 'SpinOffs',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/About/Children/SpinOffs.vue'),
|
|
},
|
|
],
|
|
},
|
|
// 政策界面
|
|
{
|
|
path: '/Policy',
|
|
name: 'Policy',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Policy/Policy.vue'),
|
|
},
|
|
// 政策详情界面
|
|
{
|
|
path: '/Policy/PolicyDetails',
|
|
name: 'PolicyDetails',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Policy/PolicyDetails.vue'),
|
|
},
|
|
// 交流社区界面
|
|
{
|
|
path: '/Community',
|
|
name: 'Community',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Community/Community.vue'),
|
|
},
|
|
// 交流社区发帖界面
|
|
{
|
|
path: '/Posting',
|
|
name: 'Posting',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Community/Posting.vue'),
|
|
},
|
|
// 交流帖子详情页
|
|
{
|
|
path: '/ComDetails',
|
|
name: 'ComDetails',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Community/ComDetails.vue'),
|
|
},
|
|
// 行业资讯界面
|
|
{
|
|
path: '/ItInformation',
|
|
name: 'ItInformation',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/ItInformation/ItInformation.vue'),
|
|
},
|
|
// 行业资讯详情界面
|
|
{
|
|
path: '/ItDetails',
|
|
name: 'ItDetails',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/ItInformation/ItDetails.vue'),
|
|
},
|
|
// 活动公告界面
|
|
{
|
|
path: '/Activity',
|
|
name: 'Activity',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Activity/Activity.vue'),
|
|
},
|
|
// 活动公告详情界面
|
|
{
|
|
path: '/ActDetails',
|
|
name: 'ActDetails',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Activity/ActDetails.vue'),
|
|
},
|
|
// 联系我们界面
|
|
{
|
|
path: '/ContactUs',
|
|
name: 'ContactUs',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/ContactUs/ContactUs.vue'),
|
|
},
|
|
// 创新平台
|
|
{
|
|
path: '/NewPlatform/NewCore',
|
|
name: 'NewPlatform',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/NewPlatform.vue'),
|
|
children: [
|
|
{
|
|
path: '/NewPlatform/NewCore',
|
|
name: 'Core',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Core.vue'),
|
|
},
|
|
{
|
|
path: '/NewPlatform/News',
|
|
name: 'News',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Platform.vue'),
|
|
},
|
|
{
|
|
path: '/NewPlatform/NewService',
|
|
name: 'Service',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Service.vue'),
|
|
},
|
|
{
|
|
path: '/NewPlatform/ServiceDet',
|
|
name: 'ServiceDet',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/ServiceDet.vue'),
|
|
},
|
|
{
|
|
// 科技资源开放共享服务平台
|
|
path: '/NewPlatform/Share',
|
|
name: 'Share',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Share.vue'),
|
|
},
|
|
{
|
|
// 科技资源开放共享服务平台 > 研究院(实验室)详情页
|
|
path: '/NewPlatform/Share/Institute',
|
|
name: 'Institute',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/ShareChild/Institute.vue'),
|
|
},
|
|
{
|
|
// 科技资源开放共享服务平台 > 仪器详情页
|
|
path: '/NewPlatform/Share/InsDet',
|
|
name: 'InsDet',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/ShareChild/InsDet.vue'),
|
|
},
|
|
{
|
|
// 知识产权与技术转移转化服务平台
|
|
path: '/NewPlatform/Transfer',
|
|
name: 'Transfer',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Transfer.vue'),
|
|
},
|
|
{
|
|
// 创新服务
|
|
path: '/NewPlatform/Develop',
|
|
name: 'Develop',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/Develop.vue'),
|
|
},
|
|
{
|
|
// 成果详情页
|
|
path: '/NewPlatform/AchDet',
|
|
name: 'AchDet',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/NewPlatform/Children/AchDet.vue'),
|
|
},
|
|
],
|
|
},
|
|
// 孵化平台
|
|
{
|
|
path: '/IncubationPlatform/MakerSpace',
|
|
name: 'IncubationPlatform',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/IncubationPlatform.vue'),
|
|
children: [
|
|
// 众创空间
|
|
{
|
|
path: '/IncubationPlatform/MakerSpace',
|
|
name: 'MakerSpace',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/MakerSpace.vue'),
|
|
},
|
|
// 孵化场所
|
|
{
|
|
path: '/IncubationPlatform/Incubator',
|
|
name: 'Incubator',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/Incubator.vue'),
|
|
},
|
|
// 公共实验室
|
|
{
|
|
path: '/IncubationPlatform/PublicLaboratory',
|
|
name: 'PublicLaboratory',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/PublicLaboratory.vue'),
|
|
},
|
|
// 中试基地
|
|
{
|
|
path: '/IncubationPlatform/PilotBase',
|
|
name: 'PilotBase',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/PilotBase.vue'),
|
|
},
|
|
// 创业导师
|
|
{
|
|
path: '/IncubationPlatform/Tutor',
|
|
name: 'Tutor',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/Tutor.vue'),
|
|
},
|
|
// 合作伙伴
|
|
{
|
|
path: '/IncubationPlatform/Partner',
|
|
name: 'Partner',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/Partner.vue'),
|
|
},
|
|
// 创业服务
|
|
{
|
|
path: '/IncubationPlatform/Services',
|
|
name: 'Services',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/Services.vue'),
|
|
},
|
|
// 产品展示
|
|
{
|
|
path: '/IncubationPlatform/Products',
|
|
name: 'Products',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/Products.vue'),
|
|
},
|
|
// 实体众创空间
|
|
{
|
|
path: '/IncubationPlatform/MakerSpace/EntitySpace',
|
|
name: 'EntitySpace',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/place/EntitySpace.vue'),
|
|
},
|
|
// 虚拟众创空间
|
|
{
|
|
path: '/IncubationPlatform/MakerSpace/VirtualSpace',
|
|
name: 'VirtualSpace',
|
|
component: () =>
|
|
import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/place/VirtualSpace.vue'),
|
|
},
|
|
// 统计信息填报
|
|
{
|
|
path: '/IncubationPlatform/MakerSpace/InformationFilling',
|
|
name: 'InformationFilling',
|
|
component: () =>
|
|
import(/* webpackChunkName: "cooperative-enterprise" */ 'views/IncubationPlatform/Children/place/InformationFilling.vue'),
|
|
},
|
|
],
|
|
},
|
|
// 购物车
|
|
{
|
|
path: '/Cart',
|
|
name: 'Cart',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Cart/Cart.vue'),
|
|
},
|
|
{
|
|
// 创新挑战
|
|
path: '/Challenge/Solicitation',
|
|
name: 'Challenge',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Challenge/Challenge.vue'),
|
|
children: [
|
|
{
|
|
path: '/Challenge/Solicitation',
|
|
name: 'Solicitation',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Challenge/Children/Solicitation.vue'),
|
|
},
|
|
{
|
|
path: '/Challenge/Release',
|
|
name: 'Release',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Challenge/Children/Release.vue'),
|
|
},
|
|
{
|
|
path: '/Challenge/Notice',
|
|
name: 'Notice',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Challenge/Children/Notice.vue'),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
// 产业平台
|
|
path: '/Industry/Union',
|
|
name: 'Industry',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Industry/Industry.vue'),
|
|
children: [
|
|
{
|
|
path: '/Industry/Union',
|
|
name: 'Union',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Industry/Children/Union.vue'),
|
|
},
|
|
{
|
|
path: '/Industry/Serve',
|
|
name: 'Serve',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Industry/Children/Serve.vue'),
|
|
},
|
|
{
|
|
path: '/Industry/Enterprise',
|
|
name: 'Enterprise',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Industry/Children/Enterprise.vue'),
|
|
},
|
|
],
|
|
},
|
|
// 知识平台界面
|
|
{
|
|
path: '/Knowledge',
|
|
name: 'Knowledge',
|
|
component: () => import(/* webpackChunkName: "cooperative-enterprise" */ 'views/Knowledge/Knowledge.vue'),
|
|
},
|
|
];
|
|
|
|
const router = new VueRouter({
|
|
mode: 'history',
|
|
base: process.env.BASE_URL,
|
|
routes,
|
|
});
|
|
|
|
export default router;
|
|
|