【连购礼包】提交

dev_chengFeng
ZhangBiao 2021-12-02 19:36:28 +08:00
parent 55f2e6e783
commit ebff38ffc4
1 changed files with 16 additions and 0 deletions

View File

@ -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