parent
39b9488286
commit
763c45ebd0
|
@ -80,14 +80,11 @@ function RewardItemSingleShowPopup:BindEvent()
|
|||
item.itemNum=compoundNum*_itemData.itemConfig.UsePerCount
|
||||
if endHeroNum > 0 then
|
||||
NetManager.HeroComposeRequest(item,function (drop)
|
||||
self:ClosePanel()
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup,drop,1,function ()
|
||||
end,nil,nil,nil,true)
|
||||
this.SendBackCompoundReCallBack(drop)
|
||||
end)
|
||||
if compoundNum<=0 then
|
||||
PopupTipPanel.ShowTip(Language[10183])
|
||||
end
|
||||
|
||||
else
|
||||
PopupTipPanel.ShowTip(Language[12157])
|
||||
end
|
||||
|
@ -226,11 +223,19 @@ end
|
|||
|
||||
local callBackFun
|
||||
function this.SendBackCompoundReCallBack(drop)
|
||||
--this:ClosePanel()
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup,drop,1,function ()
|
||||
--UIManager.OpenPanel(UIName.BagPanel)
|
||||
-- if callBackFun then
|
||||
-- callBackFun()
|
||||
func()
|
||||
-- end
|
||||
end,nil,nil,nil,true)
|
||||
--改为后端刷新了
|
||||
--BagManager.UpdateItemsNum(itemData.id,compoundNum*itemData.itemConfig.UsePerCount)
|
||||
end
|
||||
|
||||
|
||||
--扣除解锁蓝图材料 并数据
|
||||
function this.DeleteActiveLanTuData()
|
||||
PopupTipPanel.ShowTip(Language[11515] .. GetLanguageStrById(itemConfigData.Name))
|
||||
|
|
Loading…
Reference in New Issue