|
@@ -41,7 +41,7 @@ namespace GFGGame
|
|
|
_ui.m_tip.onClick.Add(RuleController.ShowRuleView);
|
|
|
_ui.m_tip.data = 300012;
|
|
|
_ui.m_LevelProcess.m_loaIcon.url =
|
|
|
- ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(ConstItemID.BATTLE_PASS_CURRENCY).res);
|
|
|
+ ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(ConstItemID.BATTLE_PASS_CURRENCY).res);
|
|
|
}
|
|
|
|
|
|
protected override void OnHide()
|
|
@@ -206,7 +206,8 @@ namespace GFGGame
|
|
|
itemView.SetData(itemData);
|
|
|
itemView.ChangeTxtCountStyle();
|
|
|
itemView.GrpGotVisible = BattlePassTaskDataManager.Instance.CheckLevelRewardGet(level);
|
|
|
- RedDotController.Instance.SetComRedDot(item.m_NormalReward, state == 1);
|
|
|
+ bool redDot = (!BattlePassTaskDataManager.Instance.CheckLevelRewardGet(level) && state == 1);
|
|
|
+ RedDotController.Instance.SetComRedDot(item.m_NormalReward, redDot);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -249,7 +250,8 @@ namespace GFGGame
|
|
|
obj.data ??= itemView;
|
|
|
itemView.SetData(itemData);
|
|
|
itemView.ChangeTxtCountStyle();
|
|
|
- if (keyValuePair.Item2) {
|
|
|
+ var isBuy = BattlePassTaskDataManager.Instance.GetIsBuy();
|
|
|
+ if (keyValuePair.Item2 && isBuy) {
|
|
|
RedDotController.Instance.SetComRedDot(itemView.GetGComponentObj, keyValuePair.Item3 == 1);
|
|
|
itemView.GrpGotVisible = keyValuePair.Item4;
|
|
|
}
|
|
@@ -342,6 +344,8 @@ namespace GFGGame
|
|
|
BattlePassCfgArray.Instance.GetCfgsByid(BattlePassTaskDataManager.Instance.GetSeasonId()));
|
|
|
//去掉第一个为0的配置
|
|
|
_ui.m_RewardList.numItems = _rewardCfgs.Count - 1;
|
|
|
+ RedDotController.Instance.SetComRedDot(_ui.m_btnGetAll,
|
|
|
+ BattlePassTaskDataManager.Instance.CheckStoreBrocadeWeavRed());
|
|
|
}
|
|
|
|
|
|
private void SetOpenBattlePassBtnStatus()
|