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