优化
This commit is contained in:
parent
2dbe46c258
commit
fd24935c4b
@ -63,6 +63,8 @@ function BattleActPvpResultUI:onLoadRootComplete()
|
|||||||
self.unitTxDesc3 = uiMap["battle_rune_result_ui.unit_node.desc_3"]
|
self.unitTxDesc3 = uiMap["battle_rune_result_ui.unit_node.desc_3"]
|
||||||
self.unitImgReportV = uiMap["battle_rune_result_ui.unit_node.report_img_v"]
|
self.unitImgReportV = uiMap["battle_rune_result_ui.unit_node.report_img_v"]
|
||||||
self.unitImgReportD = uiMap["battle_rune_result_ui.unit_node.report_img_d"]
|
self.unitImgReportD = uiMap["battle_rune_result_ui.unit_node.report_img_d"]
|
||||||
|
self.txFightWin = uiMap["battle_actpvp_result_ui.unit_node.tx_fight"]
|
||||||
|
self.txFightLose = uiMap["battle_actpvp_result_ui.unit_node.tx_fight_lose"]
|
||||||
if not self.unitResultReportCells then
|
if not self.unitResultReportCells then
|
||||||
self.unitResultReportCells = {}
|
self.unitResultReportCells = {}
|
||||||
for index = 1, 5 do
|
for index = 1, 5 do
|
||||||
@ -188,8 +190,8 @@ function BattleActPvpResultUI:refreshUnitInfo()
|
|||||||
self.unitTxDesc3:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_7, GFunc.num2Str(self.totalDmg)))
|
self.unitTxDesc3:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_7, GFunc.num2Str(self.totalDmg)))
|
||||||
|
|
||||||
local actData = DataManager.ActPvpData
|
local actData = DataManager.ActPvpData
|
||||||
local str = I18N:getGlobalText(I18N.GlobalConst.ACT_PVP_DESC_3, actData:getWinCount(), actData:getWinLimit(), actData:getLoseCount(), actData:getLoseLimit())
|
self.txFightWin:setText(actData:getWinCount() .. "/" .. actData:getWinLimit())
|
||||||
self.unitTxDesc1:setText(str)
|
self.txFightLose:setText(actData:getLoseCount() .. "/" .. actData:getLoseLimit())
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 展示结算奖励的出现动画
|
-- 展示结算奖励的出现动画
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user