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