领取奖励界面修改提交
parent
e177f63787
commit
cf02c49ac5
|
@ -163,7 +163,14 @@ function RewardItemPopup:OnOpen(...)
|
|||
local isHideBG = args[6]
|
||||
this.btnBack:GetComponent("Image").color = Color.New(0, 0, 0, isHideBG and 0 or 0.8)
|
||||
this.btnGoOn:SetActive(not isHideBG)
|
||||
|
||||
if compShowType == CompShowType.fourElement then
|
||||
this.ScrollView.gameObject:SetActive(false)
|
||||
this.dropPrefab.gameObject:SetActive(false)
|
||||
this.ScrollView2.gameObject:SetActive(false)
|
||||
this.shenying.gameObject:SetActive(true)
|
||||
this.ShengYingShow(args[8])
|
||||
return
|
||||
end
|
||||
if not drop then
|
||||
this.GuildCarDelayShow()
|
||||
this.guildCarDelay:SetActive(compShowType == 3)
|
||||
|
@ -179,14 +186,7 @@ function RewardItemPopup:OnOpen(...)
|
|||
this.GuildTranscriptShow()
|
||||
end
|
||||
|
||||
if compShowType == CompShowType.fourElement then
|
||||
this.ScrollView.gameObject:SetActive(false)
|
||||
this.dropPrefab.gameObject:SetActive(false)
|
||||
this.ScrollView2.gameObject:SetActive(false)
|
||||
this.shenying.gameObject:SetActive(true)
|
||||
this.ShengYingShow(args[8])
|
||||
return
|
||||
end
|
||||
|
||||
local starItemDataList=BagManager.GetItemListFromTempBag(drop)
|
||||
-- LogError("获取宝物的数量:".. LengthOfTable(starItemDataList))
|
||||
--做装备叠加特殊组拼数据
|
||||
|
@ -521,6 +521,7 @@ function RewardItemPopup:ItemDataListSort(itemDataList)
|
|||
end
|
||||
--界面关闭时调用(用于子类重写)
|
||||
function RewardItemPopup:OnClose()
|
||||
compShowType = 0
|
||||
if compShowType == CompShowType.fourElement then
|
||||
return
|
||||
end
|
||||
|
@ -539,8 +540,6 @@ function RewardItemPopup:OnClose()
|
|||
return
|
||||
end
|
||||
end
|
||||
|
||||
compShowType = 0
|
||||
if func and not isPopGetSSR then
|
||||
if fightConFigData and fightConFigData.PicShow == 1 and FightPointPassManager.isOpenNewChapter then
|
||||
func(isBackBattle)
|
||||
|
|
Loading…
Reference in New Issue