| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- // ********************************************************************************************************************
- // 后台管理主页
- const Background = () => import('views/admin/Background')
- // ********************************************************************************************************************
- // 用户后台主页
- const MyContact = () => import('views/my/MyContact')
- const MyRcmd = () => import('views/my/MyRcmd')
- const MyMessage = () => import('views/my/MyMessage')
- const MyVip = () => import('views/my/MyVip')
- const MyWallet = () => import('views/my/MyWallet')
- const MyDevice = () => import('views/my/MyDevice')
- // ********************************************************************************************************************
- // 稿件后台主页
- const History = () => import('views/post/History')
- const AlbumPost = () => import('views/post/AlbumPost')
- export default {
- path: '/bg/my',
- redirect: '/bg',
- name: 'My',
- title: '我的数据',
- icon: 'el-icon-user',
- component: Background,
- meta: { needAuth: true, roles: ['tnb_user'] },
- children: [
- {
- path: '/bg/my/album',
- name: 'AlbumPost',
- title: '收藏夹',
- icon: 'el-icon-user',
- component: AlbumPost,
- meta: { needAuth: true, roles: ['tnb_user'] }
- },
- {
- path: '/bg/my/history',
- name: 'History',
- title: '历史记录',
- icon: 'el-icon-user',
- component: History,
- meta: { needAuth: true, roles: ['tnb_user'] }
- },
- {
- path: '/bg/my/vip',
- name: 'MyVip',
- title: '我的会员',
- icon: 'el-icon-user',
- component: MyVip,
- meta: { needAuth: true, roles: ['tnb_user'] }
- },
- {
- path: '/bg/my/wallet',
- name: 'MyWallet',
- title: '我的钱包',
- icon: 'el-icon-user',
- component: MyWallet,
- meta: { needAuth: true, roles: ['tnb_user'] }
- },
- {
- path: '/bg/my/message',
- name: 'MyMessage',
- title: '我的消息',
- icon: 'el-icon-user',
- component: MyMessage,
- meta: { needAuth: true, roles: ['tnb_user'] }
- },
- {
- path: '/bg/my/rcmd',
- name: 'Rcmd',
- title: '推荐设置',
- icon: 'el-icon-user',
- component: MyRcmd,
- meta: { needAuth: true, roles: ['tnb_user'] }
- },
- {
- path: '/bg/my/contact',
- name: 'MyContact',
- title: '联系人',
- icon: 'el-icon-user',
- component: MyContact,
- meta: { needAuth: true, roles: ['tnb_user'] }
- },
- {
- path: '/bg/my/device',
- name: 'MyDevice',
- title: '我的设备',
- icon: 'el-icon-user',
- component: MyDevice,
- meta: { needAuth: true, roles: ['tnb_user'] }
- }
- ]
- }
|