|
@@ -12,6 +12,13 @@ const routes = [
|
|
|
meta: { title: '首页', isleftarrow: false },
|
|
|
component: () => import('../views/home/index.vue'),
|
|
|
},
|
|
|
+
|
|
|
+ {
|
|
|
+ path: '/live/index',
|
|
|
+ name: 'live_index',
|
|
|
+ meta: { title: '直播大厅', isleftarrow: true },
|
|
|
+ component: () => import('../views/live/index.vue'),
|
|
|
+ },
|
|
|
|
|
|
{
|
|
|
path: '/market/index',
|
|
@@ -19,43 +26,13 @@ const routes = [
|
|
|
meta: { title: '科技超市', isleftarrow: true },
|
|
|
component: () => import('../views/market/index.vue'),
|
|
|
},
|
|
|
-
|
|
|
- {
|
|
|
- path: '/market/prodDetail',
|
|
|
- name: 'market_prodDetail',
|
|
|
- meta: { title: '产品详情', isleftarrow: true },
|
|
|
- component: () => import('../views/market/prodDetail.vue'),
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- path: '/market/exportDetail',
|
|
|
- name: 'market_exportDetail',
|
|
|
- meta: { title: '专家详情', isleftarrow: true },
|
|
|
- component: () => import('../views/market/exportDetail.vue'),
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
- {
|
|
|
- path: '/market/detail',
|
|
|
- name: 'market_detail',
|
|
|
- meta: { title: '发布产品', isleftarrow: true },
|
|
|
- component: () => import('../views/market/detail.vue'),
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
- {
|
|
|
- path: '/user/index',
|
|
|
- name: 'user_index',
|
|
|
- meta: { title: '个人中心', isleftarrow: true },
|
|
|
- component: () => import('../views/user/index.vue'),
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- path: '/user/personal',
|
|
|
- name: 'user_personal',
|
|
|
- meta: { title: '个人信息维护', isleftarrow: true },
|
|
|
- component: () => import('../views/user/personal.vue'),
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
];
|
|
|
|
|
|
const router = new VueRouter({
|