// ******************************************************************************************************************** // 后台管理主页 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'] } } ] }