限时抢购界面修改
parent
4ba6146a46
commit
3deee80779
|
@ -104,6 +104,9 @@ function this.SingleDataShow(go, data)
|
|||
if not itemsGrid[go] then
|
||||
itemsGrid[go] = {}
|
||||
end
|
||||
for k,v in pairs(itemsGrid[go]) do
|
||||
v.gameObject:SetActive(false)
|
||||
end
|
||||
for i = 1, #shows do
|
||||
if not itemsGrid[go][i] then
|
||||
itemsGrid[go][i] = SubUIManager.Open(SubUIConfig.ItemView, grid.transform)
|
||||
|
@ -117,7 +120,6 @@ function this.SingleDataShow(go, data)
|
|||
itemsGrid[go][i]:OnOpen(false, {shows[i][1],shows[i][2]}, 0.9,false,false,false,cursortingOrder)
|
||||
itemsGrid[go][i].gameObject:SetActive(true)
|
||||
end
|
||||
|
||||
-- if itemsGrid[go] then
|
||||
-- for i = 1, 4 do
|
||||
-- itemsGrid[go][i].gameObject:SetActive(false)
|
||||
|
|
Loading…
Reference in New Issue