|
@@ -10,62 +10,34 @@ const routes = [
|
|
|
// 直播大厅
|
|
|
{
|
|
|
path: '/live/index',
|
|
|
- name: 'live_index',
|
|
|
meta: { title: '直播大厅', isleftarrow: false },
|
|
|
component: () => import('../views/live/index.vue'),
|
|
|
},
|
|
|
- // 直播大厅-在线展会详情
|
|
|
{
|
|
|
- path: '/live/liveDetail',
|
|
|
- name: 'liveDetail',
|
|
|
- meta: { title: '展会详情', isleftarrow: true },
|
|
|
- component: () => import('../views/live/liveDetail.vue'),
|
|
|
- },
|
|
|
- // 直播大厅-科技频道详情
|
|
|
- {
|
|
|
- path: '/live/channelDetail',
|
|
|
- name: 'channelDetail',
|
|
|
- meta: { title: '科技频道', isleftarrow: true },
|
|
|
- component: () => import('../views/live/channelDetail.vue'),
|
|
|
- },
|
|
|
- // 直播大厅-嘉宾访谈详情
|
|
|
- {
|
|
|
- path: '/live/interviewDeatil',
|
|
|
- name: 'interviewDeatil',
|
|
|
- meta: { title: '嘉宾访谈详情', isleftarrow: true },
|
|
|
- component: () => import('../views/live/interviewDeatil.vue'),
|
|
|
- },
|
|
|
- // 直播大厅-项目路演详情
|
|
|
- {
|
|
|
- path: '/live/roadshowDetail',
|
|
|
- name: 'roadshowDetail',
|
|
|
- meta: { title: '项目路演详情', isleftarrow: true },
|
|
|
- component: () => import('../views/live/roadshowDetail.vue'),
|
|
|
+ path: '/live/detail',
|
|
|
+ meta: { title: '直播大厅详情', isleftarrow: true },
|
|
|
+ component: () => import('../views/live/detail.vue'),
|
|
|
},
|
|
|
// 科技超市
|
|
|
{
|
|
|
path: '/market/index',
|
|
|
- name: 'market_index',
|
|
|
meta: { title: '科技超市', isleftarrow: false },
|
|
|
component: () => import('../views/market/index.vue'),
|
|
|
},
|
|
|
// 科技超市详情
|
|
|
{
|
|
|
path: '/market/detail',
|
|
|
- name: 'detail',
|
|
|
meta: { title: '科技超市详情', isleftarrow: true },
|
|
|
component: () => import('../views/market/detail.vue'),
|
|
|
},
|
|
|
// 个人中心
|
|
|
{
|
|
|
path: '/user/index',
|
|
|
- name: 'user',
|
|
|
meta: { title: '个人中心', isleftarrow: false },
|
|
|
component: () => import('../views/user/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/user/detail',
|
|
|
- name: 'user',
|
|
|
meta: { title: '详情', isleftarrow: true },
|
|
|
component: () => import('../views/user/detail.vue'),
|
|
|
},
|
|
@@ -82,61 +54,82 @@ const routes = [
|
|
|
meta: { title: '登录', isleftarrow: true },
|
|
|
component: () => import('../views/login.vue'),
|
|
|
},
|
|
|
+ // 绑定
|
|
|
+ {
|
|
|
+ path: '/bind',
|
|
|
+ name: 'bind',
|
|
|
+ meta: { title: '绑定', isleftarrow: false },
|
|
|
+ component: () => import('../views/bind.vue'),
|
|
|
+ },
|
|
|
+ // 展会绑定
|
|
|
+ {
|
|
|
+ path: '/dockbind',
|
|
|
+ name: 'dockbind',
|
|
|
+ meta: { title: '展会绑定', isleftarrow: false },
|
|
|
+ component: () => import('../views/dockbind.vue'),
|
|
|
+ },
|
|
|
+ // 错误
|
|
|
+ {
|
|
|
+ path: '/error',
|
|
|
+ name: 'error',
|
|
|
+ meta: { title: '绑定授权', isleftarrow: false },
|
|
|
+ component: () => import('../views/followbind.vue'),
|
|
|
+ },
|
|
|
+ //关注公众号
|
|
|
+ {
|
|
|
+ path: '/followbind',
|
|
|
+ name: 'followbind',
|
|
|
+ meta: { title: '关注公众号', isleftarrow: false },
|
|
|
+ component: () => import('../views/followbind.vue'),
|
|
|
+ },
|
|
|
// 第一版个人中心
|
|
|
// 个人-机构-专家
|
|
|
// 个人中心
|
|
|
{
|
|
|
path: '/userCenter/user/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '个人中心', isleftarrow: true },
|
|
|
component: () => import('../views/userCenter/user/index.vue'),
|
|
|
},
|
|
|
// 我的发布
|
|
|
{
|
|
|
path: '/userCenter/myProduct/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '我的发布', isleftarrow: true },
|
|
|
component: () => import('../views/userCenter/myProduct/index.vue'),
|
|
|
},
|
|
|
// 信息发布
|
|
|
{
|
|
|
path: '/userCenter/myProduct/detail',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '信息发布', isleftarrow: true },
|
|
|
component: () => import('../views/userCenter/myProduct/detail.vue'),
|
|
|
},
|
|
|
// 事项管理
|
|
|
{
|
|
|
path: '/userCenter/matter/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '事项管理', isleftarrow: true },
|
|
|
component: () => import('../views/userCenter/matter/index.vue'),
|
|
|
},
|
|
|
// 事项操作
|
|
|
{
|
|
|
path: '/userCenter/matter/detail',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '事项管理', isleftarrow: true },
|
|
|
component: () => import('../views/userCenter/matter/detail.vue'),
|
|
|
},
|
|
|
// 展会管理
|
|
|
{
|
|
|
path: '/userCenter/dock/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '展会管理', isleftarrow: true },
|
|
|
component: () => import('../views/userCenter/dock/index.vue'),
|
|
|
},
|
|
|
// 申请参展
|
|
|
{
|
|
|
path: '/userCenter/dock/detail',
|
|
|
- name: 'userCenter',
|
|
|
+
|
|
|
meta: { title: '申请参展', isleftarrow: true },
|
|
|
component: () => import('../views/userCenter/dock/detail.vue'),
|
|
|
},
|
|
|
// 修改密码
|
|
|
{
|
|
|
path: '/updatePwd/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '修改密码', isleftarrow: true },
|
|
|
component: () => import('../views/updatePwd/index.vue'),
|
|
|
},
|
|
@@ -144,56 +137,48 @@ const routes = [
|
|
|
// 用户管理
|
|
|
{
|
|
|
path: '/adminCenter/user/index',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '用户管理', isleftarrow: true },
|
|
|
component: () => import('../views/adminCenter/user/index.vue'),
|
|
|
},
|
|
|
// 用户审核
|
|
|
{
|
|
|
path: '/adminCenter/user/detail',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '用户审核', isleftarrow: true },
|
|
|
component: () => import('../views/adminCenter/user/detail.vue'),
|
|
|
},
|
|
|
// 展会管理
|
|
|
{
|
|
|
path: '/adminCenter/duijiehui/index',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '展会管理', isleftarrow: true },
|
|
|
component: () => import('../views/adminCenter/duijiehui/index.vue'),
|
|
|
},
|
|
|
// 创建展会
|
|
|
{
|
|
|
path: '/adminCenter/duijiehui/add',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '创建展会', isleftarrow: true },
|
|
|
component: () => import('../views/adminCenter/duijiehui/add.vue'),
|
|
|
},
|
|
|
// 审核管理
|
|
|
{
|
|
|
path: '/adminCenter/enterpriseProduct/index',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '审核管理', isleftarrow: true },
|
|
|
component: () => import('../views/adminCenter/enterpriseProduct/index.vue'),
|
|
|
},
|
|
|
// 产品审核
|
|
|
{
|
|
|
path: '/adminCenter/enterpriseProduct/detail',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '产品审核', isleftarrow: true },
|
|
|
component: () => import('../views/adminCenter/enterpriseProduct/detail.vue'),
|
|
|
},
|
|
|
// 交易审核
|
|
|
{
|
|
|
path: '/adminCenter/transaction/index',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '交易审核', isleftarrow: true },
|
|
|
component: () => import('../views/adminCenter/transaction/index.vue'),
|
|
|
},
|
|
|
// 审核详情
|
|
|
{
|
|
|
path: '/adminCenter/transaction/detail',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '审核详情', isleftarrow: true },
|
|
|
component: () => import('../views/adminCenter/transaction/detail.vue'),
|
|
|
},
|
|
@@ -202,165 +187,140 @@ const routes = [
|
|
|
// 在线展会
|
|
|
{
|
|
|
path: '/viewTwo/live/index',
|
|
|
- name: 'live',
|
|
|
meta: { title: '在线展会', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/live/index.vue'),
|
|
|
},
|
|
|
// 在线展会详情
|
|
|
{
|
|
|
path: '/viewTwo/live/detail',
|
|
|
- name: 'live',
|
|
|
meta: { title: '在线展会详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/live/detail.vue'),
|
|
|
},
|
|
|
// 人才对接详情
|
|
|
{
|
|
|
path: '/viewTwo/live/personalDetail',
|
|
|
- name: 'live',
|
|
|
meta: { title: '人才对接详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/live/personalDetail.vue'),
|
|
|
},
|
|
|
// 专家培训详情
|
|
|
{
|
|
|
path: '/viewTwo/live/exportsDetail',
|
|
|
- name: 'live',
|
|
|
meta: { title: '专家培训详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/live/exportsDetail.vue'),
|
|
|
},
|
|
|
// 科技频道
|
|
|
{
|
|
|
path: '/viewTwo/channel/index',
|
|
|
- name: 'channel',
|
|
|
meta: { title: '科技频道', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/channel/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/channel/detail',
|
|
|
- name: 'detail',
|
|
|
meta: { title: '科技频道详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/channel/detail.vue'),
|
|
|
},
|
|
|
// 培训访谈
|
|
|
{
|
|
|
path: '/viewTwo/interview/index',
|
|
|
- name: 'interview',
|
|
|
meta: { title: '培训访谈', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/interview/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/interview/detail',
|
|
|
- name: 'detail',
|
|
|
meta: { title: '培训访谈详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/interview/detail.vue'),
|
|
|
},
|
|
|
// 项目路演
|
|
|
{
|
|
|
path: '/viewTwo/roadshow/index',
|
|
|
- name: 'roadshow',
|
|
|
meta: { title: '项目路演', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/roadshow/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/roadshow/detail',
|
|
|
- name: 'roadshow',
|
|
|
meta: { title: '项目路演详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/roadshow/detail.vue'),
|
|
|
},
|
|
|
// 技术成果
|
|
|
{
|
|
|
path: '/viewTwo/achieve/index',
|
|
|
- name: 'achieve',
|
|
|
meta: { title: '技术成果', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/achieve/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/achieve/detail',
|
|
|
- name: 'achieve',
|
|
|
meta: { title: '技术成果详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/achieve/detail.vue'),
|
|
|
},
|
|
|
// e专利
|
|
|
{
|
|
|
path: '/viewTwo/patent/index',
|
|
|
- name: 'patent',
|
|
|
meta: { title: 'e专利', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/patent/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/patent/detail',
|
|
|
- name: 'patent',
|
|
|
meta: { title: 'e专利详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/patent/detail.vue'),
|
|
|
},
|
|
|
// 科技需求
|
|
|
{
|
|
|
path: '/viewTwo/techol/index',
|
|
|
- name: 'techol',
|
|
|
meta: { title: '科技需求', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/techol/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/techol/detail',
|
|
|
- name: 'techol',
|
|
|
meta: { title: '科技需求详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/techol/detail.vue'),
|
|
|
},
|
|
|
// 专家智库
|
|
|
{
|
|
|
path: '/viewTwo/expert/index',
|
|
|
- name: 'expert',
|
|
|
meta: { title: '专家智库', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/expert/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/expert/detail',
|
|
|
- name: 'expert',
|
|
|
meta: { title: '专家智库详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/expert/detail.vue'),
|
|
|
},
|
|
|
// 在线服务
|
|
|
{
|
|
|
path: '/viewTwo/service/index',
|
|
|
- name: 'service',
|
|
|
meta: { title: '在线服务', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/service/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/service/detail',
|
|
|
- name: 'service',
|
|
|
meta: { title: '在线服务', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/service/detail.vue'),
|
|
|
},
|
|
|
// 调查问卷
|
|
|
{
|
|
|
path: '/viewTwo/question/index',
|
|
|
- name: 'question',
|
|
|
meta: { title: '调查问卷', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/question/index.vue'),
|
|
|
},
|
|
|
// 通知通告
|
|
|
{
|
|
|
path: '/viewTwo/notice/index',
|
|
|
- name: 'notice',
|
|
|
meta: { title: '通知通告', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/notice/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/notice/detail',
|
|
|
- name: 'notice',
|
|
|
meta: { title: '通知通告详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/notice/detail.vue'),
|
|
|
},
|
|
|
// 新闻资讯
|
|
|
{
|
|
|
path: '/viewTwo/news/index',
|
|
|
- name: 'news',
|
|
|
meta: { title: '新闻资讯', isleftarrow: false },
|
|
|
component: () => import('../viewTwo/news/index.vue'),
|
|
|
},
|
|
|
{
|
|
|
path: '/viewTwo/news/detail',
|
|
|
- name: 'news',
|
|
|
meta: { title: '新闻资讯详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/news/detail.vue'),
|
|
|
},
|
|
@@ -382,56 +342,49 @@ const routes = [
|
|
|
// 个人中心
|
|
|
{
|
|
|
path: '/viewTwo/userCenter/user/index',
|
|
|
- name: 'userCenter',
|
|
|
+ name: 'user_index',
|
|
|
meta: { title: '个人中心', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/userCenter/user/index.vue'),
|
|
|
},
|
|
|
// 我的发布
|
|
|
{
|
|
|
path: '/viewTwo/userCenter/myProduct/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '我的发布', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/userCenter/myProduct/index.vue'),
|
|
|
},
|
|
|
// 信息发布
|
|
|
{
|
|
|
path: '/viewTwo/userCenter/myProduct/detail',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '信息发布', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/userCenter/myProduct/detail.vue'),
|
|
|
},
|
|
|
// 事项管理
|
|
|
{
|
|
|
path: '/viewTwo/userCenter/matter/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '事项管理', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/userCenter/matter/index.vue'),
|
|
|
},
|
|
|
// 事项操作
|
|
|
{
|
|
|
path: '/viewTwo/userCenter/matter/detail',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '事项管理', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/userCenter/matter/detail.vue'),
|
|
|
},
|
|
|
// 展会管理
|
|
|
{
|
|
|
path: '/viewTwo/userCenter/dock/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '展会管理', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/userCenter/dock/index.vue'),
|
|
|
},
|
|
|
// 申请参展
|
|
|
{
|
|
|
path: '/viewTwo/userCenter/dock/detail',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '申请参展', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/userCenter/dock/detail.vue'),
|
|
|
},
|
|
|
// 修改密码
|
|
|
{
|
|
|
path: '/viewTwo/updatePwd/index',
|
|
|
- name: 'userCenter',
|
|
|
meta: { title: '修改密码', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/updatePwd/index.vue'),
|
|
|
},
|
|
@@ -439,56 +392,48 @@ const routes = [
|
|
|
// 用户管理
|
|
|
{
|
|
|
path: '/viewTwo/adminCenter/user/index',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '用户管理', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/adminCenter/user/index.vue'),
|
|
|
},
|
|
|
// 用户审核
|
|
|
{
|
|
|
path: '/viewTwo/adminCenter/user/detail',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '用户审核', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/adminCenter/user/detail.vue'),
|
|
|
},
|
|
|
// 展会管理
|
|
|
{
|
|
|
path: '/viewTwo/adminCenter/duijiehui/index',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '展会管理', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/adminCenter/duijiehui/index.vue'),
|
|
|
},
|
|
|
// 创建展会
|
|
|
{
|
|
|
path: '/viewTwo/adminCenter/duijiehui/add',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '创建展会', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/adminCenter/duijiehui/add.vue'),
|
|
|
},
|
|
|
// 审核管理
|
|
|
{
|
|
|
path: '/viewTwo/adminCenter/enterpriseProduct/index',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '审核管理', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/adminCenter/enterpriseProduct/index.vue'),
|
|
|
},
|
|
|
// 产品审核
|
|
|
{
|
|
|
path: '/viewTwo/adminCenter/enterpriseProduct/detail',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '产品审核', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/adminCenter/enterpriseProduct/detail.vue'),
|
|
|
},
|
|
|
// 交易审核
|
|
|
{
|
|
|
path: '/viewTwo/adminCenter/transaction/index',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '交易审核', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/adminCenter/transaction/index.vue'),
|
|
|
},
|
|
|
// 审核详情
|
|
|
{
|
|
|
path: '/viewTwo/adminCenter/transaction/detail',
|
|
|
- name: 'adminCenter',
|
|
|
meta: { title: '审核详情', isleftarrow: true },
|
|
|
component: () => import('../viewTwo/adminCenter/transaction/detail.vue'),
|
|
|
},
|