fix: gatewayButton
This commit is contained in:
@@ -119,6 +119,11 @@ function backButton()
|
||||
return "<button type='button' class='btn btn-primary back_btn' onclick=location.replace('./')>돌아가기</button><br>";
|
||||
}
|
||||
|
||||
function gatewayButton()
|
||||
{
|
||||
return "<button type='button' class='btn btn-primary back_btn' onclick=location.replace('../')>돌아가기</button><br>";
|
||||
}
|
||||
|
||||
function CoreBackButton()
|
||||
{
|
||||
return "<button type='button' class='btn btn-primary back_btn' onclick=location.replace('v_chiefCenter.php')>돌아가기</button><br>";
|
||||
|
||||
+2
-2
@@ -94,7 +94,7 @@ if ($gencount >= $maxgeneral) {
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="bg0 with_border legacy_layout">장 수 선 택<br><?= backButton() ?></div>
|
||||
<div class="bg0 with_border legacy_layout">장 수 선 택<br><?= gatewayButton() ?></div>
|
||||
<table style="width:100%;" class="bg0 with_border">
|
||||
<tr>
|
||||
<td><?= info(0) ?></td>
|
||||
@@ -142,7 +142,7 @@ if ($gencount >= $maxgeneral) {
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<div class="with_border legacy_layout"><?= backButton() ?></div>
|
||||
<div class="with_border legacy_layout"><?= gatewayButton() ?></div>
|
||||
<div class="with_border legacy_layout"><?= banner() ?></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<TopBackBar title="장수 생성" />
|
||||
<TopBackBar title="장수 생성" type="gateway" />
|
||||
|
||||
<div v-if="gameConstStore && args" id="container" class="bg0">
|
||||
<div class="nation-list">
|
||||
|
||||
@@ -13,7 +13,7 @@ import "@scss/game_bg.scss";
|
||||
|
||||
const props = defineProps({
|
||||
type: {
|
||||
type: String as PropType<"normal" | "chief" | "close">,
|
||||
type: String as PropType<"normal" | "chief" | "close" | "gateway">,
|
||||
default: "normal",
|
||||
required: false,
|
||||
},
|
||||
@@ -22,6 +22,8 @@ const props = defineProps({
|
||||
function back() {
|
||||
if (props.type === "normal") {
|
||||
location.href = "./";
|
||||
} else if (props.type === "gateway") {
|
||||
location.href = "..";
|
||||
} else if (props.type == "chief") {
|
||||
location.href = "v_chiefCenter.php";
|
||||
} else {
|
||||
|
||||
@@ -34,7 +34,7 @@ import VueTypes from "vue-types";
|
||||
const props = defineProps({
|
||||
title: VueTypes.string.isRequired,
|
||||
type: {
|
||||
type: String as PropType<"normal" | "chief" | "close">,
|
||||
type: String as PropType<"normal" | "chief" | "close" | "gateway">,
|
||||
default: "normal",
|
||||
required: false,
|
||||
},
|
||||
@@ -70,6 +70,8 @@ watch(toggleSearch, (val) => {
|
||||
function back() {
|
||||
if (props.type === "normal") {
|
||||
location.href = "./";
|
||||
} else if (props.type === "gateway") {
|
||||
location.href = "..";
|
||||
} else if (props.type == "chief") {
|
||||
location.href = "v_chiefCenter.php";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user