Compare commits

...

2 Commits

1 changed files with 2 additions and 0 deletions

View File

@ -498,6 +498,7 @@ function this:ShopItemAdapter(shopItem, itemData)
effect.gameObject:SetActive(false)
Util.SetParticleSortLayer(effect, this.sortingOrder + 1)
local bg = Util.GetGameObject(shopItem, "GameObject/bg")
local zheObj = Util.GetGameObject(bg, "zheImg")
local item = Util.GetGameObject(bg, "item")
local itemName = Util.GetGameObject(bg, "itemName"):GetComponent("Text")
local itemDes = Util.GetGameObject(bg, "itemDes"):GetComponent("Text")
@ -521,6 +522,7 @@ function this:ShopItemAdapter(shopItem, itemData)
local goods = ShopManager.GetShopItemGoodsInfo(itemData.id)
local con = ConfigManager.GetConfigData(ConfigName.ItemConfig,goods[1][1])
zheObj.gameObject:SetActive(false)
itemName.text = SubString2(GetLanguageStrById(con.Name),8)
if con.ItemType == ItemType.LingShouChip then
local haveCount = BagManager.GetTotalItemNum(con.Id)