Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
fb57fc97d8
|
@ -1188,17 +1188,21 @@ function this.RefreshActivityBtn(context)
|
|||
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
|
||||
if v.FunType and v.FunType == 41 then
|
||||
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
|
||||
if v.FunType and v.FunType == 41 then
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue