【右上角活动】红点修改

dev_chengFeng
ZhangBiao 2021-06-07 13:32:01 +08:00
parent 88e8fe21f6
commit 6c31fa860d
1 changed files with 8 additions and 4 deletions

View File

@ -764,10 +764,10 @@ function this.CreatActivity()
else
activityTabs[k].timeImg.gameObject:SetActive(true)
end
if v.RpType > 0 then
--绑定新的红点
BindRedPointObject(v.RpType,activityTabs[k].redpot)
end
-- if v.RpType > 0 then
-- --绑定新的红点
-- BindRedPointObject(v.RpType,activityTabs[k].redpot)
-- end
if v.ActiveType > 0 then
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(v.ActiveType) and v.ActiveType ~= 42 then
@ -1420,6 +1420,10 @@ function this.RefreshActivityShow()
for k,v in ipairs(activitys) do
local ishow = DynamicActivityManager.IsQualifiled(v.Id)
if ishow then
if v.RpType > 0 then
--绑定新的红点
BindRedPointObject(v.RpType,activityTabs[k].redpot)
end
if v.ActiveType < 1 and v.FunType < 1 then
if v.ActId == 666 then
--限时折扣