处理界面
This commit is contained in:
parent
704ac4757e
commit
37b12e064e
@ -202,23 +202,13 @@ function DungeonRuneRankUI:refreshMyRankInfo()
|
|||||||
roundObj:setText(I18N:getGlobalText(I18N.GlobalConst.DUNGEON_RUNE_DESC_11, round))
|
roundObj:setText(I18N:getGlobalText(I18N.GlobalConst.DUNGEON_RUNE_DESC_11, round))
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.curPage ~= PAGE_TYPE.REWARD then
|
|
||||||
layerObj:setVisible(true)
|
|
||||||
roundObj:setVisible(true)
|
|
||||||
for index, cell in ipairs(self.selfRewardCells) do
|
|
||||||
cell:getBaseObject():setActive(false)
|
|
||||||
end
|
|
||||||
else
|
|
||||||
layerObj:setVisible(false)
|
|
||||||
roundObj:setVisible(false)
|
|
||||||
|
|
||||||
local got = self.runeData:isGotRankReward()
|
local got = self.runeData:isGotRankReward()
|
||||||
local rewards
|
local rewards
|
||||||
if canGot then
|
if canGot then
|
||||||
rewards = DataManager.ActBossRushData:getRankRewards(rank)
|
rewards = self.runeData:getRankRewards(rank)
|
||||||
else
|
else
|
||||||
info = DataManager.ActBossRushData:getCurRankSelfInfo()
|
info = self.runeData:getCurRankSelfInfo()
|
||||||
rewards = DataManager.ActBossRushData:getRankRewards(info.rank or 0)
|
rewards = self.runeData:getRankRewards(info.rank or 0)
|
||||||
got = false
|
got = false
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -240,7 +230,6 @@ function DungeonRuneRankUI:refreshMyRankInfo()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
function DungeonRuneRankUI:refreshTime()
|
function DungeonRuneRankUI:refreshTime()
|
||||||
local uiMap = self.root:genAllChildren()
|
local uiMap = self.root:genAllChildren()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user