wuwangdong 4 anni fa
parent
commit
4ebc030a5b

File diff suppressed because it is too large
+ 0 - 0
assets/resources/module/login/hot/project.manifest


+ 1 - 1
assets/script/game/data/module/SafeDepositBoxData.ts

@@ -107,7 +107,7 @@ export default class SafeDepositBoxData {
         //福利银行教学
         if(gData.gameData.richBankTeachTag){
             gData.gameData.richBankTeachTag = false;
-            let isOpenRichBankUI = mk.ui.getCurOnPanel("SafeDepositBox");
+            let isOpenRichBankUI = mk.ui.isPopPanel();
             if(gData.gameData.funOpenData[13] == "1" && !isOpenRichBankUI){
                 if(this.cashRecordData.length > this.cashRecordDataLength){
                     this.cashRecordDataLength = this.cashRecordData.length;

+ 14 - 0
assets/script/mk/system/UISystem.ts

@@ -111,6 +111,20 @@ export default class UISystem extends cc.Component {
         return this.curOnPanelDic[panelName];
     }
 
+     /**
+     * 获取当前是否有除主界面的其他界面打开
+     */
+    isPopPanel(except: string[] = ["game"]){
+        let count = 0;
+        for (let panelName in this.curOnPanelDic) {
+            if(except.indexOf(panelName) != -1){
+                continue;
+            }
+            ++count;
+        }
+        return count > 0;
+    }
+
     /**
      * 关闭panel界面
      * @param panelName 通常使用this.node.name代替,界面名称,不是全路径

BIN
build/jsb-link/assets/main/index.jsc


File diff suppressed because it is too large
+ 0 - 0
build/jsb-link/assets/resources/config.json


File diff suppressed because it is too large
+ 0 - 0
build/jsb-link/assets/resources/native/a8/a81eb395-718d-4f3b-958c-cb871f7dd5fa.manifest


+ 7 - 1
build/jsb-link/js backups (useful for debugging)/main.index.js

@@ -28582,7 +28582,7 @@ this.freshQipao = !0;
 }
 if (gData.gameData.richBankTeachTag) {
 gData.gameData.richBankTeachTag = !1;
-e = mk.ui.getCurOnPanel("SafeDepositBox");
+e = mk.ui.isPopPanel();
 if ("1" == gData.gameData.funOpenData[13] && !e && this.cashRecordData.length > this.cashRecordDataLength) {
 this.cashRecordDataLength = this.cashRecordData.length;
 this.isTeach = mk.guide.open(13);
@@ -33961,6 +33961,12 @@ s(t);
 e.prototype.getCurOnPanel = function(t) {
 return this.curOnPanelDic[t];
 };
+e.prototype.isPopPanel = function(t) {
+void 0 === t && (t = [ "game" ]);
+var e = 0;
+for (var a in this.curOnPanelDic) -1 == t.indexOf(a) && ++e;
+return e > 0;
+};
 e.prototype.closePanel = function(t, e) {
 void 0 === e && (e = null);
 if (-1 == this.isPanelClosingArr.indexOf(t) && this.getCurOnPanel(t)) {

+ 2 - 2
packages-hot-update/cfg.json

@@ -12,7 +12,7 @@
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/kncdsfTest/baseRemote/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/kncdsf/baseRemote/"
     ],
-    "buildTime": 1638341608922,
-    "genTime": 1638341608922,
+    "buildTime": 1638343543617,
+    "genTime": 1638343543617,
     "genVersion": null
 }

File diff suppressed because it is too large
+ 0 - 0
packages-hot-update/manifest/project.manifest


BIN
packages-hot-update/versions/ver_1_0.9.zip


Some files were not shown because too many files changed in this diff