增加店铺设置相关菜单
This commit is contained in:
parent
8adc27958d
commit
1fc03f730b
@ -72,6 +72,8 @@ export default {
|
|||||||
marketing_points: 'Points Setting',
|
marketing_points: 'Points Setting',
|
||||||
question: 'Question Set',
|
question: 'Question Set',
|
||||||
question_list: 'Question List',
|
question_list: 'Question List',
|
||||||
|
shop: 'Shop Setting',
|
||||||
|
game_setting: 'Game Setting'
|
||||||
},
|
},
|
||||||
navbar: {
|
navbar: {
|
||||||
logOut: 'Log Out',
|
logOut: 'Log Out',
|
||||||
|
@ -72,6 +72,8 @@ export default {
|
|||||||
marketing_points: '积分设置',
|
marketing_points: '积分设置',
|
||||||
question: '题库管理',
|
question: '题库管理',
|
||||||
question_list: '列表',
|
question_list: '列表',
|
||||||
|
shop: '店铺设置',
|
||||||
|
game_setting: '游戏设置'
|
||||||
},
|
},
|
||||||
navbar: {
|
navbar: {
|
||||||
logOut: '退出登录',
|
logOut: '退出登录',
|
||||||
|
@ -10,6 +10,7 @@ import systemRoutes from '@/router/modules/system'
|
|||||||
import articleRouters from '@/router/modules/article'
|
import articleRouters from '@/router/modules/article'
|
||||||
import marketingRoutes from '@/router/modules/marketing'
|
import marketingRoutes from '@/router/modules/marketing'
|
||||||
import questionRoutes from '@/router/modules/question'
|
import questionRoutes from '@/router/modules/question'
|
||||||
|
import shopRoutes from '@/router/modules/shop'
|
||||||
|
|
||||||
Vue.use(VueRouter)
|
Vue.use(VueRouter)
|
||||||
|
|
||||||
@ -117,6 +118,7 @@ export const constantRoutes: RouteConfig[] = [
|
|||||||
*/
|
*/
|
||||||
export const asyncRoutes: RouteConfig[] = [
|
export const asyncRoutes: RouteConfig[] = [
|
||||||
systemRoutes,
|
systemRoutes,
|
||||||
|
shopRoutes,
|
||||||
articleRouters,
|
articleRouters,
|
||||||
marketingRoutes,
|
marketingRoutes,
|
||||||
questionRoutes,
|
questionRoutes,
|
||||||
|
26
src/router/modules/shop.ts
Normal file
26
src/router/modules/shop.ts
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
import { RouteConfig } from 'vue-router'
|
||||||
|
import Layout from '@/layout/index.vue'
|
||||||
|
|
||||||
|
const shopRoutes: RouteConfig = {
|
||||||
|
path: '/shop',
|
||||||
|
component: Layout,
|
||||||
|
meta: {
|
||||||
|
title: 'shop',
|
||||||
|
icon: 'component',
|
||||||
|
alwaysShow: true
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'setting',
|
||||||
|
component: () => import('@/views/shop/game_setting.vue'),
|
||||||
|
name: 'ShopSetting',
|
||||||
|
meta: {
|
||||||
|
title: 'game_setting',
|
||||||
|
permissions: ['question:read'],
|
||||||
|
elicon: 'el-icon-arrow-right'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
export default shopRoutes
|
0
src/views/shop/game_setting.vue
Normal file
0
src/views/shop/game_setting.vue
Normal file
Loading…
x
Reference in New Issue
Block a user