累计充值活动时间修改
parent
6eea4b5111
commit
6687d0425f
|
@ -63,7 +63,7 @@ function LeiJiChongZhiPage:SetTime()
|
|||
self.timer:Stop()
|
||||
self.timer = nil
|
||||
end
|
||||
local timeDown = endtime - GetTimeStamp()
|
||||
local timeDown = endtime
|
||||
this.time.text = Language[10028]..TimeToDHMS(timeDown)
|
||||
self.timer = Timer.New(function()
|
||||
timeDown = timeDown - 1
|
||||
|
@ -81,7 +81,12 @@ end
|
|||
function LeiJiChongZhiPage:OnShowData()
|
||||
allData =OperatingManager.InitLeiJiChongZhiData(curtype)
|
||||
if allData then
|
||||
endtime = ActivityGiftManager.GetTaskEndTime(curtype)
|
||||
if curtype == ActivityTypeDef.AccumulativeRechargeExper then
|
||||
endtime = CalculateSecondsNowTo_N_OClock(5)
|
||||
else
|
||||
endtime = ActivityGiftManager.GetTaskEndTime(curtype) - GetTimeStamp()
|
||||
end
|
||||
|
||||
this.SortData(allData)
|
||||
this.ScrollView:SetData(allData, function (index, go)
|
||||
this.SingleDataShow(go, allData[index])
|
||||
|
|
Loading…
Reference in New Issue