diff --git a/Assets/ManagedResources/~Lua/Modules/ArenaTopMatch/View/ATM_MainMatchView.lua b/Assets/ManagedResources/~Lua/Modules/ArenaTopMatch/View/ATM_MainMatchView.lua index 6d57bdc34e..f23ee6f011 100644 --- a/Assets/ManagedResources/~Lua/Modules/ArenaTopMatch/View/ATM_MainMatchView.lua +++ b/Assets/ManagedResources/~Lua/Modules/ArenaTopMatch/View/ATM_MainMatchView.lua @@ -109,8 +109,13 @@ function this.StateChange(isOpen) this.btnRecord:SetActive(isOpen and isJoin) this.btnTeamRank:SetActive(isOpen and isJoin) this.btnFightDetail:SetActive(isOpen and isJoin and baseData.battleState == TOP_MATCH_TIME_STATE.OPEN_IN_END) - this.orggroup:SetActive(not isOpen and not isOver) - this.Demons:SetActive(not isOpen and not isOver) + -- this.orggroup:SetActive(not isOpen and not isOver) + -- this.Demons:SetActive(not isOpen and not isOver) + this.orggroup:SetActive(not isOpen or (isOpen and isOver)) + this.Demons:SetActive(not isOpen or (isOpen and isOver)) + if not isOpen or (isOpen and isOver) then + this.FreshTeam() + end end diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleListPanel.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleListPanel.lua index ac67ff831f..519cf65493 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleListPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleListPanel.lua @@ -152,6 +152,10 @@ end --界面打开时调用(用于子类重写) function RoleListPanel:OnShow() + --检测成员红点 + LogRed(" 检测成员红点 ") + CheckRedPointStatus(RedPointType.Role) + tarHero=HeroManager.GetAllHeroDatas() teamHero=FormationManager.GetWuJinFormationHeroIds(FormationTypeDef.FORMATION_NORMAL) this.isFirstOpen=true diff --git a/Assets/ManagedResources/~Lua/View/BtView.lua b/Assets/ManagedResources/~Lua/View/BtView.lua index a8b057fcb4..07aa86b342 100644 --- a/Assets/ManagedResources/~Lua/View/BtView.lua +++ b/Assets/ManagedResources/~Lua/View/BtView.lua @@ -133,7 +133,8 @@ function this:OnOpen(context) end -- 刷新显示状态 self:RefreshBtnState() - + --检测成员红点 + CheckRedPointStatus(RedPointType.Role) end function this:RefreshBtnState()