【十绝阵】未产生宝箱时显示的领取截止时间错误

dev_chengFeng
zhangqiang 2021-04-06 11:38:25 +08:00
parent 5ab1295c10
commit a9d77de2b2
3 changed files with 7 additions and 3 deletions

View File

@ -236,7 +236,10 @@ end
function GetTimeMaoHaoStrBySeconds(_seconds)
return os.date("%M:%S", _seconds)
end
--秒转换成文字对应时间只有月日时
function GetTimeMonthDayMinBySeconds(_seconds)
return os.date("%m月%d日%H时", _seconds)
end
function PrintTable(root)
local cache = { [root] = "." }
local function _dump(t, space, name)

View File

@ -140,7 +140,8 @@ function this.RefreshPanel()
else
this.TimeCountDown(msg.overTime)
end
DeathPosManager.rewardTimeTip=Language[11031]..TimeStampToDateStr(GetTimeStamp()+(msg.overTime-GetTimeStamp()))..Language[11032]
DeathPosManager.rewardTimeTip= Language[11031]..GetTimeMonthDayMinBySeconds(msg.overTime)..Language[11032]
DeathPosManager.battleTime=DeathPosManager.maxBattleTime-msg.challengeCount
this.battleTime.text=Language[10520].. DeathPosManager.battleTime
DeathPosManager.SetGuildInfoData(msg.infos)

View File

@ -41,7 +41,7 @@ function DeathPosRewardPopup:RemoveListener()
Game.GlobalEvent:RemoveEvent(GameEvent.Guild.RefreshDeathPosReward, this.SetIndicationData)
end
function DeathPosRewardPopup:OnOpen(...)
this.SetIndicationData()
end
function DeathPosRewardPopup:OnShow()