奖池预览页签修改提交
parent
0a4ef7e68d
commit
328a382d4c
|
@ -95,10 +95,10 @@ function HeroPreviewPanel:OnOpen(...)
|
||||||
|
|
||||||
if temp[1] then --英雄招募
|
if temp[1] then --英雄招募
|
||||||
if #temp==1 or temp[2] then
|
if #temp==1 or temp[2] then
|
||||||
this.TabCtrl = TabBox.New()
|
this.TabCtrl = TabBox.New()
|
||||||
this.TabCtrl:SetTabAdapter(this.TabAdapter)
|
this.TabCtrl:SetTabAdapter(this.TabAdapter)
|
||||||
this.TabCtrl:SetChangeTabCallBack(this.SwitchView)
|
this.TabCtrl:SetChangeTabCallBack(this.SwitchView)
|
||||||
this.TabCtrl:Init(this.tabBox, _TabData,1)
|
this.TabCtrl:Init(this.tabBox, _TabData,temp[3] or 1)
|
||||||
else
|
else
|
||||||
this.tabBox:SetActive(temp[2])
|
this.tabBox:SetActive(temp[2])
|
||||||
this.SwitchView(4)
|
this.SwitchView(4)
|
||||||
|
|
|
@ -93,7 +93,7 @@ function RecruitPanelNew:BindEvent()
|
||||||
end)
|
end)
|
||||||
--奖池预览按钮
|
--奖池预览按钮
|
||||||
Util.AddClick(self.previewBtn, function()
|
Util.AddClick(self.previewBtn, function()
|
||||||
UIManager.OpenPanel(UIName.HeroPreviewPanel,true)
|
UIManager.OpenPanel(UIName.HeroPreviewPanel,true,true,self.config.ShopData[4][1])
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- --心愿抽卡界面
|
-- --心愿抽卡界面
|
||||||
|
|
Loading…
Reference in New Issue