主题活动修改提交
parent
1c89a4218c
commit
e7352701e7
|
@ -210,7 +210,17 @@ function this.PageTabAdapter(tab, index, status)
|
|||
if tabs[index].IfBack == 1 then
|
||||
if tabs[index].ActiveType > 0 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(tabs[index].ActiveType)
|
||||
isshow = id and id > 0 and ActivityGiftManager.IsQualifiled(tabs[index].ActiveType) and (tabs[index].ActiveType == ActivityTypeDef.DynamicAct or tabs[index].ActiveType == ActivityTypeDef.LimitUpHero or not GlobalActConfig[id].ShowArt or GlobalActConfig[id].ShowArt < 1 or GlobalActConfig[id].ShowArt == this.activityType)
|
||||
if id and id > 0 and ActivityGiftManager.IsQualifiled(tabs[index].ActiveType) then
|
||||
if GlobalActConfig[id].ShowArt and GlobalActConfig[id].ShowArt > 0 then
|
||||
if tabs[index].ActiveType == ActivityTypeDef.DynamicAct or tabs[index].ActiveType == ActivityTypeDef.LimitUpHero then
|
||||
isshow = true
|
||||
elseif GlobalActConfig[id].ShowArt == this.activityType then
|
||||
isshow = true
|
||||
end
|
||||
else
|
||||
isshow = true
|
||||
end
|
||||
end
|
||||
elseif tabs[index].FunType > 0 then
|
||||
isshow = ActTimeCtrlManager.SingleFuncState(tabs[index].FunType)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue