Revert "【右上角活动】红点修改"

This reverts commit bbfcdf16e6.
dev_chengFeng
ZhangBiao 2021-06-07 13:45:48 +08:00
parent bbfcdf16e6
commit 1cfcd3346c
1 changed files with 4 additions and 8 deletions

View File

@ -755,10 +755,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
@ -1406,10 +1406,6 @@ 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
--限时折扣