zhaoyang 2 년 전
부모
커밋
7a553f572a

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Store/StoreChargeAddUpView.cs

@@ -154,7 +154,7 @@ namespace GFGGame
             item.m_btnGetWeekGiftBag.data = vipCfg.id;
             bool isWeekGet = MathHelper.isBitSet(GameGlobal.myNumericComponent.GetAsInt(NumericType.VipWeekGetStatus), vipCfg.id);
             item.m_btnGetWeekGiftBag.enabled = !isWeekGet;
-            RedDotController.Instance.SetComRedDot(item.m_btnGetGiftBag, !isWeekGet && RoleDataManager.vipLv >= vipCfg.id);
+            RedDotController.Instance.SetComRedDot(item.m_btnGetWeekGiftBag, !isWeekGet && RoleDataManager.vipLv >= vipCfg.id);
             UI_ListVipItem.ProxyEnd();
         }
 

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Views/Store/StoreMonthView.cs

@@ -47,6 +47,7 @@ namespace GFGGame
         protected override void AddEventListener()
         {
             base.AddEventListener();
+            EventAgent.AddEventListener(ConstMessage.NUMERIC_CHANGE, UpdateView);
 
         }
         protected override void OnShown()
@@ -66,6 +67,7 @@ namespace GFGGame
         protected override void RemoveEventListener()
         {
             base.RemoveEventListener();
+            EventAgent.RemoveEventListener(ConstMessage.NUMERIC_CHANGE, UpdateView);
         }
         private void OnBtnBlackRewardClick()
         {