点击余额不足提示确认按钮时刷新玩家余额的显示
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m20s

This commit is contained in:
TJH 2026-06-10 14:12:34 +08:00
parent 9b051cb097
commit c13b703633
2 changed files with 8 additions and 8 deletions

View File

@ -222,7 +222,7 @@ export class SlotScene extends Component {
if (this.slotBar.getBalance() < (buyType == 1 ? this.slotBar.getBet() * this.gameInfo.BuyMul : (this.isDoubleWin ? this.slotBar.getdisplayBet() : this.slotBar.getBet())) && !this.isFreeSpin && !this.spinInfo.Frb.Ongoing) {
//余额不足不经过服务器,在客户端拦截
this.showErrorTip(2, "");
this.showErrorTip(2, "", () => { this.slotBar.onClickBalance() });
this.handleErrSpin();
return
}
@ -891,7 +891,7 @@ export class SlotScene extends Component {
title,
msg,
true,
null,
callBack,
null,
I18nManager.instance.t("AID_ERROR_OK_BUTTON")
);

View File

@ -108,7 +108,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 540,
"y": 960,
"y": 959.9999999999999,
"z": 0
},
"_lrot": {
@ -193,7 +193,7 @@
"_priority": 0,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 960,
"_orthoHeight": 959.9999999999999,
"_near": 0,
"_far": 2000,
"_color": {
@ -2364,7 +2364,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
"height": 1919.9999999999998
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -2697,7 +2697,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
"height": 1919.9999999999998
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -2749,7 +2749,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
"height": 1919.9999999999998
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -5009,7 +5009,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
"height": 1919.9999999999998
},
"_anchorPoint": {
"__type__": "cc.Vec2",