【寻宝迷踪】活动结束跳回还弹出奖励修改
parent
9d8fa02bcc
commit
6c17058b8e
|
@ -40,10 +40,16 @@ function this:OnShow(_parent,...)
|
|||
end
|
||||
|
||||
function this:Refresh(isTop,isAni)
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.XunBaoMiZong)
|
||||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(ActivityTypeDef.XunBaoMiZong) then
|
||||
local dataList = self.actData.FreelyData
|
||||
self.scrollView:SetData(dataList, function (index, item)
|
||||
this:ShowSingleItem(item, dataList[index],index)
|
||||
end,not isTop,not isAni)
|
||||
else
|
||||
self.parent:ClosePanel()
|
||||
PopupTipPanel.ShowTip("活动尚未开启")
|
||||
end
|
||||
end
|
||||
|
||||
function this:ShowSingleItem(go,data,index)
|
||||
|
|
Loading…
Reference in New Issue