feat: Vue3로 새롭게 작성한 메인 페이지 #229

Merged
Hide_D merged 61 commits from ng_main into devel 2023-03-09 02:25:31 +09:00
3 changed files with 10 additions and 2 deletions
Showing only changes of commit 9a447b0254 - Show all commits
+4 -1
View File
@@ -70,7 +70,9 @@
@city-click="onCityClick"
/>
</div>
<div class="reservedCommandZone">예턴</div>
<div class="reservedCommandZone">
<PartialReservedCommand />
</div>
<div v-if="frontInfo" class="cityInfo">
<CityBasicCard :city="frontInfo.city" />
</div>
@@ -163,6 +165,7 @@ import type { MapResult, NationStaticItem } from "./defs";
import { formatTime } from "./util/formatTime";
import { calcTournamentTerm } from "./utilGame";
import MapViewer, { type CityPositionMap, type MapCityParsed, type MapCityParsedRaw } from "./components/MapViewer.vue";
import PartialReservedCommand from "./PartialReservedCommand.vue";
const { serverName, serverNick, serverID } = staticValues;
+2 -1
View File
@@ -4,9 +4,10 @@ import { auto500px } from './util/auto500px';
import { htmlReady } from './util/htmlReady';
import { insertCustomCSS } from './util/customCSS';
import PageFront from './PageFront.vue';
import Multiselect from 'vue-multiselect';
auto500px();
htmlReady(() => {
insertCustomCSS();
});
createApp(PageFront).use(BootstrapVue3).use(BToastPlugin).mount('#app');
createApp(PageFront).use(BootstrapVue3).use(BToastPlugin).component('v-multiselect', Multiselect).mount('#app');
+4
View File
@@ -36,6 +36,10 @@ $mapName = GameConst::$mapName;
'serverID' => UniqueConst::$serverID,
'mapName' => GameConst::$mapName,
'unitSet' => GameConst::$unitSet,
'maxTurn' => GameConst::$maxTurn,
'maxPushTurn' => 12,
'serverNow' => TimeUtil::now(false),
]
], false) ?>
<?= WebUtil::printJS('../d_shared/common_path.js') ?>