【连购礼包】提交
parent
55f2e6e783
commit
ebff38ffc4
|
@ -688,4 +688,20 @@ function this.HasContinueGift(linkActId)
|
|||
return false
|
||||
end
|
||||
|
||||
-- 判断是否显示连购礼包入口
|
||||
function this.ShowIcon(Obj,linkActId)
|
||||
if linkActId and Obj then
|
||||
local actData = this.GetData(ActivityTypeDef.ContinuePackage)
|
||||
if actData then
|
||||
for index, value in ipairs(actData.rewards) do
|
||||
if #value > 0 then
|
||||
Obj:SetActive(true)
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Obj:SetActive(false)
|
||||
end
|
||||
|
||||
return CommonActPageManager
|
Loading…
Reference in New Issue