vue: NPCControl
- 외향 모사(딱히 의미는 없으나..) - 약간 반응형
This commit is contained in:
+245
-239
@@ -4,232 +4,214 @@
|
|||||||
<div
|
<div
|
||||||
id="container"
|
id="container"
|
||||||
class="tb_layout bg0"
|
class="tb_layout bg0"
|
||||||
:style="{ width: '1000px', margin: 'auto', border: 'solid 1px #888888' }"
|
:style="{ maxWidth: '1000px', margin: 'auto', border: 'solid 1px #888888' }"
|
||||||
>
|
>
|
||||||
<div class="bg1 section_bar">국가 정책</div>
|
<div class="bg1 section_bar">국가 정책</div>
|
||||||
<div class="px-3" style="text-align:right;">
|
<div class="px-3" style="text-align: right">
|
||||||
<small class="form-text text-muted">
|
<small class="form-text text-muted">
|
||||||
최근 설정:
|
최근 설정:
|
||||||
{{ lastSetters.policy.setter ?? "-없음-" }}
|
{{ lastSetters.policy.setter ?? "-없음-" }}
|
||||||
({{ lastSetters.policy.date ?? "설정 기록 없음" }})
|
({{ lastSetters.policy.date ?? "설정 기록 없음" }})
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="form_list">
|
<div class="form_list row row-cols-md-2 row-cols-1">
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqNationGold"
|
||||||
v-model="nationPolicy.reqNationGold"
|
:step="100"
|
||||||
:step="100"
|
title="국가 권장 금"
|
||||||
title="국가 권장 금"
|
>이보다 많으면 포상, 적으면 몰수/헌납합니다.(긴급포상
|
||||||
>이보다 많으면 포상, 적으면 몰수/헌납합니다.(긴급포상
|
제외)</NumberInputWithInfo
|
||||||
제외)</NumberInputWithInfo
|
>
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<NumberInputWithInfo
|
|
||||||
v-model="nationPolicy.reqNationRice"
|
|
||||||
:step="100"
|
|
||||||
title="국가 권장 쌀"
|
|
||||||
>이보다 많으면 포상, 적으면 몰수/헌납합니다.(긴급포상
|
|
||||||
제외)</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqNationRice"
|
||||||
v-model="nationPolicy.reqHumanWarUrgentGold"
|
:step="100"
|
||||||
:step="100"
|
title="국가 권장 쌀"
|
||||||
title="유저전투장 긴급포상 금"
|
>이보다 많으면 포상, 적으면 몰수/헌납합니다.(긴급포상
|
||||||
>유저장긴급포상시 이보다 금이 적은 장수에게 포상합니다.<br />0이면
|
제외)</NumberInputWithInfo
|
||||||
보병 6회 징병({{ (defaultStatMax * 100).toLocaleString() }} * 6)
|
>
|
||||||
가능한 금을 기준으로 하며, 그 수치는 현재
|
|
||||||
{{
|
|
||||||
zeroPolicy.reqHumanWarUrgentGold.toLocaleString()
|
|
||||||
}}입니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<NumberInputWithInfo
|
|
||||||
v-model="nationPolicy.reqHumanWarUrgentRice"
|
|
||||||
:step="100"
|
|
||||||
title="유저전투장 긴급포상 금"
|
|
||||||
>유저장긴급포상시 이보다 쌀이 적은 장수에게 포상합니다.<br />0이면
|
|
||||||
기본 병종으로 {{ (defaultStatMax * 100).toLocaleString() }} * 6명
|
|
||||||
사살 가능한 쌀을 기준으로 하며, 그 수치는 현재
|
|
||||||
{{
|
|
||||||
zeroPolicy.reqHumanWarUrgentRice.toLocaleString()
|
|
||||||
}}입니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqHumanWarUrgentGold"
|
||||||
v-model="nationPolicy.reqHumanWarRecommandGold"
|
:step="100"
|
||||||
:step="100"
|
title="유저전투장 긴급포상 금"
|
||||||
title="유저전투장 권장 금"
|
>유저장긴급포상시 이보다 금이 적은 장수에게 포상합니다.<br />0이면
|
||||||
>유저전투장에게 주는 금입니다. 이보다 적으면 포상합니다. <br />
|
보병 6회 징병({{ (defaultStatMax * 100).toLocaleString() }} * 6)
|
||||||
0이면 유저전투장 긴급포상 금의 2배를 기준으로 하며, 그 수치는 현재
|
가능한 금을 기준으로 하며, 그 수치는 현재
|
||||||
{{
|
{{
|
||||||
(calcPolicyValue("reqHumanWarUrgentGold") * 2).toLocaleString()
|
zeroPolicy.reqHumanWarUrgentGold.toLocaleString()
|
||||||
}}입니다.</NumberInputWithInfo
|
}}입니다.</NumberInputWithInfo
|
||||||
>
|
>
|
||||||
</div>
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<NumberInputWithInfo
|
|
||||||
v-model="nationPolicy.reqHumanWarRecommandRice"
|
|
||||||
:step="100"
|
|
||||||
title="유저전투장 권장 쌀"
|
|
||||||
>유저전투장에게 주는 쌀입니다. 이보다 적으면 포상합니다. <br />
|
|
||||||
0이면 유저전투장 긴급포상 쌀의 2배를 기준으로 하며, 그 수치는 현재
|
|
||||||
{{
|
|
||||||
(calcPolicyValue("reqHumanWarUrgentRice") * 2).toLocaleString()
|
|
||||||
}}입니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqHumanWarUrgentRice"
|
||||||
v-model="nationPolicy.reqHumanDevelGold"
|
:step="100"
|
||||||
:step="100"
|
title="유저전투장 긴급포상 금"
|
||||||
title="유저내정장 권장 금"
|
>유저장긴급포상시 이보다 쌀이 적은 장수에게 포상합니다.<br />0이면
|
||||||
>유저내정장에게 주는 금입니다. 이보다 적으면
|
기본 병종으로 {{ (defaultStatMax * 100).toLocaleString() }} * 6명 사살
|
||||||
포상합니다.</NumberInputWithInfo
|
가능한 쌀을 기준으로 하며, 그 수치는 현재
|
||||||
>
|
{{
|
||||||
</div>
|
zeroPolicy.reqHumanWarUrgentRice.toLocaleString()
|
||||||
<div class="col-sm-6">
|
}}입니다.</NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
>
|
||||||
v-model="nationPolicy.reqHumanDevelRice"
|
|
||||||
:step="100"
|
|
||||||
title="유저내정장 권장 쌀"
|
|
||||||
>유저내정장에게 주는 쌀입니다. 이보다 적으면
|
|
||||||
포상합니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqHumanWarRecommandGold"
|
||||||
v-model="nationPolicy.reqNPCWarGold"
|
:step="100"
|
||||||
:step="100"
|
title="유저전투장 권장 금"
|
||||||
title="NPC전투장 권장 금"
|
>유저전투장에게 주는 금입니다. 이보다 적으면 포상합니다. <br />
|
||||||
>NPC전투장에게 주는 금입니다. 이보다 적으면 포상합니다. <br />
|
0이면 유저전투장 긴급포상 금의 2배를 기준으로 하며, 그 수치는 현재
|
||||||
0이면 기본 병종 4회({{ (defaultStatNPCMax * 100).toLocaleString() }}
|
{{
|
||||||
* 4) 징병비를 기준으로 하며, 그 수치는 현재
|
(calcPolicyValue("reqHumanWarUrgentGold") * 2).toLocaleString()
|
||||||
{{
|
}}입니다.</NumberInputWithInfo
|
||||||
zeroPolicy.reqNPCWarGold.toLocaleString()
|
>
|
||||||
}}입니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<NumberInputWithInfo
|
|
||||||
v-model="nationPolicy.reqNPCWarRice"
|
|
||||||
:step="100"
|
|
||||||
title="NPC전투장 권장 쌀"
|
|
||||||
>NPC전투장에게 주는 쌀입니다. 이보다 적으면 포상합니다. <br />
|
|
||||||
0이면 기본 병종으로
|
|
||||||
{{ (defaultStatNPCMax * 100).toLocaleString() }} * 4명 사살 가능한
|
|
||||||
쌀을 기준으로 하며, 그 수치는 현재
|
|
||||||
{{
|
|
||||||
zeroPolicy.reqNPCWarRice.toLocaleString()
|
|
||||||
}}입니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqHumanWarRecommandRice"
|
||||||
v-model="nationPolicy.reqNPCDevelGold"
|
:step="100"
|
||||||
:step="100"
|
title="유저전투장 권장 쌀"
|
||||||
title="NPC내정장 권장 금"
|
>유저전투장에게 주는 쌀입니다. 이보다 적으면 포상합니다. <br />
|
||||||
>NPC내정장에게 주는 금입니다. 이보다 5배 더 많다면 헌납합니다.<br />0이면
|
0이면 유저전투장 긴급포상 쌀의 2배를 기준으로 하며, 그 수치는 현재
|
||||||
30턴 내정 가능한 금을 기준으로 하며, 그 수치는 현재
|
{{
|
||||||
{{ zeroPolicy.reqNPCDevelGold }}입니다.</NumberInputWithInfo
|
(calcPolicyValue("reqHumanWarUrgentRice") * 2).toLocaleString()
|
||||||
>
|
}}입니다.</NumberInputWithInfo
|
||||||
</div>
|
>
|
||||||
<div class="col-sm-6">
|
|
||||||
<NumberInputWithInfo
|
|
||||||
v-model="nationPolicy.reqNPCDevelRice"
|
|
||||||
:step="100"
|
|
||||||
title="NPC내정장 권장 쌀"
|
|
||||||
>NPC내정장에게 주는 쌀입니다. 이보다 5배 더 많다면
|
|
||||||
헌납합니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqHumanDevelGold"
|
||||||
v-model="nationPolicy.minimumResourceActionAmount"
|
:step="100"
|
||||||
:step="100"
|
title="유저내정장 권장 금"
|
||||||
title="포상/몰수/헌납/삼/팜 최소 단위"
|
>유저내정장에게 주는 금입니다. 이보다 적으면
|
||||||
>연산결과가 이 단위보다 적다면 수행하지
|
포상합니다.</NumberInputWithInfo
|
||||||
않습니다.</NumberInputWithInfo
|
>
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<NumberInputWithInfo
|
|
||||||
v-model="nationPolicy.minWarCrew"
|
|
||||||
:step="50"
|
|
||||||
title="최소 전투 가능 병력 수"
|
|
||||||
>이보다 적을 때에는 징병을 시도합니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqHumanDevelRice"
|
||||||
v-model="nationPolicy.minNPCRecruitCityPopulation"
|
:step="100"
|
||||||
:step="100"
|
title="유저내정장 권장 쌀"
|
||||||
title="NPC 최소 징병 가능 인구 수"
|
>유저내정장에게 주는 쌀입니다. 이보다 적으면
|
||||||
>도시의 인구가 이보다 낮으면 NPC는 도시에서 징병하지 않고 후방
|
포상합니다.</NumberInputWithInfo
|
||||||
워프합니다.<br />NPC의 최대 병력수보다 낮게 설정하면 제자리에서
|
>
|
||||||
정착장려를 합니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<NumberInputWithInfo
|
|
||||||
:modelValue="nationPolicy.safeRecruitCityPopulationRatio * 100"
|
|
||||||
@update:modelValue="
|
|
||||||
nationPolicy.safeRecruitCityPopulationRatio = $event / 100
|
|
||||||
"
|
|
||||||
:step="0.5"
|
|
||||||
:int="false"
|
|
||||||
:min="0"
|
|
||||||
:max="100"
|
|
||||||
title="제자리 징병 허용 인구율(%)"
|
|
||||||
>전쟁 시 후방 발령, 후방 워프의 기준 인구입니다. 이보다 많다면
|
|
||||||
'충분하다'고 판단합니다.<br />NPC의 최대 병력수보다 낮게 설정하면
|
|
||||||
제자리에서 정착장려를 합니다.</NumberInputWithInfo
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="col">
|
||||||
<div class="col-sm-6">
|
<NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
v-model="nationPolicy.reqNPCWarGold"
|
||||||
v-model="nationPolicy.minNPCWarLeadership"
|
:step="100"
|
||||||
:step="5"
|
title="NPC전투장 권장 금"
|
||||||
title="NPC 전투 참여 통솔 기준"
|
>NPC전투장에게 주는 금입니다. 이보다 적으면 포상합니다. <br />
|
||||||
>이 수치보다 같거나 높으면 NPC전투장으로
|
0이면 기본 병종 4회({{ (defaultStatNPCMax * 100).toLocaleString() }}
|
||||||
분류됩니다.</NumberInputWithInfo
|
* 4) 징병비를 기준으로 하며, 그 수치는 현재
|
||||||
>
|
{{
|
||||||
</div>
|
zeroPolicy.reqNPCWarGold.toLocaleString()
|
||||||
<div class="col-sm-6">
|
}}입니다.</NumberInputWithInfo
|
||||||
<NumberInputWithInfo
|
>
|
||||||
v-model="nationPolicy.properWarTrainAtmos"
|
</div>
|
||||||
:step="5"
|
<div class="col">
|
||||||
:min="20"
|
<NumberInputWithInfo
|
||||||
:max="100"
|
v-model="nationPolicy.reqNPCWarRice"
|
||||||
title="훈련/사기진작 목표치"
|
:step="100"
|
||||||
>훈련/사기진작 기준치입니다. 이보다 같거나 높으면
|
title="NPC전투장 권장 쌀"
|
||||||
출병합니다.</NumberInputWithInfo
|
>NPC전투장에게 주는 쌀입니다. 이보다 적으면 포상합니다. <br />
|
||||||
>
|
0이면 기본 병종으로
|
||||||
</div>
|
{{ (defaultStatNPCMax * 100).toLocaleString() }} * 4명 사살 가능한
|
||||||
|
쌀을 기준으로 하며, 그 수치는 현재
|
||||||
|
{{
|
||||||
|
zeroPolicy.reqNPCWarRice.toLocaleString()
|
||||||
|
}}입니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<NumberInputWithInfo
|
||||||
|
v-model="nationPolicy.reqNPCDevelGold"
|
||||||
|
:step="100"
|
||||||
|
title="NPC내정장 권장 금"
|
||||||
|
>NPC내정장에게 주는 금입니다. 이보다 5배 더 많다면 헌납합니다.<br />0이면
|
||||||
|
30턴 내정 가능한 금을 기준으로 하며, 그 수치는 현재
|
||||||
|
{{ zeroPolicy.reqNPCDevelGold }}입니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<NumberInputWithInfo
|
||||||
|
v-model="nationPolicy.reqNPCDevelRice"
|
||||||
|
:step="100"
|
||||||
|
title="NPC내정장 권장 쌀"
|
||||||
|
>NPC내정장에게 주는 쌀입니다. 이보다 5배 더 많다면
|
||||||
|
헌납합니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<NumberInputWithInfo
|
||||||
|
v-model="nationPolicy.minimumResourceActionAmount"
|
||||||
|
:step="100"
|
||||||
|
title="포상/몰수/헌납/삼/팜 최소 단위"
|
||||||
|
>연산결과가 이 단위보다 적다면 수행하지 않습니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<NumberInputWithInfo
|
||||||
|
v-model="nationPolicy.minWarCrew"
|
||||||
|
:step="50"
|
||||||
|
title="최소 전투 가능 병력 수"
|
||||||
|
>이보다 적을 때에는 징병을 시도합니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<NumberInputWithInfo
|
||||||
|
v-model="nationPolicy.minNPCRecruitCityPopulation"
|
||||||
|
:step="100"
|
||||||
|
title="NPC 최소 징병 가능 인구 수"
|
||||||
|
>도시의 인구가 이보다 낮으면 NPC는 도시에서 징병하지 않고 후방
|
||||||
|
워프합니다.<br />NPC의 최대 병력수보다 낮게 설정하면 제자리에서
|
||||||
|
정착장려를 합니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<NumberInputWithInfo
|
||||||
|
:modelValue="nationPolicy.safeRecruitCityPopulationRatio * 100"
|
||||||
|
@update:modelValue="
|
||||||
|
nationPolicy.safeRecruitCityPopulationRatio = $event / 100
|
||||||
|
"
|
||||||
|
:step="0.5"
|
||||||
|
:int="false"
|
||||||
|
:min="0"
|
||||||
|
:max="100"
|
||||||
|
title="제자리 징병 허용 인구율(%)"
|
||||||
|
>전쟁 시 후방 발령, 후방 워프의 기준 인구입니다. 이보다 많다면
|
||||||
|
'충분하다'고 판단합니다.<br />NPC의 최대 병력수보다 낮게 설정하면
|
||||||
|
제자리에서 정착장려를 합니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<NumberInputWithInfo
|
||||||
|
v-model="nationPolicy.minNPCWarLeadership"
|
||||||
|
:step="5"
|
||||||
|
title="NPC 전투 참여 통솔 기준"
|
||||||
|
>이 수치보다 같거나 높으면 NPC전투장으로
|
||||||
|
분류됩니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<NumberInputWithInfo
|
||||||
|
v-model="nationPolicy.properWarTrainAtmos"
|
||||||
|
:step="5"
|
||||||
|
:min="20"
|
||||||
|
:max="100"
|
||||||
|
title="훈련/사기진작 목표치"
|
||||||
|
>훈련/사기진작 기준치입니다. 이보다 같거나 높으면
|
||||||
|
출병합니다.</NumberInputWithInfo
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<!--allowNpcAttackCity는 현재 게임 내 비활성-->
|
<!--allowNpcAttackCity는 현재 게임 내 비활성-->
|
||||||
|
</div>
|
||||||
|
<div style="padding: 0 8pt">
|
||||||
<div class="alert alert-secondary">
|
<div class="alert alert-secondary">
|
||||||
전투 부대는 작업중입니다(json양식:
|
전투 부대는 작업중입니다(json양식:
|
||||||
{부대번호:[시작도시번호(아국),도착도시번호(적군)],...})<br />
|
{부대번호:[시작도시번호(아국),도착도시번호(적군)],...})<br />
|
||||||
@@ -280,8 +262,8 @@
|
|||||||
설정
|
설정
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row row-cols-md-2 row-cols-1 g-0">
|
||||||
<div class="col-sm-6 half_section_left">
|
<div class="col half_section_left">
|
||||||
<div class="bg1 section_bar">NPC 사령턴 우선순위</div>
|
<div class="bg1 section_bar">NPC 사령턴 우선순위</div>
|
||||||
<div class="float-right px-3">
|
<div class="float-right px-3">
|
||||||
<small class="form-text text-muted">
|
<small class="form-text text-muted">
|
||||||
@@ -296,16 +278,21 @@
|
|||||||
사령턴을 시도합니다.</small
|
사령턴을 시도합니다.</small
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="form_list">
|
<div>
|
||||||
<div class="row">
|
<div class="row g-0">
|
||||||
<div class="col-sm-6">
|
<div class="col">
|
||||||
<div class="bg2 sub_bar">비활성</div>
|
<div class="bg2 sub_bar">비활성</div>
|
||||||
<draggable
|
<draggable
|
||||||
:list="chiefActionUnused"
|
:list="chiefActionUnused"
|
||||||
group="chiefAction"
|
group="chiefAction"
|
||||||
class="list-group col"
|
class="list-group col priority-list"
|
||||||
itemKey="id"
|
itemKey="id"
|
||||||
>
|
>
|
||||||
|
<template #header>
|
||||||
|
<div class="list-group-item list-group-item-dark">
|
||||||
|
<비활성화 항목들>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<template #item="{ element }">
|
<template #item="{ element }">
|
||||||
<div class="list-group-item">
|
<div class="list-group-item">
|
||||||
<i class="bi bi-list"></i> {{ element.id
|
<i class="bi bi-list"></i> {{ element.id
|
||||||
@@ -320,12 +307,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</draggable>
|
</draggable>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col">
|
||||||
<div class="bg2 sub_bar">활성</div>
|
<div class="bg2 sub_bar">활성</div>
|
||||||
<draggable
|
<draggable
|
||||||
:list="chiefActionPriority"
|
:list="chiefActionPriority"
|
||||||
group="chiefAction"
|
group="chiefAction"
|
||||||
class="list-group col"
|
class="list-group col priority-list"
|
||||||
itemKey="id"
|
itemKey="id"
|
||||||
>
|
>
|
||||||
<template #item="{ element }">
|
<template #item="{ element }">
|
||||||
@@ -369,7 +356,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 half_section_right">
|
<div class="col half_section_right">
|
||||||
<div class="bg1 section_bar">NPC 일반턴 우선순위</div>
|
<div class="bg1 section_bar">NPC 일반턴 우선순위</div>
|
||||||
<div class="float-right px-3">
|
<div class="float-right px-3">
|
||||||
<small class="form-text text-muted">
|
<small class="form-text text-muted">
|
||||||
@@ -384,16 +371,21 @@
|
|||||||
물자조달이나 인재탐색을 합니다.</small
|
물자조달이나 인재탐색을 합니다.</small
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="form_list">
|
<div>
|
||||||
<div class="row">
|
<div class="row g-0">
|
||||||
<div class="col-sm-6">
|
<div class="col">
|
||||||
<div class="bg2 sub_bar">비활성</div>
|
<div class="bg2 sub_bar">비활성</div>
|
||||||
<draggable
|
<draggable
|
||||||
:list="generalActionUnused"
|
:list="generalActionUnused"
|
||||||
group="generalAction"
|
group="generalAction"
|
||||||
class="list-group col"
|
class="list-group col priority-list"
|
||||||
itemKey="id"
|
itemKey="id"
|
||||||
>
|
>
|
||||||
|
<template #header>
|
||||||
|
<div class="list-group-item list-group-item-dark">
|
||||||
|
<비활성화 항목들>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<template #item="{ element }">
|
<template #item="{ element }">
|
||||||
<div class="list-group-item">
|
<div class="list-group-item">
|
||||||
<i class="bi bi-list"></i> {{ element.id
|
<i class="bi bi-list"></i> {{ element.id
|
||||||
@@ -407,12 +399,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</draggable>
|
</draggable>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col">
|
||||||
<div class="bg2 sub_bar">활성</div>
|
<div class="bg2 sub_bar">활성</div>
|
||||||
<draggable
|
<draggable
|
||||||
:list="generalActionPriority"
|
:list="generalActionPriority"
|
||||||
group="generalAction"
|
group="generalAction"
|
||||||
class="list-group col"
|
class="list-group col priority-list"
|
||||||
itemKey="id"
|
itemKey="id"
|
||||||
>
|
>
|
||||||
<template #item="{ element }">
|
<template #item="{ element }">
|
||||||
@@ -824,37 +816,51 @@ export default defineComponent({
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form_list {
|
||||||
|
margin: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sub_bar {
|
||||||
|
text-align: center;
|
||||||
|
border: 0.5px solid #aaa;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.priority-list {
|
||||||
|
margin: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.control_bar {
|
.control_bar {
|
||||||
margin-top: 8pt;
|
padding: 0 8pt 8pt 8pt;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control_bar .btn {
|
||||||
|
margin-top: 8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reset_btn {
|
.reset_btn {
|
||||||
width: 15ch;
|
width: 15ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.revert_btn{
|
.revert_btn {
|
||||||
width: 15ch;
|
width: 15ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit_btn {
|
.submit_btn {
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
width: 15ch;
|
width: 15ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.half_section_left {
|
.half_section_left {
|
||||||
padding-right: 0;
|
border-right: 0.5px solid #aaa;
|
||||||
border-right: 0.5px solid #aaa;
|
|
||||||
}
|
|
||||||
|
|
||||||
.half_section_right {
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.section_bar {
|
.section_bar {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 0.5px solid #aaa;
|
border: 0.5px solid #aaa;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="row form-group number-input-with-info">
|
<div class="row form-group number-input-with-info">
|
||||||
<label class="col-sm-6 col-form-label">{{ title }}</label>
|
<label class="col-6 col-form-label">{{ title }}</label>
|
||||||
<div class="col-sm-6">
|
<div class="col-6">
|
||||||
<input
|
<input
|
||||||
ref="input"
|
ref="input"
|
||||||
type="number"
|
type="number"
|
||||||
|
|||||||
@@ -1,15 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<table style="width: 1000px; margin: auto" class="tb_layout bg0">
|
<div class="tb_layout bg0 back_bar">
|
||||||
<tr>
|
<button type="button" class="btn btn-primary back_btn" @click="back">
|
||||||
<td style="text-align: left">
|
돌아가기
|
||||||
{{title}}<br /><button
|
</button>
|
||||||
type="button"
|
<h2 class="title">{{ title }}</h2>
|
||||||
class="btn btn-primary"
|
</div>
|
||||||
@click="back"
|
|
||||||
>돌아가기</button><br />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
@@ -19,18 +14,16 @@ import "../../scss/game_bg.scss";
|
|||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "TopBackBar",
|
name: "TopBackBar",
|
||||||
methods: {
|
methods: {
|
||||||
back(){
|
back() {
|
||||||
if(this.type === 'normal'){
|
if (this.type === "normal") {
|
||||||
location.href = './';
|
location.href = "./";
|
||||||
}
|
} else if (this.type == "chief") {
|
||||||
else if(this.type == 'chief'){
|
location.href = "b_chiefcenter.php";
|
||||||
location.href = 'b_chiefcenter.php';
|
} else {
|
||||||
}
|
|
||||||
else{
|
|
||||||
//TODO: window.close하려면 부모창이 있어야함!
|
//TODO: window.close하려면 부모창이 있어야함!
|
||||||
window.close();
|
window.close();
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
title: {
|
title: {
|
||||||
@@ -38,7 +31,7 @@ export default defineComponent({
|
|||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
type: {
|
type: {
|
||||||
type: String as PropType<"normal"|"chief"|"close">,
|
type: String as PropType<"normal" | "chief" | "close">,
|
||||||
default: "normal",
|
default: "normal",
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
@@ -47,5 +40,27 @@ export default defineComponent({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style scoped>
|
||||||
|
.back_bar {
|
||||||
|
max-width: 1000px;
|
||||||
|
width: 100%;
|
||||||
|
margin: auto;
|
||||||
|
position: relative;
|
||||||
|
border-left: 1px solid #888;
|
||||||
|
border-right: 1px solid #888;
|
||||||
|
height: 24pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.back_btn {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
height: 24pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
text-align: center;
|
||||||
|
line-height: 24pt;
|
||||||
|
font-size: 18pt;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -89,7 +89,7 @@ $lastSetters = [
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=1024" />
|
<meta name="viewport" content="width=device-with" />
|
||||||
<title><?= UniqueConst::$serverName ?>: 임시 NPC 정책</title>
|
<title><?= UniqueConst::$serverName ?>: 임시 NPC 정책</title>
|
||||||
<?= WebUtil::printStaticValues([
|
<?= WebUtil::printStaticValues([
|
||||||
'nationID' => $nationID,
|
'nationID' => $nationID,
|
||||||
|
|||||||
Reference in New Issue
Block a user