diff --git a/index.html b/index.html index 6387420..a8170d8 100644 --- a/index.html +++ b/index.html @@ -6,24 +6,24 @@ - gfast + 桃源记管理后台
diff --git a/public/favicon.ico b/public/favicon.ico index 84d3760..130d94b 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicon1.ico b/public/favicon1.ico new file mode 100644 index 0000000..84d3760 Binary files /dev/null and b/public/favicon1.ico differ diff --git a/src/api/game/index.ts b/src/api/game/index.ts new file mode 100644 index 0000000..0cdba09 --- /dev/null +++ b/src/api/game/index.ts @@ -0,0 +1,70 @@ +import request from '/@/utils/request'; + +/** + * 登录api接口集合 + * @method signIn 用户登录 + */ +export function gameRoleList(params: object){ + return request({ + url: '/api/v1/game/basicinfo/rolelist', + method: 'get', + params: params, + }); +} + +export function gameMailList(params: object){ + return request({ + url: '/api/v1/game/mail/list', + method: 'get', + params: params, + }); +} + +export function gameMailSend(params: object){ + return request({ + url: '/api/v1/game/mail/send', + method: 'post', + params: params, + }); +} + +export function gameOrderList(params: object){ + return request({ + url: '/api/v1/game/order/list', + method: 'get', + params: params, + }); +} + +export function gameOnlineList(params: object){ + return request({ + url: '/api/v1/game/basicinfo/online', + method: 'get', + params: params, + }); +} + +export function gameAccountList(params: object){ + return request({ + url: '/api/v1/game/basicinfo/account', + method: 'get', + params: params, + }); +} + +export function gameAddCoin(params: object){ + return request({ + url: '/api/v1/game/order/addcoin', + method: 'post', + params: params, + }); +} + +export function gameDeposit(params: object){ + return request({ + url: '/api/v1/game/order/deposit', + method: 'post', + params: params, + }); +} + diff --git a/src/assets/logo-mini.ico b/src/assets/logo-mini.ico new file mode 100644 index 0000000..130d94b Binary files /dev/null and b/src/assets/logo-mini.ico differ diff --git a/src/assets/logo-mini.svg b/src/assets/logo-mini1.svg similarity index 100% rename from src/assets/logo-mini.svg rename to src/assets/logo-mini1.svg diff --git a/src/layout/logo/index.vue b/src/layout/logo/index.vue index b31d12a..f95961d 100644 --- a/src/layout/logo/index.vue +++ b/src/layout/logo/index.vue @@ -12,7 +12,7 @@ import { computed, defineComponent } from 'vue'; import { useStore } from '/@/store/index'; -import logoMini from '/@/assets/logo-mini.svg'; +import logoMini from '/@/assets/logo-mini.ico'; export default defineComponent({ name: 'layoutLogo', diff --git a/src/router/backEnd.ts b/src/router/backEnd.ts index a99100d..208f53e 100644 --- a/src/router/backEnd.ts +++ b/src/router/backEnd.ts @@ -43,7 +43,7 @@ export async function initBackEndControlRoutes() { // 存储接口原始路由(未处理component),根据需求选择使用 store.dispatch('requestOldRoutes/setBackEndControlRoutes', JSON.parse(JSON.stringify(menuRoute))); // 处理路由(component),替换 dynamicRoutes(/@/router/route)第一个顶级 children 的路由 - dynamicRoutes[0].children?.push(...await backEndComponent(menuRoute),...demoRoutes) ; + dynamicRoutes[0].children?.push(...await backEndComponent(menuRoute)) ; // 添加动态路由 await setAddRoute(); // 设置递归过滤有权限的路由到 vuex routesList 中(已处理成多级嵌套路由)及缓存多级嵌套数组处理后的一维数组 diff --git a/src/utils/game.ts b/src/utils/game.ts new file mode 100644 index 0000000..5eece4d --- /dev/null +++ b/src/utils/game.ts @@ -0,0 +1,122 @@ + +export const ServerList = [ + { + value: '1', + label: '一区:桃花源记', + }, + { + value: '2', + label: '二区:世外桃源', + }, + { + value: '3', + label: '三区:陶渊明', + }, + { + value: '4', + label: '四区:桃花谷', + }, + { + value: '5', + label: '五区:归园田居', + }, + { + value: '6', + label: '六区:渔舟唱晚', + }, + { + value: '7', + label: '七区:乱世佳谷', + }, + { + value: '8', + label: '八区:一曲山溪', + }, + { + value: '9', + label: '九区:百里桃园', + }, + { + value: '10', + label: '十区:避乱之地', + }, + { + value: '11', + label: '十一区:桃花源记', + }, + { + value: '12', + label: '十二区:先遣服', + }, + { + value: '13', + label: '十三区:武陵人', + }, + { + value: '14', + label: '十四区:桃谷沃野', + }, + { + value: '15', + label: '十五区:桃源春色', + }, + { + value: '16', + label: '十六区:桃源先遣服', + }, +] + +export const ChannelList=[ + { + value: '26337', + label: '淘金互动', + }, + { + value: '2258', + label: '好游快爆', + }, + { + value: '24', + label: '华为', + }, + { + value: '23', + label: 'oppo', + }, + { + value: '15', + label: '小米', + }, + { + value: '17', + label: 'VIVO', + }, + { + value: '27', + label: '4399盒子', + }, + { + value: '9', + label: '九游', + }, + { + value: '114', + label: 'B站', + }, + { + value: '1319', + label: '233平台', + }, + { + value: '1003', + label: '雷电模拟器', + }, + { + value: '26404', + label: '淘金互动-先行服', + }, + { + value: '26396', + label: 'B站先遣服', + }, +] diff --git a/src/views/gameMail/mailList/component/editRole.vue b/src/views/gameMail/mailList/component/editRole.vue new file mode 100644 index 0000000..0048f0f --- /dev/null +++ b/src/views/gameMail/mailList/component/editRole.vue @@ -0,0 +1,264 @@ + + + + + diff --git a/src/views/gameMail/mailList/index.vue b/src/views/gameMail/mailList/index.vue new file mode 100644 index 0000000..b048f23 --- /dev/null +++ b/src/views/gameMail/mailList/index.vue @@ -0,0 +1,198 @@ + + + diff --git a/src/views/gameMail/send/index.vue b/src/views/gameMail/send/index.vue new file mode 100644 index 0000000..793c820 --- /dev/null +++ b/src/views/gameMail/send/index.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/src/views/gameManage/gm/index.vue b/src/views/gameManage/gm/index.vue new file mode 100644 index 0000000..33550ab --- /dev/null +++ b/src/views/gameManage/gm/index.vue @@ -0,0 +1,177 @@ + + + diff --git a/src/views/gameManage/resetpwd/index.vue b/src/views/gameManage/resetpwd/index.vue new file mode 100644 index 0000000..6a9aa84 --- /dev/null +++ b/src/views/gameManage/resetpwd/index.vue @@ -0,0 +1,148 @@ + + + diff --git a/src/views/gameOrder/count/index.vue b/src/views/gameOrder/count/index.vue new file mode 100644 index 0000000..e067564 --- /dev/null +++ b/src/views/gameOrder/count/index.vue @@ -0,0 +1,157 @@ + + + diff --git a/src/views/gameOrder/deposit/index.vue b/src/views/gameOrder/deposit/index.vue new file mode 100644 index 0000000..fd7827a --- /dev/null +++ b/src/views/gameOrder/deposit/index.vue @@ -0,0 +1,177 @@ + + + diff --git a/src/views/gameOrder/orderList/index.vue b/src/views/gameOrder/orderList/index.vue new file mode 100644 index 0000000..0ef23be --- /dev/null +++ b/src/views/gameOrder/orderList/index.vue @@ -0,0 +1,210 @@ + + + diff --git a/src/views/gameRole/account/index.vue b/src/views/gameRole/account/index.vue new file mode 100644 index 0000000..7c03a2e --- /dev/null +++ b/src/views/gameRole/account/index.vue @@ -0,0 +1,138 @@ + + + diff --git a/src/views/gameRole/online/index.vue b/src/views/gameRole/online/index.vue new file mode 100644 index 0000000..a107ed7 --- /dev/null +++ b/src/views/gameRole/online/index.vue @@ -0,0 +1,123 @@ + + + diff --git a/src/views/gameRole/role/component/editRole.vue b/src/views/gameRole/role/component/editRole.vue new file mode 100644 index 0000000..0048f0f --- /dev/null +++ b/src/views/gameRole/role/component/editRole.vue @@ -0,0 +1,264 @@ + + + + + diff --git a/src/views/login/index.vue b/src/views/login/index.vue index f04cf5d..27ae310 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -44,7 +44,7 @@ import Account from '/@/views/login/component/account.vue'; import Mobile from '/@/views/login/component/mobile.vue'; import Scan from '/@/views/login/component/scan.vue'; import { useStore } from '/@/store/index'; -import logoMini from '/@/assets/logo-mini.svg'; +import logoMini from '/@/assets/logo-mini.ico'; // 定义接口来定义对象的类型 interface LoginState { diff --git a/src/views/make/svgDemo/index.vue b/src/views/make/svgDemo/index.vue index 43ebb84..8b1da6c 100644 --- a/src/views/make/svgDemo/index.vue +++ b/src/views/make/svgDemo/index.vue @@ -21,7 +21,7 @@