parent
66e02dc2b9
commit
ecf6473d8d
|
|
@ -1169,12 +1169,16 @@ function this.RefreshActivityBtn(context)
|
||||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
||||||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) then
|
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) then
|
||||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||||
|
elseif v.FunType and v.FunType == 41 then
|
||||||
|
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||||
else
|
else
|
||||||
activityTabs[k].go.gameObject:SetActive(false)
|
activityTabs[k].go.gameObject:SetActive(false)
|
||||||
end
|
end
|
||||||
elseif v.FunType > 0 and v.FunType == context.type then
|
elseif v.FunType > 0 and v.FunType == context.type then
|
||||||
if ActTimeCtrlManager.SingleFuncState(v.FunType) then
|
if ActTimeCtrlManager.SingleFuncState(v.FunType) then
|
||||||
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
activityTabs[k].go.gameObject:SetActive(context.status == 1)
|
||||||
|
elseif v.FunType and v.FunType == 41 then
|
||||||
|
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||||
else
|
else
|
||||||
activityTabs[k].go.gameObject:SetActive(false)
|
activityTabs[k].go.gameObject:SetActive(false)
|
||||||
end
|
end
|
||||||
|
|
@ -1239,6 +1243,8 @@ function this.RefreshActivityShow()
|
||||||
else
|
else
|
||||||
activityTabs[k].go.gameObject:SetActive(false)
|
activityTabs[k].go.gameObject:SetActive(false)
|
||||||
end
|
end
|
||||||
|
elseif v.FunType and v.FunType == 41 then
|
||||||
|
activityTabs[k].go.gameObject:SetActive(DailyRechargeManager.GetDailyRechargeExist())
|
||||||
else
|
else
|
||||||
activityTabs[k].go.gameObject:SetActive(false)
|
activityTabs[k].go.gameObject:SetActive(false)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue