zhangyuqian 10 months ago
parent
commit
96a84d3b24

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxActivityView.cs

@@ -208,6 +208,7 @@ namespace GFGGame
                 LuckyBoxDataManager.Instance.OPEN_LUCKY_DISCONT = false;
                 //ViewManager.Show<RushSaleGiftBoxView>(new object[] { ActivityType.LuckyDiscount, this.viewData });
             }
+            _ui.m_comBox.target.visible = true;
         }
 
         private void UpGiftBox()
@@ -279,6 +280,7 @@ namespace GFGGame
                  if (result)
                  {
                      ViewManager.Show<LuckyBoxStarView>();
+                     _ui.m_comBox.target.visible = false;
                      //  LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.ZAI_XING, 2);
                      GetSuitItemController.showSingle = false;
                  }
@@ -301,6 +303,7 @@ namespace GFGGame
                 if (result)
                 {
                     ViewManager.Show<LuckyBoxStarView>();
+                    _ui.m_comBox.target.visible = false;
                     // LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.ZAI_XING, 2);
                     GetSuitItemController.showSingle = false;
                 }

+ 2 - 3
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -1469,12 +1469,11 @@ namespace GFGGame
             if (GameGlobal.AutoZCJBTips)
             {
                 GameGlobal.AutoZCJBTips = false;
-                if(ActivityDataManager.Instance.GetCurOpenActiveByType(17) == 0)
+                if(ActivityDataManager.Instance.GetCurOpenActiveByType(17) != 0)
                 {
+                    ViewManager.Show<ActivityZCJBView>();
                     return;
                 }
-                ViewManager.Show<ActivityZCJBView>();
-                return;
             }
             if (GameGlobal.AutoSevenDayLoginView)
             {