diff --git a/hwe/scss/nationGeneral.scss b/hwe/scss/nationGeneral.scss new file mode 100644 index 00000000..643047e0 --- /dev/null +++ b/hwe/scss/nationGeneral.scss @@ -0,0 +1,30 @@ +@import '@scss/common/bootstrap5.scss'; +@import "@scss/game_bg.scss"; +@import "@scss/util.scss"; + +#container{ + padding: 0; +} + +#app { + width: 100%; + overflow-x: hidden; +} + + +@include media-1000px { + #container { + width: 1000px; + margin: 0 auto; + position: relative; + } +} + +@include media-500px { + #container { + position: relative; + width: 500px; + margin: auto; + overflow-x: hidden; + } +} \ No newline at end of file diff --git a/hwe/ts/PageNationGeneral.vue b/hwe/ts/PageNationGeneral.vue new file mode 100644 index 00000000..065027ae --- /dev/null +++ b/hwe/ts/PageNationGeneral.vue @@ -0,0 +1,18 @@ + + + \ No newline at end of file diff --git a/hwe/ts/build_exports.json b/hwe/ts/build_exports.json index c3f57482..6f4fb652 100644 --- a/hwe/ts/build_exports.json +++ b/hwe/ts/build_exports.json @@ -28,6 +28,7 @@ "v_main": "v_main.ts", "v_nationStratFinan": "v_nationStratFinan.ts", "v_processing": "v_processing.ts", - "v_nationBetting": "v_nationBetting.ts" + "v_nationBetting": "v_nationBetting.ts", + "v_nationGeneral": "v_nationGeneral.ts" } } \ No newline at end of file diff --git a/hwe/ts/v_nationGeneral.ts b/hwe/ts/v_nationGeneral.ts new file mode 100644 index 00000000..3364dad0 --- /dev/null +++ b/hwe/ts/v_nationGeneral.ts @@ -0,0 +1,12 @@ +import "@scss/nationGeneral.scss"; + +import { createApp } from 'vue' +import PageNationGeneral from '@/PageNationGeneral.vue'; +import { BootstrapVue3, BToastPlugin } from 'bootstrap-vue-3'; +import { auto500px } from './util/auto500px'; + + + + +auto500px(); +createApp(PageNationGeneral).use(BootstrapVue3).use(BToastPlugin).mount('#app'); \ No newline at end of file diff --git a/hwe/v_nationGeneral.php b/hwe/v_nationGeneral.php new file mode 100644 index 00000000..1bc2f726 --- /dev/null +++ b/hwe/v_nationGeneral.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