【协议提交】
parent
b0226b664f
commit
4b54176492
File diff suppressed because one or more lines are too long
|
@ -208,6 +208,20 @@ function this.PageTabAdapter(tab, index, status)
|
||||||
isshow = ActivityGiftManager.IsQualifiled(tabs[index].ActiveType)
|
isshow = ActivityGiftManager.IsQualifiled(tabs[index].ActiveType)
|
||||||
elseif tabs[index].FunType > 0 then
|
elseif tabs[index].FunType > 0 then
|
||||||
isshow = ActTimeCtrlManager.IsQualifiled(tabs[index].FunType)
|
isshow = ActTimeCtrlManager.IsQualifiled(tabs[index].FunType)
|
||||||
|
elseif tabs[index].ActiveType == ActivityTypeDef.FuXingGaoZhao then--福星高照特殊处理
|
||||||
|
local ActData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FuXingGaoZhao)
|
||||||
|
if ActData then
|
||||||
|
isshow = ActData.value ~= 2
|
||||||
|
if ActData.value == 0 then
|
||||||
|
local data = string.split(ConfigManager.GetConfigDataByKey(ConfigName.SpecialConfig,"Id",109).Value,"#")
|
||||||
|
local time = ActData.startTime + tonumber(data[1])*86400 - GetTimeStamp()
|
||||||
|
if time <= 0 then
|
||||||
|
isshow = false
|
||||||
|
end
|
||||||
|
end
|
||||||
|
else
|
||||||
|
isshow = false
|
||||||
|
end
|
||||||
else
|
else
|
||||||
isshow = true
|
isshow = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue