123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475 |
- export default [
- {
- path: '/',
- component: '../layouts/BlankLayout',
- routes: [
- {
- path: '/',
- component: './Website',
- },
- {
- path: '/website',
- component: './Website/layout',
- routes: [
- {
- name: 'websiteauth',
- path: '/website/auth/:id',
- component: './Website/auth',
- hidden: true,
- },
- {
- name: 'websitehome',
- path: '/website',
- component: './Website/Home',
- },
- {
- name: 'websitearea',
- path: '/website/cate/:gid',
- component: './Website/Area',
- },
- {
- name: 'websiteareacategory',
- path: '/website/categroup',
- component: './Website/AreaFull',
- },
- {
- name: 'websitealbum',
- path: '/website/album',
- component: './Website/Album',
- },
- {
- name: 'websitestyle',
- path: '/website/style',
- component: './Website/Style',
- },
- {
- name: 'websitelist',
- path: '/website/list/:gid/:showid?',
- component: './Website/List',
- },
- {
- name: 'websitedisplaylist',
- path: '/website/display',
- component: './Website/DisplayList',
- },
- {
- name: 'websitesearch',
- path: '/website/search',
- component: './Website/Search',
- },
- {
- name: 'websitecustom',
- path: '/website/showcase',
- component: './Website/Custom/layout',
- routes: [
- {
- name: 'websitecustom',
- path: '/website/showcase/:cate/:gid',
- component: './Website/Custom/makeObj',
- },
- ],
- },
- {
- name: 'websitecustom',
- path: '/website/wxshowcase',
- component: './Website/Custom/wxlayout',
- routes: [
- {
- name: 'websitecustom',
- path: '/website/wxshowcase/:cate/:gid/:goodid?/:inspireId?',
- share: 'wechat',
- component: './Website/Custom/wxmakeObj',
- },
- ],
- },
- {
- name: 'websitemcustom',
- path: '/website/showauth',
- component: './Website/Auth/ShowAuth',
- },
- {
- name: 'websitemcustom',
- path: '/website/mshowcase/:gid',
- component: './Website/Custom',
- from: 'manage',
- },
- {
- name: 'website2dcase',
- path: '/website/2DCase/:gid/:cate?/:goodid?/:inspireId?',
- component: './Website/2DCase',
- from: 'manage',
- },
- ],
- },
- {
- path: '/user',
- component: '../layouts/UserLayout',
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './User/login',
- },
- ],
- },
- {
- path: '/sign/:cid/:uid/:uuid?',
- component: './Sign',
- },
- {
- path: '/sign/demo',
- component: './Sign/demo',
- },
- {
- path: '/caa/:cid/:uid',
- component: './Sign',
- },
- {
- path: '/cov',
- component: '../layouts/CovLayout',
- routes: [
- {
- name: 'covproduct',
- path: '/cov/product/:cid/:uid',
- component: './SignProduct',
- },
- {
- name: 'covproductlist',
- path: '/cov/list/:cid',
- component: './SignProductList',
- },
- {
- name: 'covcart',
- path: '/cov/cart',
- component: './SignCart',
- },
- {
- name: 'covorder',
- path: '/cov/order/:gid',
- component: './SignOrder',
- },
- {
- path: '/cov/sign/:cid/:uid/:uuid?',
- component: './Sign',
- },
- ],
- },
- {
- path: '/admin',
- component: '../layouts/SecurityLayout',
- routes: [
- {
- path: '/admin',
- component: '../layouts/BasicLayout',
- authority: ['admin', 'user'],
- routes: [
- {
- path: '/admin',
- redirect: '/admin/welcome',
- },
- {
- path: '/admin/welcome',
- name: 'welcome',
- icon: 'smile',
- authority: ['Pages.Roles', 'Pages.Users'],
- component: './Welcome',
- },
- {
- path: '/admin/sys',
- name: 'sys',
- icon: 'smile',
- authority: ['Pages.Roles'],
- routes: [
- {
- path: '/admin/sys/users',
- name: 'users',
- icon: 'smile',
- authority: ['Pages.Users'],
- component: './User/Sys',
- },
- {
- path: '/admin/sys/roles',
- name: 'roles',
- icon: 'smile',
- authority: ['Pages.Roles'],
- component: './Roles',
- },
- ],
- },
- {
- path: '/admin/myconv',
- name: 'myself',
- icon: 'smile',
- authority: ['Pages.Users.Convention'],
- component: './User/Convetion',
- },
- {
- path: '/admin/convetion',
- name: 'convetion',
- icon: 'smile',
- authority: ['Pages.Convetion'],
- component: './Convetion',
- },
- {
- path: '/admin/product',
- name: 'product',
- icon: 'smile',
- authority: ['Pages.Product'],
- component: './Product',
- },
- {
- path: '/admin/order',
- name: 'order',
- icon: 'smile',
- authority: ['Pages.ConvetionOrder'],
- component: './ConvetionOrder',
- },
- {
- path: '/admin/tag',
- name: 'tag',
- icon: 'smile',
- authority: ['Pages.AlbumTagGroup'],
- component: './AlbumTag',
- },
- {
- path: '/admin/tagadv',
- name: 'tagadv',
- icon: 'smile',
- authority: ['Pages.AlbumTagGroup'],
- component: './AlbumTag',
- mode: 'adv',
- },
- {
- name: 'covotheme',
- path: '/admin/theme',
- icon: 'smile',
- authority: ['Pages.ConvetionTheme'],
- routes: [
- {
- name: 'list',
- path: '/admin/theme',
- icon: 'smile',
- authority: ['Pages.ConvetionTheme'],
- component: './ConvetionTheme',
- },
- {
- name: 'design',
- path: '/admin/theme/edit/:id',
- icon: 'smile',
- authority: ['Pages.ConvetionTheme.Edit'],
- component: './ConvetionTheme/designmodal',
- hideInMenu: true,
- },
- ],
- },
- {
- path: '/admin/log',
- name: 'syslog',
- icon: 'block',
- authority: ['Pages.UserExport', 'Pages.UserSms'],
- routes: [
- {
- path: '/admin/log/sms',
- name: 'sms',
- authority: ['Pages.UserSms'],
- component: './UserSms',
- },
- {
- path: '/admin/log/exports',
- name: 'exports',
- authority: ['Pages.UserExport'],
- component: './UserExport',
- },
- ],
- },
- {
- path: '/admin/album',
- name: 'album',
- icon: 'smile',
- authority: ['Pages.Roles'],
- routes: [
- {
- path: '/admin/album/manage',
- name: 'manage',
- icon: 'smile',
- authority: ['Pages.Roles'],
- component: './Album',
- },
- ],
- },
- {
- path: '/admin/wxuser',
- name: 'wxuser',
- icon: 'user',
- // authority: ['Pages.Users.WxUserCurrent', 'Pages.Users.WxUser'],
- authority: ['Pages.Users.WxUserCurrent'],
- routes: [
- {
- path: '/admin/wxuser/manage',
- name: 'manage',
- icon: 'user',
- authority: ['Pages.Users.WxUserCurrent'],
- component: './WxUser',
- },
- {
- path: '/admin/wxuser/current',
- name: 'current',
- icon: 'user',
- authority: ['Pages.Users.WxUserCurrent'],
- component: './WxUser/personal',
- },
- {
- path: '/admin/wxuser/black',
- name: 'black',
- icon: 'user',
- authority: ['Pages.Users.WxUserCurrent'],
- component: './WxUser/black',
- },
- ],
- },
- {
- path: '/admin/carousel',
- name: 'carousel',
- icon: 'user',
- authority: ['Pages.Carousel'],
- routes: [
- {
- path: '/admin/carousel/manage',
- name: 'manage',
- icon: 'user',
- authority: ['Pages.Carousel'],
- component: './Carousel',
- },
- ],
- },
- {
- path: '/admin/display',
- name: 'display',
- icon: 'user',
- authority: ['Pages.Display'],
- routes: [
- {
- path: '/admin/display/manage',
- name: 'manage',
- icon: 'user',
- authority: ['Pages.Display'],
- component: './Display',
- },
- ],
- },
- {
- path: '/admin/albumsettings',
- name: 'albumsettings',
- icon: 'user',
- authority: ['Pages.AlbumBorder', 'Pages.AlbumDecorator'],
- routes: [
- {
- path: '/admin/albumsettings/albumborder',
- name: 'manageborder',
- icon: 'user',
- authority: ['Pages.AlbumBorder'],
- component: './AlbumBorder',
- },
- {
- path: '/admin/albumsettings/albumdecorator',
- name: 'managedecorator',
- icon: 'user',
- authority: ['Pages.AlbumDecorator'],
- component: './AlbumDecorator',
- },
- ],
- },
- {
- path: '/admin/app/goodcategory',
- name: 'wxgoodcategory',
- icon: 'laptop',
- authority: ['Pages.WxGoodCategory'],
- component: './app/GoodCategory',
- },
- {
- path: '/admin/app/goodcategoryadv',
- name: 'wxgoodcategoryadv',
- icon: 'laptop',
- authority: ['Pages.WxGoodCategoryAdv'],
- component: './app/GoodCategoryAdv',
- },
- {
- path: '/admin/app/goodborder',
- name: 'wxgoodborders',
- icon: 'laptop',
- authority: ['Pages.WxGoodBorder'],
- component: './app/GoodBorder',
- },
- {
- path: '/admin/app/goods',
- name: 'wxgoods',
- icon: 'laptop',
- authority: ['Pages.WxGood'],
- component: './app/Goods',
- },
- {
- path: '/admin/app/goodorders',
- name: 'wxgoodorders',
- icon: 'laptop',
- authority: ['Pages.WxGoodOrder'],
- component: './app/GoodOrder',
- },
- {
- path: '/admin/app/myorders',
- name: 'mywxgoodorders',
- icon: 'laptop',
- authority: ['Pages.WxGoodOrder.PersonalQuery'],
- component: './app/GoodOrder',
- mode: 'personal',
- },
- {
- path: '/admin/app/actives',
- name: 'mywxactives',
- icon: 'laptop',
- authority: ['Pages.WxActive'],
- component: './app/Actives',
- },
- {
- path: '/admin/app/wxalbum',
- name: 'wxalbums',
- icon: 'laptop',
- authority: ['Pages.WxAlbumCate'],
- component: './app/AlbumCate',
- },
- {
- path: '/admin/app/wxarousel',
- name: 'wxarousels',
- icon: 'laptop',
- authority: ['Pages.WxCarousel'],
- component: './app/Carousel',
- },
- {
- path: '/admin/app/extra',
- name: 'wxhomeextra',
- icon: 'laptop',
- authority: ['Pages.WxHomeExtra'],
- component: './WxHomeExtra',
- },
- {
- path: '/admin/app/account',
- name: 'wxappaccount',
- icon: 'laptop',
- authority: ['Pages.Users.WxOpenUser'],
- component: './WxOpenUser',
- },
- {
- component: './404',
- },
- ],
- },
- {
- component: './404',
- },
- ],
- },
- ],
- },
- {
- component: './404',
- },
- ]
|