消除时掉线可以重试或退出
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m13s

This commit is contained in:
TJH 2026-01-07 17:10:18 +08:00
parent 33d60c77be
commit f46b37ec39
4 changed files with 13 additions and 3 deletions

View File

@ -984,6 +984,14 @@ export class SlotScene extends Component {
); );
} }
break; break;
case 5:
msg1 = I18nManager.instance.t('AID_ERROR_CONTENT_4');
msg2 = I18nManager.instance.t('AID_ERROR_CODE_4');
tip = `${msg1}\n${msg2}`;
if (!this.TipPanel.getHasTip()) {
this.TipPanel.showTip(title, tip, () => { window.close() }, () => { callback?.(); }, I18nManager.instance.t('AID_ERROR_QUIT_BUTTON'), I18nManager.instance.t('AID_ERROR_RETRY_BUTTON'), true);
}
break;
} }
} }

View File

@ -76,7 +76,9 @@ export class LayoutAdapter extends Component {
const texH = this.sprite.spriteFrame.height; const texH = this.sprite.spriteFrame.height;
const scale = Math.max(size.width / texW, size.height / texH); const scale = Math.max(size.width / texW, size.height / texH);
this.BG_01.setScale(scale, scale); // 铺满并保持比例 this.BG_01.setScale(scale, scale); // 铺满并保持比例
if (this.Logo.isValid) {
this.changeLoge(size.height) this.changeLoge(size.height)
}
if (this.isMobile()) { if (this.isMobile()) {

View File

@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env"
const gameId = "rp_11001"; const gameId = "rp_11001";
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com"; // let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
let apiaddr = ""; let apiaddr = "";
let token = "eyJQIjoxMDA5NDksIkUiOjE3Njc3MTM4NTcsIlMiOjk5OCwiRCI6InJwXzExMDAxIn0.NgM_swidNSUlWC58DKHBzYNn4RWEjtQWDTgli0qEyl8"; let token = "eyJQIjoxMDA5NDksIkUiOjE3Njc4MTk1NTgsIlMiOjEwMDEsIkQiOiJycF8xMTAwMSJ9.UcJqIjmyDdeHoeYUuGeNI4Hpiqk3Rq7k4_6NuLxI16o";
let language = "en" let language = "en"

View File

@ -77,7 +77,7 @@ export class Loading extends Component {
this.node.getChildByPath("Mask/LoadingUINode/logo_en").active = true; this.node.getChildByPath("Mask/LoadingUINode/logo_en").active = true;
} }
initErrorManager(); // initErrorManager();
await I18nManager.instance.ensureI18nSprite(language, "2"); await I18nManager.instance.ensureI18nSprite(language, "2");
this.node this.node
.getChildByPath('Mask/LoadingUINode/msg') .getChildByPath('Mask/LoadingUINode/msg')