feat: 새 메인페이지에 턴 입력기(wip)
This commit is contained in:
@@ -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
@@ -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');
|
||||
|
||||
@@ -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') ?>
|
||||
|
||||
Reference in New Issue
Block a user