点击余额不足提示确认按钮时刷新玩家余额的显示
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m14s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m14s
This commit is contained in:
parent
09f7990e6d
commit
c62d2a1522
@ -297,7 +297,7 @@ export class SlotScene extends Component {
|
||||
}
|
||||
if (this.slotBar.getBalance() < (isFeatureBuy ? this.slotBar.getBet() * this.gameInfo.BuyMul : this.slotBar.getBet()) && !isFreeSpin && !GameDataManager.instance.frb.Ongoing) {
|
||||
//余额不足不经过服务器,在客户端拦截
|
||||
this.showErrorTip(2, "");
|
||||
this.showErrorTip(2, () => { this.slotBar.onClickBalance() });
|
||||
this.handleErrSpin();
|
||||
return
|
||||
}
|
||||
@ -954,7 +954,7 @@ export class SlotScene extends Component {
|
||||
this.TipPanel.showTip(
|
||||
title,
|
||||
tip,
|
||||
null,
|
||||
callback,
|
||||
null,
|
||||
I18nManager.instance.t("AID_ERROR_OK_BUTTON"),
|
||||
null,
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 540,
|
||||
"y": 960,
|
||||
"y": 959.9999999999999,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@ -190,7 +190,7 @@
|
||||
"_priority": 0,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 960,
|
||||
"_orthoHeight": 959.9999999999999,
|
||||
"_near": 0,
|
||||
"_far": 2000,
|
||||
"_color": {
|
||||
@ -2342,7 +2342,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1080,
|
||||
"height": 1920
|
||||
"height": 1919.9999999999998
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@ -2442,7 +2442,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1080,
|
||||
"height": 1920
|
||||
"height": 1919.9999999999998
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@ -2494,7 +2494,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1080,
|
||||
"height": 1920
|
||||
"height": 1919.9999999999998
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@ -3070,7 +3070,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1080,
|
||||
"height": 1920
|
||||
"height": 1919.9999999999998
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
||||
@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env"
|
||||
const gameId = "rp_11001";
|
||||
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
||||
let apiaddr = "";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3ODA5NDMxOTgsIlMiOjEwMDUsIkQiOiJycF8xMTAwMSJ9.w5qJQBglbAHpEedbpdt-XRMZjG4mxAz79ov8CuOU-GQ";
|
||||
let token = "eyJQIjoxMDAwMDEsIkUiOjE3ODExMTY3MjUsIlMiOjEwMDMsIkQiOiJycF8xMTAwMSJ9.RlUvhgdSk7EljKfAHUreLckvUQQ43PGQrtvgeDIk1Bg";
|
||||
|
||||
let language = "en"
|
||||
let currency = "THB"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user