|
|
@ -8,16 +8,18 @@ import HomeView from '../views/HomeView.vue'; |
|
|
|
Vue.use(VueRouter) |
|
|
|
// 侧边导航黑名单
|
|
|
|
const blackSliderList = [ |
|
|
|
'/register' |
|
|
|
'/register','/franchise' |
|
|
|
]; |
|
|
|
// 一级路由
|
|
|
|
const first_child_router = [ |
|
|
|
'/', '/agent/siteList', '/ui' |
|
|
|
] |
|
|
|
//头部导航黑名单 不需要添加头部的放置在这里,其余默认显示头部
|
|
|
|
const blackHeaderList = []; |
|
|
|
const blackHeaderList = [ |
|
|
|
'/franchise' |
|
|
|
]; |
|
|
|
const blackFooterList = [ |
|
|
|
'/' |
|
|
|
'/','/franchise' |
|
|
|
]; |
|
|
|
// const whiteSlideList = ['/', '/ui',
|
|
|
|
// '/agent/siteList',
|
|
|
@ -100,7 +102,10 @@ const routes = [{ |
|
|
|
{ |
|
|
|
path: '/franchise', |
|
|
|
name: '加盟', |
|
|
|
component: () => import( /* webpackChunkName: "franchise" */ '../views/Franchise.vue') |
|
|
|
component: () => import( /* webpackChunkName: "franchise" */ '../views/Franchise.vue'), |
|
|
|
meta: { |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/configureServicePrices', |
|
|
@ -155,8 +160,6 @@ const routes = [{ |
|
|
|
showDateSelect: false |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
|
|
|
@ -172,8 +175,6 @@ const routes = [{ |
|
|
|
showDateSelect: true |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -187,8 +188,6 @@ const routes = [{ |
|
|
|
type: 'check_type' |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -202,8 +201,6 @@ const routes = [{ |
|
|
|
type: 'check_type' |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -217,8 +214,6 @@ const routes = [{ |
|
|
|
type: 'check_type' |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -232,8 +227,6 @@ const routes = [{ |
|
|
|
type: 'loss' |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -247,8 +240,6 @@ const routes = [{ |
|
|
|
type: 'agent' |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -262,8 +253,6 @@ const routes = [{ |
|
|
|
type: 'agent' |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -277,8 +266,6 @@ const routes = [{ |
|
|
|
showDateSelect: false |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -291,8 +278,6 @@ const routes = [{ |
|
|
|
type: 'purchase' |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -305,8 +290,6 @@ const routes = [{ |
|
|
|
type: 'stagePurchase' |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -321,8 +304,6 @@ const routes = [{ |
|
|
|
lookMore: false |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -336,8 +317,6 @@ const routes = [{ |
|
|
|
lookMore: false |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
@ -351,8 +330,6 @@ const routes = [{ |
|
|
|
showDateSelect: false |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
title: '站点列表', |
|
|
|
breadcrumbParent: '首页', |
|
|
|
hideBreadcrumb: true // 一级页面不显示面包屑
|
|
|
|
} |
|
|
|
}, |
|
|
|