Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev

dev_chengFeng
wangzhenxing 2021-11-26 13:08:37 +08:00
commit 1da1d1457b
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ function IncarnationPanel:InitComponent()
self.empty = Util.GetGameObject(self.gameObject,"bg/NoneImage")
self.cardList = {}
self.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform)
end
function IncarnationPanel:BindEvent()
@ -162,6 +163,7 @@ function IncarnationPanel:OnOpen()
end
function IncarnationPanel:OnShow()
self.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.Main })
self:RefreshUpList()
self:SetSelectBtn()
self:RefreshList(false,false)
@ -362,6 +364,7 @@ function IncarnationPanel:OnDestroy()
ClearRedPointObject(RedPointType.incarnation_buddish,tabsRedpoints[2].gameObject)
ClearRedPointObject(RedPointType.incarnation_demon,tabsRedpoints[3].gameObject)
ClearRedPointObject(RedPointType.incarnation_taoist,tabsRedpoints[4].gameObject)
SubUIManager.Close(self.UpView)
end
return IncarnationPanel