|
@@ -14,8 +14,8 @@ namespace GFGGame
|
|
private int _itemId;
|
|
private int _itemId;
|
|
private long _count;
|
|
private long _count;
|
|
private List<int[]> _itemList = new List<int[]>();
|
|
private List<int[]> _itemList = new List<int[]>();
|
|
- private LongPressGesture _longPressAdd;
|
|
|
|
- private LongPressGesture _longPressMinus;
|
|
|
|
|
|
+ // private LongPressGesture _longPressAdd;
|
|
|
|
+ // private LongPressGesture _longPressMinus;
|
|
|
|
|
|
public override void Dispose()
|
|
public override void Dispose()
|
|
{
|
|
{
|
|
@@ -80,6 +80,7 @@ namespace GFGGame
|
|
_ui.m_txtOwned.SetVar("count", "" + ItemDataManager.GetItemNum(itemCfg.id)).FlushVars();
|
|
_ui.m_txtOwned.SetVar("count", "" + ItemDataManager.GetItemNum(itemCfg.id)).FlushVars();
|
|
_ui.m_txtDesc.text = string.IsNullOrEmpty(itemCfg.desc) ? "暂无描述" : itemCfg.desc;
|
|
_ui.m_txtDesc.text = string.IsNullOrEmpty(itemCfg.desc) ? "暂无描述" : itemCfg.desc;
|
|
_ui.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg);
|
|
_ui.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg);
|
|
|
|
+ _ui.m_txtRmbCost.visible = false;
|
|
|
|
|
|
UpdateThItemList(itemCfg);
|
|
UpdateThItemList(itemCfg);
|
|
_ui.m_listItem.numItems = _itemList.Count; //itemCfg.itemsArr.Length;
|
|
_ui.m_listItem.numItems = _itemList.Count; //itemCfg.itemsArr.Length;
|