瀏覽代碼

调整部分红点位置

leiyasi 1 年之前
父節點
當前提交
31d4c59550

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

@@ -199,6 +199,8 @@ namespace GFGGame
             Timers.inst.Remove(OnShowLater);
             Timers.inst.Add(0.1f, 1, OnShowLater);
 
+            // 先隐藏茶会提示
+            _ui.m_grpLeagueTips.visible = false;
             // 刚进游戏不播放主界面入场动画
             if (firstIn)
             {

+ 10 - 7
GameClient/Assets/Game/HotUpdate/Views/Store/StoreBrocadeWeavView.cs

@@ -194,7 +194,7 @@ namespace GFGGame
         {
             ViewManager.Show<BrocadeWeavTaskView>();
         }
-        
+
 
         //前往
         // private void OnBtnGoClick(EventContext context)
@@ -231,7 +231,8 @@ namespace GFGGame
                 itemView.ChangeTxtCountStyle();
                 itemView.GrpGotVisible = BattlePassTaskDataManager.Instance.CheckLevelRewardGet(level);
                 bool redDot = (!BattlePassTaskDataManager.Instance.CheckLevelRewardGet(level) && state == 1);
-                RedDotController.Instance.SetComRedDot(item.m_NormalReward, redDot);
+                RedDotController.Instance.SetComRedDot(item.m_NormalReward, redDot, "", -27, 32);
+
             }
             else
             {
@@ -243,7 +244,7 @@ namespace GFGGame
                 item.m_RewardList.itemRenderer = SpecialRewardRender;
             }
             var superLevelRewardGet = BattlePassTaskDataManager.Instance.CheckSuperLevelRewardGet(level);
-            item.m_RewardList.data = (battlePassCfg.bonusSpecialArr, true , state, superLevelRewardGet);
+            item.m_RewardList.data = (battlePassCfg.bonusSpecialArr, true, state, superLevelRewardGet);
             item.m_RewardList.numItems = battlePassCfg.bonusSpecialArr.Length;
             if (state == 1)
             {
@@ -251,7 +252,8 @@ namespace GFGGame
                 item.m_touch.data = battlePassCfg.level;
                 item.m_touch.touchable = true;
             }
-            else {
+            else
+            {
                 item.m_touch.onClick.Clear();
                 item.m_touch.touchable = false;
             }
@@ -275,7 +277,8 @@ namespace GFGGame
             itemView.SetData(itemData);
             itemView.ChangeTxtCountStyle();
             var isBuy = BattlePassTaskDataManager.Instance.GetIsBuy();
-            if (keyValuePair.Item2 && isBuy) {
+            if (keyValuePair.Item2 && isBuy)
+            {
                 RedDotController.Instance.SetComRedDot(itemView.GetGComponentObj, keyValuePair.Item3 == 1);
                 itemView.GrpGotVisible = keyValuePair.Item4;
             }
@@ -369,7 +372,7 @@ namespace GFGGame
             //去掉第一个为0的配置
             _ui.m_RewardList.numItems = _rewardCfgs.Count - 1;
             RedDotController.Instance.SetComRedDot(_ui.m_btnGetAll,
-              BattlePassTaskDataManager.Instance.CheckStoreBrocadeWeavRed());
+              BattlePassTaskDataManager.Instance.CheckStoreBrocadeWeavRed(), "", -18, -8);
         }
 
         private void SetOpenBattlePassBtnStatus()
@@ -412,7 +415,7 @@ namespace GFGGame
             }
             var superLevelRewardGet = BattlePassTaskDataManager.Instance.CheckSuperLevelRewardGet(level);
             var state = BattlePassTaskDataManager.Instance.GetRewardState(level);
-            uiBattlePassReward.m_RewardList.data = (battlePassCfg.bonusSpecialArr,false ,state, superLevelRewardGet);
+            uiBattlePassReward.m_RewardList.data = (battlePassCfg.bonusSpecialArr, false, state, superLevelRewardGet);
             uiBattlePassReward.m_RewardList.numItems = battlePassCfg.bonusSpecialArr.Length;
         }
 

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

@@ -79,7 +79,7 @@ namespace GFGGame
         {
             ShopCfg shopCfg = _shopCfgs[index];
             ShopViewManager.Instance.UptadeItem(obj, shopCfg);
-            RedDotController.Instance.SetComRedDot(obj.asCom, menu2 == ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY && shopCfg.price == 0 && ShopDataManager.Instance.GetGoodsBuyNumById(shopCfg.id) < shopCfg.maxBuyNum, "", 0, 70);
+            RedDotController.Instance.SetComRedDot(obj.asCom, menu2 == ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY && shopCfg.price == 0 && ShopDataManager.Instance.GetGoodsBuyNumById(shopCfg.id) < shopCfg.maxBuyNum, "", 5, 76);
         }
     }
 }