【右上角活动】红点修改
parent
88e8fe21f6
commit
6c31fa860d
|
|
@ -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
|
||||
--限时折扣
|
||||
|
|
|
|||
Loading…
Reference in New Issue