From 248a17fdfed889280442dcd8df755637a3ca5dff Mon Sep 17 00:00:00 2001 From: "guoqing.zhu" <1521292690@qq.com> Date: Tue, 31 May 2022 18:36:17 +0800 Subject: [PATCH] updat --- .../resources/prefabs/tips/pb_chainerr.prefab | 23 +++++++++++++++---- assets/scripts/BaseNet.js | 2 +- assets/scripts/tips/ChainErrTip.ts | 2 +- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/assets/resources/prefabs/tips/pb_chainerr.prefab b/assets/resources/prefabs/tips/pb_chainerr.prefab index b6b422b5..fa1d3d1f 100644 --- a/assets/resources/prefabs/tips/pb_chainerr.prefab +++ b/assets/resources/prefabs/tips/pb_chainerr.prefab @@ -28,10 +28,13 @@ "_components": [ { "__id__": 24 + }, + { + "__id__": 25 } ], "_prefab": { - "__id__": 25 + "__id__": 26 }, "_opacity": 255, "_color": { @@ -43,7 +46,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1568, + "width": 1024, "height": 512 }, "_anchorPoint": { @@ -53,7 +56,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 240, + "x": 512, "y": 256, "z": 0 }, @@ -111,7 +114,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1568, + "width": 1024, "height": 512 }, "_anchorPoint": { @@ -817,7 +820,7 @@ "alignMode": 1, "_target": null, "_alignFlags": 45, - "_left": -544, + "_left": 0, "_right": 0, "_top": 0, "_bottom": 0, @@ -833,6 +836,16 @@ "_originalHeight": 512, "_id": "" }, + { + "__type__": "898d0t9wgdL+r0KgbgiHLTO", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/scripts/BaseNet.js b/assets/scripts/BaseNet.js index 8906c2bc..d6427840 100644 --- a/assets/scripts/BaseNet.js +++ b/assets/scripts/BaseNet.js @@ -28,7 +28,7 @@ function isExamining() { function getDevEnvUrlSuffix() { //'-test.kingsome.cn' -// return atob('LXRlc3Qua2luZ3NvbWUuY24='); + return atob('LXRlc3Qua2luZ3NvbWUuY24='); } function getExaminingUrlSuffix() { diff --git a/assets/scripts/tips/ChainErrTip.ts b/assets/scripts/tips/ChainErrTip.ts index a2945d09..4b3c3fa2 100644 --- a/assets/scripts/tips/ChainErrTip.ts +++ b/assets/scripts/tips/ChainErrTip.ts @@ -5,7 +5,7 @@ const { ccclass, property } = cc._decorator; @ccclass export default class ChainErrTip extends UIBase { public static prefabPath = "prefabs/tips/pb_chainerr"; - @property(cc.Label) namelabel: cc.Label = null; + init(data: any) { //