From f8583d070be09e5b415cf22d3de3d1dbd5695f9f Mon Sep 17 00:00:00 2001 From: "COMPUTER\\EDY" <249929363@qq.com> Date: Mon, 15 Jun 2026 11:26:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E5=85=B3=E5=8D=A1=E4=B8=8A?= =?UTF-8?q?=E9=99=90=E6=9B=B4=E6=96=B0=201720?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Scene/GameScene.fire | 2 +- assets/Script/Map.ts | 11 ++++++----- assets/Script/module/Tool/GameTool.ts | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index 5559406..ef82692 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -9077,7 +9077,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 720, + "width": 705, "height": 702 }, "_anchorPoint": { diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 44c86b2..cad5995 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -314,19 +314,19 @@ export default class MapConroler extends cc.Component { } Utils.getCityRank((res) => { if (res.code === 1) { - // console.log("城市排行数据:", res.data); + console.log("城市排行数据:", res.data); if (res.data.length > 0) { for (let i = 0; i < res.data.length; i++) { if (res.data[i].addLevel <= cc.fx.GameConfig.GM_INFO.addLevel) { cc.fx.GameConfig.GM_INFO.cityRank = i + 1; this.cityRank = cc.fx.GameConfig.GM_INFO.cityRank; - // console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "榜单里没有,从比较中得到"); + console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "榜单里没有,从比较中得到"); break; } if (i == res.data.length - 1) { cc.fx.GameConfig.GM_INFO.cityRank = i + 2; this.cityRank = cc.fx.GameConfig.GM_INFO.cityRank; - // console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "我不在绑,且比不过最后一名"); + console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "我不在绑,且比不过最后一名"); } } } @@ -3171,18 +3171,19 @@ export default class MapConroler extends cc.Component { // alert("游戏成功"); Utils.getCityRank((res) => { if (res.code === 1) { + console.log("城市排行数据:", res.data); if (res.data.length > 0) { for (let i = 0; i < res.data.length; i++) { if (res.data[i].addLevel <= (cc.fx.GameConfig.GM_INFO.addLevel + 1)) { cc.fx.GameConfig.GM_INFO.cityRank = i + 1; this.cityRank = cc.fx.GameConfig.GM_INFO.cityRank; - // console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "榜单里没有,从比较中得到"); + console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "榜单里没有,从比较中得到"); break; } if (i == res.data.length - 1) { cc.fx.GameConfig.GM_INFO.cityRank = i + 2; this.cityRank = cc.fx.GameConfig.GM_INFO.cityRank; - // console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "我不在绑,且比不过最后一名"); + console.log("我的排名:", cc.fx.GameConfig.GM_INFO.cityRank, "我不在绑,且比不过最后一名"); } } } diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 7d11477..d713627 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -451,7 +451,7 @@ var GameTool = { // cc.fx.StorageMessage.setStorage("level", levelInfo); // } - let max_level = 1700; + let max_level = 1720; if (cc.fx.GameConfig.GM_INFO.level > (max_level - 1)) { cc.fx.GameConfig.GM_INFO.level = max_level;