From 6c31fa860d5e3872bd6d5950740e31a7201136af Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Mon, 7 Jun 2021 13:32:01 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8F=B3=E4=B8=8A=E8=A7=92=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E3=80=91=E7=BA=A2=E7=82=B9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Main/MainPanel.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua index f8602343f2..823d1b31d6 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua @@ -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 --限时折扣