我们发布啦
This commit is contained in:
134
admin/src/router/modules/marketing.js
Normal file
134
admin/src/router/modules/marketing.js
Normal file
@@ -0,0 +1,134 @@
|
||||
/** When your routing table is too long, you can split it into small modules **/
|
||||
|
||||
import Layout from '@/layout'
|
||||
|
||||
const marketingRouter = {
|
||||
path: '/marketing',
|
||||
component: Layout,
|
||||
redirect: '/marketing/coupon/list',
|
||||
name: 'Marketing',
|
||||
meta: {
|
||||
title: '营销',
|
||||
icon: 'clipboard'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'coupon',
|
||||
component: () => import('@/views/marketing/coupon/index'),
|
||||
name: 'Coupon',
|
||||
meta: { title: '优惠券', icon: '' },
|
||||
children: [
|
||||
{
|
||||
path: 'template',
|
||||
component: () => import('@/views/marketing/coupon/couponTemplate/index'),
|
||||
name: 'couponTemplate',
|
||||
hidden: true,
|
||||
meta: { title: '优惠券模板', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'list/save/:id?',
|
||||
name: 'couponAdd',
|
||||
meta: {
|
||||
title: '优惠劵添加',
|
||||
noCache: true,
|
||||
activeMenu: `/marketing/coupon/list`
|
||||
},
|
||||
hidden: true,
|
||||
component: () => import('@/views/marketing/coupon/list/creatCoupon')
|
||||
},
|
||||
{
|
||||
path: 'list',
|
||||
component: () => import('@/views/marketing/coupon/list/index'),
|
||||
name: 'List',
|
||||
meta: { title: '优惠券列表', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'record',
|
||||
component: () => import('@/views/marketing/coupon/record/index'),
|
||||
name: 'Record',
|
||||
meta: { title: '会员领取记录', icon: '' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'bargain',
|
||||
component: () => import('@/views/marketing/bargain/index'),
|
||||
name: 'Bargain',
|
||||
meta: { title: '砍价管理', icon: '' },
|
||||
alwaysShow: true,
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'bargainGoods',
|
||||
component: () => import('@/views/marketing/bargain/index'),
|
||||
name: 'bargainGoods',
|
||||
meta: { title: '砍价商品', icon: '' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'groupBuy',
|
||||
component: () => import('@/views/marketing/groupBuy/index'),
|
||||
name: 'groupBuy',
|
||||
meta: { title: '拼团管理', icon: '' },
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'groupGoods',
|
||||
component: () => import('@/views/marketing/groupBuy/goods/index'),
|
||||
name: 'groupGoods',
|
||||
meta: { title: '拼团商品', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'groupList',
|
||||
component: () => import('@/views/marketing/groupBuy/list/list'),
|
||||
name: 'groupList',
|
||||
meta: { title: '拼团列表', icon: '' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'spike',
|
||||
component: () => import('@/views/marketing/spike/index'),
|
||||
name: 'Spike',
|
||||
meta: { title: '秒杀管理', icon: '' },
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'spikeconfig',
|
||||
component: () => import('@/views/marketing/spike/config/index'),
|
||||
name: 'spikeConfig',
|
||||
meta: { title: '秒杀配置', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'bargainList',
|
||||
component: () => import('@/views/marketing/spike/googs/index'),
|
||||
name: 'bargainList',
|
||||
meta: { title: '秒杀商品', icon: '' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'integral',
|
||||
component: () => import('@/views/marketing/integral/index'),
|
||||
name: 'Integral',
|
||||
meta: { title: '积分', icon: '' },
|
||||
children: [
|
||||
{
|
||||
path: 'integralconfig',
|
||||
component: () => import('@/views/marketing/integral/config/index'),
|
||||
name: 'integralConfig',
|
||||
meta: { title: '积分配置', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'integrallog',
|
||||
component: () => import('@/views/marketing/integral/log/index'),
|
||||
name: 'integralLog',
|
||||
meta: { title: '积分日志', icon: '' }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export default marketingRouter
|
||||
Reference in New Issue
Block a user