diff --git a/src/router/modules/games.js b/src/router/modules/games.js index 3f82cdb..3245123 100644 --- a/src/router/modules/games.js +++ b/src/router/modules/games.js @@ -42,12 +42,6 @@ const gamesRouter = { name: 'GameAdArea', meta: {title: '广告区域管理'}, }, - { - path: 'gift', - component: () => import('@/views/games/gift'), // Parent router-view - name: 'GameGift', - meta: {title: '兑换物品管理'}, - }, { path: 'details/:uid?', @@ -162,10 +156,16 @@ const gamesRouter = { meta: {title: '道具'}, }, { - path: 'gift', - component: () => import('@/views/games/details/gift'), + path: 'gift/cfg', + component: () => import('@/views/games/details/gift/cfg'), name: 'GameDetailsGift', - meta: {title: '兑换'}, + meta: {title: '配置'}, + }, + { + path: 'gift/store', + component: () => import('@/views/games/details/gift/store'), + name: 'GameDetailsGift', + meta: {title: '仓库'}, }, { path: 'order', diff --git a/src/views/games/details/gift.vue b/src/views/games/details/gift/cfg.vue similarity index 100% rename from src/views/games/details/gift.vue rename to src/views/games/details/gift/cfg.vue diff --git a/src/views/games/gift.vue b/src/views/games/details/gift/store.vue similarity index 84% rename from src/views/games/gift.vue rename to src/views/games/details/gift/store.vue index b7993a4..c7c9b82 100644 --- a/src/views/games/gift.vue +++ b/src/views/games/details/gift/store.vue @@ -1,10 +1,10 @@ @@ -71,7 +71,7 @@ :formatter="formUsed" /> @@ -105,16 +105,20 @@ - + - + 多个兑换券使用','分隔 - + - + 确 定 @@ -247,6 +257,7 @@