| | |
| | | public void Display(ItemModel model)
|
| | | {
|
| | | itemBaisc.Init(model);
|
| | | itemBaisc.bindIcon.gameObject.SetActive(false);
|
| | | itemBaisc.auctionIcon.gameObject.SetActive(false);
|
| | | int strenLv = 0;
|
| | | if(model.GetUseDataModel((int)ItemUseDataKey.dogzEquipPlus) != null)
|
| | | if(model.GetUseData((int)ItemUseDataKey.dogzEquipPlus) != null)
|
| | | {
|
| | | strenLv = model.GetUseDataModel((int)ItemUseDataKey.dogzEquipPlus)[0];
|
| | | strenLv = model.GetUseData((int)ItemUseDataKey.dogzEquipPlus)[0];
|
| | | }
|
| | | if (strenLv > 0)
|
| | | {
|
| | |
| | | {
|
| | | strengLvTxt.gameObject.SetActive(false);
|
| | | }
|
| | | itemBaisc.cellBtn.RemoveAllListeners();
|
| | | itemBaisc.cellBtn.AddListener(()=>
|
| | | itemBaisc.button.RemoveAllListeners();
|
| | | itemBaisc.button.AddListener(()=>
|
| | | {
|
| | | tipsModel.SetItemTipsModel(model.packType,model.guid,false,false);
|
| | | tipsModel.SetDogzEquipBtn(tipsModel.curAttrData);
|