【商店】修复灵兽山跳转灵兽商店会显示其他商店的数据的问题
parent
d10134216c
commit
34b4b5db51
|
@ -314,7 +314,7 @@ function SecTorPlayAnimByScroll(scroll,_scale)
|
||||||
end
|
end
|
||||||
scroll:ForeachItemGO(function (index, go)
|
scroll:ForeachItemGO(function (index, go)
|
||||||
Timer.New(function ()
|
Timer.New(function ()
|
||||||
go.gameObject:SetActive(true)
|
-- go.gameObject:SetActive(true)
|
||||||
PlayUIAnim(go.gameObject)
|
PlayUIAnim(go.gameObject)
|
||||||
end, scale*(index-1)):Start()
|
end, scale*(index-1)):Start()
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -407,7 +407,7 @@ function this:RefreshItemList(isTop)
|
||||||
local itemData = itemlist[index]
|
local itemData = itemlist[index]
|
||||||
self:ShopItemAdapter(shopItem, itemData)
|
self:ShopItemAdapter(shopItem, itemData)
|
||||||
if isPlayShow then
|
if isPlayShow then
|
||||||
shopItem.gameObject:SetActive(false)
|
shopItem.gameObject:SetActive(true)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
if isTop then
|
if isTop then
|
||||||
|
|
Loading…
Reference in New Issue