From 50de01d5a073ac275568885ba65487b906e04800 Mon Sep 17 00:00:00 2001 From: guowei Date: Wed, 20 Jan 2021 14:07:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=B8=BF=E8=92=99=E9=98=B5bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Harmony/View/HarmonyScrllow.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Harmony/View/HarmonyScrllow.lua b/Assets/ManagedResources/~Lua/Modules/Harmony/View/HarmonyScrllow.lua index 02caf1797f..c3cfc0a6f0 100644 --- a/Assets/ManagedResources/~Lua/Modules/Harmony/View/HarmonyScrllow.lua +++ b/Assets/ManagedResources/~Lua/Modules/Harmony/View/HarmonyScrllow.lua @@ -134,6 +134,11 @@ function this.RunTimerFun() if value.TimerText then -- body value.TimerText.text = "" + if not value.AddImage.activeSelf then + -- body + value.AddImage:SetActive(true) + end + end end @@ -167,6 +172,7 @@ function this.SingleBoxDataShow(go,boxData,index) ItemList[go].index = index ItemList[go].TimerText = TimerText ItemList[go].Empty = Empty + ItemList[go].AddImage = AddImage Empty:SetActive(true) mask:SetActive(true) @@ -187,7 +193,7 @@ function this.SingleBoxDataShow(go,boxData,index) end else - if gridData.time -GetTimeStamp() <= 0 then + if gridData.time - GetTimeStamp() <= 0 then -- body TimerText.text = ""