主题活动任务修改提交
parent
7b9a5e535c
commit
e5d387c37d
|
@ -78,7 +78,6 @@ function ActivityMainPanel:CheckActOpen(_index)
|
|||
else
|
||||
_CurPageIndex = _index
|
||||
end
|
||||
Log("当前界面:"..tabs[_index].ActiveType.." _CurPageIndex:".._CurPageIndex)
|
||||
end
|
||||
elseif tabs[_index].FunType > 0 then
|
||||
if ActTimeCtrlManager.SingleFuncState(tabs[_index].FunType) then
|
||||
|
@ -251,7 +250,6 @@ function this.PageTabAdapter(tab, index, status)
|
|||
isshow = ActTimeCtrlManager.IsQualifiled(tabs[index].FunType)
|
||||
elseif tabs[index].ShopData and tabs[index].ShopData[1][1] == -9999 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.DynamicAct)
|
||||
-- LogGreen(GlobalActConfig[id].ShowArt.." "..tabs[index].ActId)
|
||||
if id and id > 0 and ActivityGiftManager.IsQualifiled(ActivityTypeDef.DynamicAct) and GlobalActConfig[id].ShowArt == tabs[index].ActId then
|
||||
isshow = true
|
||||
else
|
||||
|
@ -291,7 +289,6 @@ function this.OnPageTabChange(index)
|
|||
subViewList[index].sub:OnShow(orginLayer)
|
||||
else
|
||||
subViewList[index] = {}
|
||||
--LogGreen("Change index:"..tostring(index))
|
||||
if tabs[index].UIName then
|
||||
subViewList[index].config = SubUIConfig[tabs[index].UIName[1]]
|
||||
subViewList[index].sub = SubUIManager.Open(subViewList[index].config,this.content.transform,tabs[index],index,this)
|
||||
|
@ -315,6 +312,7 @@ end
|
|||
|
||||
--界面关闭时调用(用于子类重写)
|
||||
function ActivityMainPanel:OnClose()
|
||||
CommonActPageManager.DynamicActType = 0
|
||||
if UIManager.IsOpen(UIName.RewardItemSingleShowPopup) then
|
||||
UIManager.ClosePanel(UIName.RewardItemSingleShowPopup)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue