【灵兽宝阁】单抽十连奖励获得界面上方货币显示不正确修复

dev_chengFeng
ZhangBiao 2020-11-17 10:56:21 +08:00
parent d433d2a690
commit 69d818118c
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ local itemViewList = {}
function LingShouBaoGeOneResultPanel:InitComponent()
orginLayer = 10
self.bg = Util.GetGameObject(self.gameObject, "effect")
this.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform, { showType = UpViewOpenType.ShowLeft, panelType = PanelType.ElementDrawCard })
this.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform, { showType = UpViewOpenType.ShowLeft, panelType = PanelType.LingShouBaoGe })
screenAdapte(self.bg)
this.btnBack=Util.GetGameObject(self.gameObject, "bottom/backButton")
this.openOneAgainButton=Util.GetGameObject(self.gameObject, "bottom/openOneAgainButton")
@ -82,7 +82,7 @@ function LingShouBaoGeOneResultPanel:OnSortingOrderChange()
end
--界面打开时调用(用于子类重写)
function LingShouBaoGeOneResultPanel:OnOpen(...)
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.LingShou})
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.LingShouBaoGe})
local args = { ... }
this.drop=args[1]
this.recruitType = args[2]

View File

@ -44,7 +44,7 @@ function LingShouBaoGeTenResultPanel:InitComponent()
this.contentList[i]=Util.GetGameObject(self.gameObject, "content/itemAnimEffect"..i.."/image/Kuang/itemName/itemContent")
this.contentListParent[i]=Util.GetGameObject(self.gameObject, "content/itemAnimEffect"..i)
end
this.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform, { showType = UpViewOpenType.ShowLeft})--, panelType = PanelType.ElementDrawCard })
this.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform, { showType = UpViewOpenType.ShowLeft, panelType = PanelType.LingShouBaoGe })
end
--绑定事件(用于子类重写)
@ -100,7 +100,7 @@ function LingShouBaoGeTenResultPanel:OnSortingOrderChange()
end
--界面打开时调用(用于子类重写)
function LingShouBaoGeTenResultPanel:OnOpen(...)
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.LingShou})
this.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.LingShouBaoGe})
local args = { ... }
this.drop=args[1]
this.recruitType = args[2]