【主界面】成长礼包入口提交
parent
0798248214
commit
a6c7de8151
|
@ -732,14 +732,14 @@ function this.CheckSixStarGoShow()
|
|||
if shopData.id == 20 then
|
||||
for _, v in ipairs(shopData.storeItem) do
|
||||
local time = shopItemConfig[v.id].Limit - v.buyNum
|
||||
if time > 0 then
|
||||
this.btnSixStarGo:SetActive(true)
|
||||
if time == 0 then
|
||||
this.btnSixStarGo:SetActive(false)
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
this.btnSixStarGo:SetActive(false)
|
||||
this.btnSixStarGo:SetActive(true)
|
||||
else
|
||||
this.btnSixStarGo:SetActive(false)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue