累计充值修改提交
parent
37ae683bf1
commit
0f5faff70f
|
@ -81,7 +81,7 @@ end
|
||||||
function LeiJiChongZhiPage:OnShowData()
|
function LeiJiChongZhiPage:OnShowData()
|
||||||
allData =OperatingManager.InitLeiJiChongZhiData(type)
|
allData =OperatingManager.InitLeiJiChongZhiData(type)
|
||||||
if allData then
|
if allData then
|
||||||
endtime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.AccumulativeRechargeExper)
|
endtime = ActivityGiftManager.GetTaskEndTime(type)
|
||||||
this.SortData(allData)
|
this.SortData(allData)
|
||||||
this.ScrollView:SetData(allData, function (index, go)
|
this.ScrollView:SetData(allData, function (index, go)
|
||||||
this.SingleDataShow(go, allData[index])
|
this.SingleDataShow(go, allData[index])
|
||||||
|
@ -161,7 +161,7 @@ function this.SingleDataShow(pre,value)
|
||||||
|
|
||||||
Util.AddOnceClick(lingquButton, function()
|
Util.AddOnceClick(lingquButton, function()
|
||||||
if state == 2 then
|
if state == 2 then
|
||||||
local curActivityId = ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.AccumulativeRechargeExper)
|
local curActivityId = ActivityGiftManager.GetActivityIdByType(type)
|
||||||
NetManager.GetActivityRewardRequest(sConFigData.id, curActivityId,function(drop)
|
NetManager.GetActivityRewardRequest(sConFigData.id, curActivityId,function(drop)
|
||||||
UIManager.OpenPanel(UIName.RewardItemPopup, drop, 1)
|
UIManager.OpenPanel(UIName.RewardItemPopup, drop, 1)
|
||||||
this.Refresh()
|
this.Refresh()
|
||||||
|
|
Loading…
Reference in New Issue