Merge branch 'master_develop' of http://60.1.1.230/gaoxin/JL_Client into master_develop
commit
62c282f6e0
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -75,6 +75,7 @@ function this.SetCardSingleData(go,monsterId,_pos)
|
|||
local curPos=roleConfig[heroConfig.Id].offset
|
||||
liveNodes[_pos] = poolManager:LoadLive(liveNames[_pos], live.transform, Vector3.one * _scale, Vector3.New(curPos[1],curPos[2],0))
|
||||
liveNodes[_pos]:GetComponent("SkeletonGraphic").raycastTarget=false
|
||||
liveNodes[_pos]:GetComponent("RectTransform").sizeDelta = Vector2.New(500, 500)
|
||||
end
|
||||
--界面关闭时调用(用于子类重写)
|
||||
function GuildCarDelayFindBossPopup:OnClose()
|
||||
|
|
|
@ -196,6 +196,21 @@ function ItemView:GetRewardShow(_itemData, effectLayer)
|
|||
Util.AddOnceClick(self.frameBtn, function()
|
||||
UIManager.OpenPanel(UIName.RewardItemSingleShowPopup, _itemData.backData.itemId,nil,self.isRewardItemPop)
|
||||
end)
|
||||
elseif _itemData.configData.ItemType == ItemType.Equip then
|
||||
--装备
|
||||
self.num:SetActive(_itemData.num > 1)
|
||||
self.num:GetComponent("Text").text = _itemData.num
|
||||
self.name:GetComponent("Text").text = _itemData.configData.Name
|
||||
self.starGrid:SetActive(true)
|
||||
EquipManager.SetEquipStarShow(self.starGrid, _itemData.configData.Id)
|
||||
Util.AddOnceClick(self.frameBtn, function()
|
||||
UIManager.OpenPanel(UIName.RewardEquipSingleShowPopup, _itemData.backData,nil,self.isRewardItemPop)
|
||||
end)
|
||||
if effectLayer > 0 then
|
||||
self.UI_Effect_Kuang_JinSe:SetActive(_itemData.configData.Quantity == 5 or _itemData.configData.Quantity == 4)
|
||||
self.UI_Effect_Kuang_HongSe:SetActive(_itemData.configData.Quantity == 6)
|
||||
self.UI_effect_WuCai_Kuang:SetActive(_itemData.configData.Quantity == 7)
|
||||
end
|
||||
elseif _itemData.configData.ItemType == ItemType.Blueprint then
|
||||
local lanTuData = WorkShopManager.GetLanTuIsOpenLock(_itemData.backData.itemId)
|
||||
if lanTuData then
|
||||
|
@ -223,7 +238,8 @@ function ItemView:GetRewardShow(_itemData, effectLayer)
|
|||
self.num:SetActive(_itemData.num > 1)
|
||||
self.num:GetComponent("Text").text = _itemData.num
|
||||
self.name:GetComponent("Text").text = _itemData.configData.Name
|
||||
EquipManager.SetEquipStarShow(self.starGrid,_itemData.configData.Id)
|
||||
self.starGrid:SetActive(true)
|
||||
EquipManager.SetEquipStarShow(self.starGrid, _itemData.configData.Id)
|
||||
Util.AddOnceClick(self.frameBtn, function()
|
||||
--Log("self.isRewardItemPop "..tostring(self.isRewardItemPop))
|
||||
UIManager.OpenPanel(UIName.RewardEquipSingleShowPopup, _itemData.backData,nil,self.isRewardItemPop)
|
||||
|
@ -380,6 +396,7 @@ function ItemView:NoGetRewardShow(_reward, effectLayer, isShowAddImage)
|
|||
self.num:GetComponent("Text").text = PrintWanNum(itemNum and itemNum or 0)
|
||||
self.frame.sprite = Util.LoadSprite(GetQuantityImageByquality(itemConfig[itemSId].Quantity))
|
||||
self.icon.sprite = Util.LoadSprite(GetResourcePath(itemConfig[itemSId].ResourceID))
|
||||
self.starGrid:SetActive(true)
|
||||
EquipManager.SetEquipStarShow(self.starGrid,itemSId)
|
||||
if effectLayer > 0 then
|
||||
self.UI_Effect_Kuang_JinSe:SetActive(itemDataConFig.Quantity == 5 or itemDataConFig.Quantity == 4)
|
||||
|
|
Loading…
Reference in New Issue