From 04c603b294c050508f637f142122a061ef769686 Mon Sep 17 00:00:00 2001 From: TJH Date: Thu, 25 Dec 2025 15:25:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E7=9F=A5=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Game/prefabs/History/history_detail.prefab | 4 ++-- assets/Game/scripts/game/FreeSpinAdd.ts | 2 +- assets/Game/scripts/game/HistoryDetail.ts | 6 ++++-- assets/Loading/scripts/comm.ts | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/assets/Game/prefabs/History/history_detail.prefab b/assets/Game/prefabs/History/history_detail.prefab index 410af41..5d79924 100644 --- a/assets/Game/prefabs/History/history_detail.prefab +++ b/assets/Game/prefabs/History/history_detail.prefab @@ -14219,7 +14219,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 540, - "y": -882, + "y": -880, "z": 0 }, "_lrot": { @@ -14396,7 +14396,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 12, - "height": 1764 + "height": 1760 }, "_anchorPoint": { "__type__": "cc.Vec2", diff --git a/assets/Game/scripts/game/FreeSpinAdd.ts b/assets/Game/scripts/game/FreeSpinAdd.ts index 21688a6..96b892b 100644 --- a/assets/Game/scripts/game/FreeSpinAdd.ts +++ b/assets/Game/scripts/game/FreeSpinAdd.ts @@ -28,7 +28,7 @@ export class FreeSpinAdd extends Component { this.freeSpinEnterTitleSp = titleNode.getChildByName('SpriteFREESPINWON').getComponent(Sprite); this.freeCount = freeCount; - this.freeCountLabel.string = `${freeCount}`; + this.freeCountLabel.string = `+ ${freeCount}`; this.node.addChild(this.freeSpinAddUI); this.playAnimation(); this.closeCallBack = closeCallBack; diff --git a/assets/Game/scripts/game/HistoryDetail.ts b/assets/Game/scripts/game/HistoryDetail.ts index ebbb454..6d9d105 100644 --- a/assets/Game/scripts/game/HistoryDetail.ts +++ b/assets/Game/scripts/game/HistoryDetail.ts @@ -103,9 +103,11 @@ export class HistoryDetail extends Component { const content = this.list_round_winning.content content.destroyAllChildren() const currencySymbol = this.data.currencySymbol - const yellowColor = new Color(0xFF, 0xAE, 0x00) + const closeLabel = this.list_round_winning.node.getChildByPath('btn_close/Label').getComponent(Label) + closeLabel.string = getTranslate(this.dict, "Close") + scoreInfos.forEach((v, i) => { const item = instantiate(this.item_round_winning) const txt_round = item.getChildByName("txt_round").getComponent(Label) @@ -165,7 +167,7 @@ export class HistoryDetail extends Component { if (findIndex == 0) { txt_spin.string = getTranslate(this.dict, "Normal Spin") } else { - txt_spin.string = getTranslate(this.dict, "Free Spin:") + `${findIndex}/${maxIdx}` + txt_spin.string = getTranslate(this.dict, "Free Spin:") + `${findIndex}/${maxIdx}` } const yellowColor = new Color(0xFF, 0xAE, 0x00) diff --git a/assets/Loading/scripts/comm.ts b/assets/Loading/scripts/comm.ts index e6e7fd7..4e3b718 100644 --- a/assets/Loading/scripts/comm.ts +++ b/assets/Loading/scripts/comm.ts @@ -32,7 +32,7 @@ export function getHistoryUrl() { } export function getLanguage() { - // return 'zh'; + return 'zh'; return language; }