Merge branch 'g38_ui' into devel

This commit is contained in:
2021-12-23 03:17:38 +09:00
18 changed files with 42 additions and 23 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" /> <TopBackBar :title="commandName" />
<div class="bg0" v-if="!available건국"> 이상 건국은 불가능합니다.</div> <div class="bg0" v-if="!available건국"> 이상 건국은 불가능합니다.</div>
<div class="bg0" v-else> <div class="bg0" v-else>
<div>현재 도시에서 나라를 세웁니다. , 소도시에서만 가능합니다.</div> <div>현재 도시에서 나라를 세웁니다. , 소도시에서만 가능합니다.</div>
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" /> <TopBackBar :title="commandName" />
<div class="bg0"> <div class="bg0">
<div> <div>
자신의 군량을 사거나 팝니다.<br /> 자신의 군량을 사거나 팝니다.<br />
+1 -1
View File
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" v-model:searchable="searchable" /> <TopBackBar :title="commandName" v-model:searchable="searchable" />
<div class="bg0"> <div class="bg0">
<div> <div>
재야나 타국의 장수를 등용합니다.<br /> 재야나 타국의 장수를 등용합니다.<br />
+1 -1
View File
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" v-model:searchable="searchable" /> <TopBackBar :title="commandName" v-model:searchable="searchable" />
<div class="bg0"> <div class="bg0">
<div v-if="commandName == '등용'"> <div v-if="commandName == '등용'">
재야나 타국의 장수를 등용합니다.<br /> 재야나 타국의 장수를 등용합니다.<br />
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" /> <TopBackBar :title="commandName" />
<div class="bg0"> <div class="bg0">
<div> <div>
본인의 특정 병종 숙련을 40% 줄이고, 줄어든 숙련 9/10(90%p) 다른 병종 본인의 특정 병종 숙련을 40% 줄이고, 줄어든 숙련 9/10(90%p) 다른 병종
+1 -1
View File
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" v-model:searchable="searchable" /> <TopBackBar :title="commandName" v-model:searchable="searchable" />
<div class="bg0"> <div class="bg0">
<div> <div>
국가에 임관합니다.<br /> 국가에 임관합니다.<br />
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" v-model:searchable="searchable" /> <TopBackBar :title="commandName" v-model:searchable="searchable" />
<div class="bg0"> <div class="bg0">
<div> <div>
장비를 구입하거나 매각합니다.<br /> 장비를 구입하거나 매각합니다.<br />
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" v-model:searchable="searchable" /> <TopBackBar :title="commandName" v-model:searchable="searchable" />
<div class="bg0"> <div class="bg0">
<div> <div>
장수를 따라 임관합니다.<br /> 장수를 따라 임관합니다.<br />
+1 -1
View File
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" /> <TopBackBar :title="commandName" />
<div class="bg0"> <div class="bg0">
<div> <div>
자신의 자금이나 군량을 국가 재산으로 헌납합니다. 자신의 자금이나 군량을 국가 재산으로 헌납합니다.
@@ -14,7 +14,7 @@
</div> </div>
</div> </div>
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" type="chief" />
</template> </template>
<script lang="ts"> <script lang="ts">
@@ -14,7 +14,7 @@
</div> </div>
</div> </div>
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" type="chief" />
</template> </template>
<script lang="ts"> <script lang="ts">
@@ -65,7 +65,7 @@
</div> </div>
</div> </div>
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" type="chief" />
</template> </template>
<script lang="ts"> <script lang="ts">
+1 -1
View File
@@ -36,7 +36,7 @@
</div> </div>
</div> </div>
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" type="chief" />
</template> </template>
<script lang="ts"> <script lang="ts">
@@ -47,7 +47,7 @@
</div> </div>
</div> </div>
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" type="chief" />
</template> </template>
<script lang="ts"> <script lang="ts">
@@ -36,7 +36,7 @@
</div> </div>
</div> </div>
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" type="chief" />
</template> </template>
<script lang="ts"> <script lang="ts">
+5 -2
View File
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" v-model:searchable="searchable" /> <TopBackBar :title="commandName" :type="procEntryMode" v-model:searchable="searchable" />
<div class="bg0"> <div class="bg0">
<MapLegacyTemplate <MapLegacyTemplate
:isDetailMap="false" :isDetailMap="false"
@@ -77,7 +77,7 @@
@selected="selected" @selected="selected"
/> />
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" :type="procEntryMode" />
</template> </template>
<script lang="ts"> <script lang="ts">
@@ -100,6 +100,8 @@ declare const procRes: {
distanceList: Record<number, number[]>; distanceList: Record<number, number[]>;
cities: [number, string][]; cities: [number, string][];
}; };
declare const entryInfo: ['General'|'Nation', unknown];
export default defineComponent({ export default defineComponent({
components: { components: {
MapLegacyTemplate, MapLegacyTemplate,
@@ -141,6 +143,7 @@ export default defineComponent({
} }
return { return {
procEntryMode: entryInfo[0] == 'Nation'?'chief':'normal',
searchable: getProcSearchable(), searchable: getProcSearchable(),
mapTheme: ref(mapTheme), mapTheme: ref(mapTheme),
citiesMap: ref(citiesMap), citiesMap: ref(citiesMap),
+4 -2
View File
@@ -1,5 +1,5 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" v-model:searchable="searchable" /> <TopBackBar :title="commandName" :type="procEntryMode" v-model:searchable="searchable" />
<div class="bg0"> <div class="bg0">
<div v-if="commandName == '몰수'"> <div v-if="commandName == '몰수'">
장수의 자금이나 군량을 몰수합니다.<br /> 장수의 자금이나 군량을 몰수합니다.<br />
@@ -43,7 +43,7 @@
</div> </div>
</div> </div>
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" :type="procEntryMode" />
</template> </template>
<script lang="ts"> <script lang="ts">
@@ -63,6 +63,7 @@ import {
} from "./processingRes"; } from "./processingRes";
import { getNpcColor } from "@/common_legacy"; import { getNpcColor } from "@/common_legacy";
declare const commandName: string; declare const commandName: string;
declare const entryInfo: ['General'|'Nation', unknown];
declare const procRes: { declare const procRes: {
distanceList: Record<number, number[]>; distanceList: Record<number, number[]>;
@@ -124,6 +125,7 @@ export default defineComponent({
} }
return { return {
procEntryMode: entryInfo[0] == 'Nation'?'chief':'normal',
searchable: getProcSearchable(), searchable: getProcSearchable(),
amount, amount,
isGold, isGold,
+18 -4
View File
@@ -1,5 +1,9 @@
<template> <template>
<TopBackBar :title="commandName" type="chief" v-model:searchable="searchable" /> <TopBackBar
:title="commandName"
:type="procEntryMode"
v-model:searchable="searchable"
/>
<div class="bg0"> <div class="bg0">
<MapLegacyTemplate <MapLegacyTemplate
:isDetailMap="false" :isDetailMap="false"
@@ -54,14 +58,18 @@
<div class="row"> <div class="row">
<div class="col-6 col-md-3"> <div class="col-6 col-md-3">
국가 : 국가 :
<SelectNation :nations="nationList" v-model="selectedNationID" :searchable="searchable" /> <SelectNation
:nations="nationList"
v-model="selectedNationID"
:searchable="searchable"
/>
</div> </div>
<div class="col-4 col-md-2 d-grid"> <div class="col-4 col-md-2 d-grid">
<b-button @click="submit">{{ commandName }}</b-button> <b-button @click="submit">{{ commandName }}</b-button>
</div> </div>
</div> </div>
</div> </div>
<BottomBar :title="commandName" /> <BottomBar :title="commandName" :type="procEntryMode" />
</template> </template>
<script lang="ts"> <script lang="ts">
@@ -74,9 +82,14 @@ import { unwrap } from "@/util/unwrap";
import { Args } from "@/processing/args"; import { Args } from "@/processing/args";
import TopBackBar from "@/components/TopBackBar.vue"; import TopBackBar from "@/components/TopBackBar.vue";
import BottomBar from "@/components/BottomBar.vue"; import BottomBar from "@/components/BottomBar.vue";
import { getProcSearchable, procNationItem, procNationList } from "./processingRes"; import {
getProcSearchable,
procNationItem,
procNationList,
} from "./processingRes";
declare const mapTheme: string; declare const mapTheme: string;
declare const commandName: string; declare const commandName: string;
declare const entryInfo: ['General'|'Nation', unknown];
declare const procRes: { declare const procRes: {
nationList: procNationList; nationList: procNationList;
@@ -121,6 +134,7 @@ export default defineComponent({
} }
return { return {
procEntryMode: entryInfo[0] == "Nation" ? "chief" : "normal",
searchable: getProcSearchable(), searchable: getProcSearchable(),
startYear: procRes.startYear, startYear: procRes.startYear,
mapTheme: ref(mapTheme), mapTheme: ref(mapTheme),