【协议提交】

dev_chengFeng
ZhangBiao 2021-05-27 20:08:32 +08:00
parent b0226b664f
commit 4b54176492
2 changed files with 651 additions and 602 deletions

File diff suppressed because one or more lines are too long

View File

@ -208,6 +208,20 @@ function this.PageTabAdapter(tab, index, status)
isshow = ActivityGiftManager.IsQualifiled(tabs[index].ActiveType)
elseif tabs[index].FunType > 0 then
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
isshow = true
end