xlb-main-login
Version:
``` yarn install ```
267 lines (265 loc) • 8.36 kB
JavaScript
import Basic from '@/layouts/Basic'
import Panel from '@/layouts/components/Panel'
export default {
path: '/conversion',
name: 'conversion',
redirect: '/conversion/setting',
component: Basic,
meta: {
title: '客户转化',
},
children: [
{
path: '/conversion/setting',
component: Panel,
name: 'conversion-setting',
redirect: '/conversion/setting/shopsetlist',
meta: {
title: '店铺设置',
icon: require('@/common/static/images/dianpushezhired.svg'),
unIcon: require('@/common/static/images/dianpushezhigray.svg'),
},
children: [
{
path: '/conversion/setting/shopsetlist',
name: 'operation-setting-shopsetlist',
component: () => import('@/components/wechat/shopsetlist'),
meta: {
title: '店铺设置',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/setting/wechatshopsetdetail',
name: 'operation-setting-wechatshopsetdetail',
hidden: true,
component: () => import('@/components/wechat/wechatshopsetdetail'),
meta: {
title: '设置店铺',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/setting/addadvertising',
name: 'conversion-setting-addadvertising',
hidden: true,
component: () => import('@/components/addadvertising/addadvertising'),
meta: {
title: '新增广告位',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/setting/wechatadvertising',
name: 'conversion-setting-wechatadvertising',
component: () => import('@/components/advertising/advertising'),
meta: {
title: '店铺广告位',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/conversion/goods',
component: Panel,
name: 'conversion-goods',
redirect: '/conversion/goods/wechatmanagement',
meta: {
title: '商品裂变',
icon: require('@/common/static/images/shangpingliebianred.svg'),
unIcon: require('@/common/static/images/shagnpingliebiangray.svg'),
},
children: [
{
path: '/conversion/goods/wechatmanagement',
name: 'conversion-goods-wechatmanagement',
component: () => import('@/components/management/management'),
meta: {
title: '商品分销',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/goods/verification',
name: 'conversion-goods-verification',
hidden: true,
component: () => import('@/components/verification/verification'),
meta: {
title: '新增商品',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/goods/channel',
name: 'conversion-goods-channel',
hidden: true,
component: () => import('@/components/channel/channel'),
meta: {
title: '商品推广',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/goods/shopdetails',
name: 'conversion-goods-shopdetails',
hidden: true,
component: () => import('@/components/shopdetails/shopdetails'),
meta: {
title: '商品数据分析',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/goods/wechatdumpling',
name: 'conversion-goods-wechatdumpling',
component: () => import('@/components/dumpling/dumpling'),
meta: {
title: '多人拼团',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/goods/group',
name: 'conversion-goods-group',
hidden: true,
component: () => import('@/components/group/group'),
meta: {
title: '新增多人拼团',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/goods/metaUnlock',
name: 'conversion-goods-metaUnlock',
component: () => import('@/components/metaUnlockShop/metaUnlock'),
meta: {
title: '0元解锁',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/goods/metaUnlockDetail',
name: 'conversion-goods-metaUnlockDetail',
hidden: true,
component: () => import('@/components/metaUnlockShop/metaUnlockDetail'),
meta: {
title: '新增0元解锁',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/conversion/mass',
component: Panel,
name: 'conversion-mass',
redirect: '/conversion/mass/wechatindent',
meta: {
title: '订单管理',
icon: require('@/common/static/images/dingdanguanlired.svg'),
unIcon: require('@/common/static/images/dingdanguanligray.svg'),
},
children: [
{
path: '/conversion/mass/wechatindent',
name: 'conversion-mass-wechatindent',
component: () => import('@/components/indent/indent'),
meta: {
title: '订单管理',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/mass/wechatmarket',
name: 'operation-mass-wechatmarket',
component: () => import('@/components/market/market'),
meta: {
title: '核销员管理',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/mass/wechatapprovedMemo',
name: 'operation-mass-wechatapprovedMemo',
component: () => import('@/components/approvedMemo/approvedMemo'),
meta: {
title: '核销记录',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/conversion/analysis',
component: Panel,
name: 'conversion-analysis',
redirect: '/conversion/analysis/wechatdeposit',
meta: {
title: '数据分析',
icon: require('@/common/static/images/shujufenxired.svg'),
unIcon: require('@/common/static/images/shujufenxigray.svg'),
},
children: [
{
path: '/conversion/analysis/wechatdeposit',
name: 'conversion-analysis-wechatdeposit',
component: () => import('@/components/deposit/deposit'),
meta: {
title: '提现记录',
enable: false,
routeEnable: false,
},
},
{
path: '/conversion/analysis/wechatshopanalyze',
name: 'conversion-analysis-wechatshopanalyze',
component: () => import('@/components/shopanalyze/shopanalyze'),
meta: {
title: '商品分析',
enable: false,
routeEnable: false,
},
},
],
},
{
path: '/conversion/manual',
name: 'conversion-manual',
redirect: '/conversion/manual/manual',
component: Panel,
meta: {
title: '使用手册',
icon: require('@/common/static/images/schoolgray.svg'),
unIcon: require('@/common/static/images/schoolgray.svg'),
},
children: [
{
path: '/conversion/manual/manual',
name: 'conversion-manual-manual',
component: () => import('@/components/wechat/manual'),
meta: {
title: '使用手册',
enable: true,
routeEnable: false,
},
},
],
},
],
}