Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
1da1d1457b
|
|
@ -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
|
||||
Loading…
Reference in New Issue