【鸿蒙阵bug修改】

dev_chengFeng
guowei 2021-01-20 14:07:31 +08:00
parent 6617d818c0
commit 50de01d5a0
1 changed files with 7 additions and 1 deletions

View File

@ -134,6 +134,11 @@ function this.RunTimerFun()
if value.TimerText then if value.TimerText then
-- body -- body
value.TimerText.text = "" value.TimerText.text = ""
if not value.AddImage.activeSelf then
-- body
value.AddImage:SetActive(true)
end
end end
end end
@ -167,6 +172,7 @@ function this.SingleBoxDataShow(go,boxData,index)
ItemList[go].index = index ItemList[go].index = index
ItemList[go].TimerText = TimerText ItemList[go].TimerText = TimerText
ItemList[go].Empty = Empty ItemList[go].Empty = Empty
ItemList[go].AddImage = AddImage
Empty:SetActive(true) Empty:SetActive(true)
mask:SetActive(true) mask:SetActive(true)
@ -187,7 +193,7 @@ function this.SingleBoxDataShow(go,boxData,index)
end end
else else
if gridData.time -GetTimeStamp() <= 0 then if gridData.time - GetTimeStamp() <= 0 then
-- body -- body
TimerText.text = "" TimerText.text = ""