From e55e73ab6f6ac46994d827ae4be1c55350d8da89 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 17 Jul 2022 00:41:22 +0900 Subject: [PATCH] init --- hwe/ts/PageTroop.vue | 12 ++++++++++++ hwe/ts/build_exports.json | 1 + hwe/ts/v_troop.ts | 15 +++++++++++++++ hwe/v_troop.php | 40 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 hwe/ts/PageTroop.vue create mode 100644 hwe/ts/v_troop.ts create mode 100644 hwe/v_troop.php diff --git a/hwe/ts/PageTroop.vue b/hwe/ts/PageTroop.vue new file mode 100644 index 00000000..81dd2d50 --- /dev/null +++ b/hwe/ts/PageTroop.vue @@ -0,0 +1,12 @@ + + + diff --git a/hwe/ts/build_exports.json b/hwe/ts/build_exports.json index 51550860..4f253b09 100644 --- a/hwe/ts/build_exports.json +++ b/hwe/ts/build_exports.json @@ -37,6 +37,7 @@ "v_nationBetting": "v_nationBetting.ts", "v_nationGeneral": "v_nationGeneral.ts", "v_globalDiplomacy": "v_globalDiplomacy", + "v_troop": "v_troop.ts", "v_vote": "v_vote.ts" } } \ No newline at end of file diff --git a/hwe/ts/v_troop.ts b/hwe/ts/v_troop.ts new file mode 100644 index 00000000..45e11217 --- /dev/null +++ b/hwe/ts/v_troop.ts @@ -0,0 +1,15 @@ +import "@scss/troop.scss"; + +import { createApp } from 'vue' +import PageTroop from '@/PageTroop.vue'; +import { BootstrapVue3, BToastPlugin } from 'bootstrap-vue-3' +import { auto500px } from "./util/auto500px"; +import { htmlReady } from "./util/htmlReady"; +import { insertCustomCSS } from "./util/customCSS"; + +auto500px(); + +htmlReady(() => { + insertCustomCSS(); +}); +createApp(PageTroop).use(BootstrapVue3).use(BToastPlugin).mount('#app') \ No newline at end of file diff --git a/hwe/v_troop.php b/hwe/v_troop.php new file mode 100644 index 00000000..6923ed9a --- /dev/null +++ b/hwe/v_troop.php @@ -0,0 +1,40 @@ +setReadOnly(); +$userID = Session::getUserID(); + +$db = DB::db(); +$gameStor = KVStorage::getStorage($db, 'game_env'); + +?> + + + + + + + + <?= UniqueConst::$serverName ?>: 부대 편성 + [ + 'serverNick' => DB::prefix(), + 'mapName' => GameConst::$mapName, + 'unitSet' => GameConst::$unitSet, + ] + ], false) ?> + + + + + + + +
+ + + \ No newline at end of file