|
@@ -331,6 +331,7 @@ namespace GFGGame
|
|
|
listItem.m_iconPrice.url = "ui://CommonGame/" + costItemCfg.res;
|
|
|
listItem.m_imgOwned.visible = ItemDataManager.GetItemNum(cfg.itemID) > 0;
|
|
|
listItem.m_txtPrice.text = ItemDataManager.GetItemNum(cfg.costID) >= cfg.costNum ? StringUtil.GetColorText(cfg.costNum.ToString(), "#DD994A") : StringUtil.GetColorText(cfg.costNum.ToString(), "#F2989B");
|
|
|
+ UI_ShopListItemRender.ProxyEnd();
|
|
|
}
|
|
|
|
|
|
private void UpdateSelectedItemInfo(GComponent listItem, bool tween)
|
|
@@ -363,7 +364,7 @@ namespace GFGGame
|
|
|
_ui.m_compItemInfo.m_txtOwned.SetVar("v1", "" + ItemDataManager.GetItemNum(_cfgSelected.itemID)).FlushVars();
|
|
|
UI_ShopListItemRender listItem = UI_ShopListItemRender.Proxy(_selectedListItem);
|
|
|
listItem.m_imgOwned.visible = ItemDataManager.GetItemNum(_cfgSelected.itemID) > 0;
|
|
|
-
|
|
|
+ UI_ShopListItemRender.ProxyEnd();
|
|
|
_ui.m_compItemInfo.m_listTag.numItems = itemCfg.tagsArr.Length;
|
|
|
}
|
|
|
|
|
@@ -374,6 +375,7 @@ namespace GFGGame
|
|
|
string[] tag = itemCfg.tagsArr[index].Split('_');
|
|
|
item.m_loaTag.url = ResPathUtil.GetCommonGameResPath("fzd_bqbq_" + tag[0]);
|
|
|
item.m_txtTag.text = tag[1];
|
|
|
+ UI_ListTagItem.ProxyEnd();
|
|
|
}
|
|
|
protected override void UpdateToCheckGuide(object param)
|
|
|
{
|