From 917e26caeeb04568158fbb52032c5a502c9ec720 Mon Sep 17 00:00:00 2001 From: huanghaipeng Date: Mon, 17 Nov 2025 11:58:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E4=B9=8B=E5=89=8D=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=20=20=E5=85=B3=E5=8D=A1=E6=AF=8F=E5=91=A8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Script/JiaZai.ts | 12 ++++++------ assets/Script/Map.ts | 2 +- assets/Script/module/Config/GameConfig.ts | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/Script/JiaZai.ts b/assets/Script/JiaZai.ts index d4f01d1..f15361b 100644 --- a/assets/Script/JiaZai.ts +++ b/assets/Script/JiaZai.ts @@ -854,7 +854,7 @@ export default class JiaZai extends cc.Component { let version = cc.fx.GameTool.getWechatGameVersion(); if (cc.fx.GameTool.maxLevel()) { if (version != "开发版" && version != "体验版") { - // MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); + MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); cc.fx.GameTool.requestSubscribe(); return; } @@ -885,7 +885,7 @@ export default class JiaZai extends cc.Component { cc.fx.GameConfig.GM_INFO.level = parseInt(this.custom.string) - 1; // cc.fx.StorageMessage.setStorage("level",cc.fx.GameConfig.GM_INFO.level.toString()); if (cc.fx.GameTool.maxLevel()) { - // MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); + MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); cc.fx.GameTool.requestSubscribe(); return; } @@ -896,7 +896,7 @@ export default class JiaZai extends cc.Component { this.node.getChildByName("zhuanchang").active = true; this.node.getChildByName("zhuanchang").getComponent(sp.Skeleton).setAnimation(1, "up", false); if (cc.fx.GameTool.maxLevel()) { - // MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); + MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); cc.fx.GameTool.requestSubscribe(); return; } @@ -905,7 +905,7 @@ export default class JiaZai extends cc.Component { } else if (version == "正式版") { if (cc.fx.GameTool.maxLevel()) { - // MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); + MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); cc.fx.GameTool.requestSubscribe(); return; } @@ -920,7 +920,7 @@ export default class JiaZai extends cc.Component { cc.fx.GameConfig.GM_INFO.level = parseInt(this.custom.string) - 1; // cc.fx.StorageMessage.setStorage("level",cc.fx.GameConfig.GM_INFO.level.toString()); if (cc.fx.GameTool.maxLevel()) { - // MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); + MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); cc.fx.GameTool.requestSubscribe(); return; } @@ -931,7 +931,7 @@ export default class JiaZai extends cc.Component { this.node.getChildByName("zhuanchang").active = true; this.node.getChildByName("zhuanchang").getComponent(sp.Skeleton).setAnimation(1, "up", false); if (cc.fx.GameTool.maxLevel()) { - // MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); + MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); cc.fx.GameTool.requestSubscribe(); return; } diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index eda2af0..2c18a96 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -2143,7 +2143,7 @@ export default class MapConroler extends cc.Component { } if (cc.fx.GameTool.maxLevel()) { - // MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); + MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); cc.fx.GameTool.requestSubscribe(); return; } diff --git a/assets/Script/module/Config/GameConfig.ts b/assets/Script/module/Config/GameConfig.ts index 9de55af..a7db2d9 100644 --- a/assets/Script/module/Config/GameConfig.ts +++ b/assets/Script/module/Config/GameConfig.ts @@ -352,7 +352,7 @@ export class GameConfig { if (cc.fx.GameTool.maxLevel() && otherLevel == false) { - // MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); + MiniGameSdk.API.showToast("关卡每周更新,敬请期待!"); cc.fx.GameTool.requestSubscribe(); return; }