每日豪礼修改提交
parent
0aad3aa01a
commit
02ee675843
|
@ -1057,6 +1057,7 @@ function this.TimeFormat()
|
|||
supremHadSet = true
|
||||
end
|
||||
elseif v.FunType and v.FunType == 41 then
|
||||
LogGreen("3333333333333333333333333333:"..tostring(DailyRechargeManager.GetDailyRechargeExist()))
|
||||
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||
else
|
||||
local info = ActivityGiftManager.GetActivityTypeInfo(v.ActiveType)
|
||||
|
@ -1185,20 +1186,26 @@ end
|
|||
function this.RefreshActivityBtn(context)
|
||||
LogGreen("context.type1 " .. context.type .. " " .. context.status)
|
||||
for k,v in ipairs(activitys) do
|
||||
if v.ActiveType > 0 and v.ActiveType == context.type then
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
||||
if v.ActiveType > 0 and v.ActiveType == context.type then
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
||||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) then
|
||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||
elseif v.FunType and v.FunType == 41 then
|
||||
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||
if v.FunType and v.FunType == 41 then
|
||||
LogGreen("22222222222222222222:"..tostring(DailyRechargeManager.GetDailyRechargeExist()))
|
||||
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||
end
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(false)
|
||||
end
|
||||
elseif v.FunType > 0 and v.FunType == context.type then
|
||||
if ActTimeCtrlManager.SingleFuncState(v.FunType) then
|
||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||
elseif v.FunType and v.FunType == 41 then
|
||||
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||
if v.FunType and v.FunType == 41 then
|
||||
LogGreen("11111111111111111:"..tostring(DailyRechargeManager.GetDailyRechargeExist()))
|
||||
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||
end
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(false)
|
||||
end
|
||||
|
@ -1273,10 +1280,11 @@ function this.RefreshActivityShow()
|
|||
activityTabs[k].go.gameObject:SetActive(false)
|
||||
end
|
||||
elseif v.FunType and v.FunType == 41 then
|
||||
LogGreen("444444444444444444444444444444:"..tostring(DailyRechargeManager.GetDailyRechargeExist()))
|
||||
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(true)
|
||||
end
|
||||
end
|
||||
else
|
||||
activityTabs[k].go.gameObject:SetActive(false)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue