|
@@ -46,12 +46,12 @@ namespace GFGGame
|
|
|
|
|
|
_valueBarController = new ValueBarController(_ui.m_comValueBar);
|
|
|
|
|
|
- _ui.m_btnback.onClick.Add(OnBtnBackClick);
|
|
|
+ _ui.m_btnBack.onClick.Add(OnBtnBackClick);
|
|
|
_ui.m_list.SetVirtual();
|
|
|
_ui.m_list.itemRenderer = ListItemRender;
|
|
|
_ui.m_list.onClickItem.Add(OnListItemClick);
|
|
|
|
|
|
- _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("tc_bjbj");
|
|
|
+ _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("cp_beijing");
|
|
|
}
|
|
|
|
|
|
protected override void AddEventListener()
|
|
@@ -102,6 +102,8 @@ namespace GFGGame
|
|
|
item.m_txtCount.text = itemData.num.ToString();
|
|
|
item.target.data = itemCfg;
|
|
|
item.m_QualityType.selectedIndex = itemCfg.rarity - 1;
|
|
|
+ item.m_ShowName.selectedIndex = 1;
|
|
|
+ item.m_txtName.text = itemCfg.name;
|
|
|
//是礼包就加入红点
|
|
|
if (((itemCfg.itemType == ConstItemType.USEABLE &&
|
|
|
itemCfg.subType == ConstItemSubType.USEABLE_GIFT_BAG_SELECTABLE) ||
|