【活动开启】提审服关闭日周月礼包
parent
e99b368abb
commit
52a2ecabd6
|
@ -12,6 +12,7 @@ function this.SetisFirstLogVal(isDayFirst)
|
|||
end
|
||||
end
|
||||
function this.SendCustomEvents(CustomType,info)
|
||||
LogGreen("埋点上报数据 SendCustomEvents : "..CustomType)
|
||||
if not AppConst.isSDKLogin then return end
|
||||
local curConfigData = nil
|
||||
info = tonumber(info)
|
||||
|
|
|
@ -436,7 +436,8 @@ function this.GetActivityTableDataByPageInde(pageIndex)
|
|||
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.ActivityGroups,"PageType",pageIndex)
|
||||
for i = 1 , #configs do
|
||||
if configs[i].ActiveType > 0 then
|
||||
if ActivityGiftManager.IsActivityTypeOpen(configs[i].ActiveType) then
|
||||
-- 如果是正式服的话全都显示,如果是提审服只显示开了的活动
|
||||
if SERVER_VERSION == 0 or ActivityGiftManager.IsActivityTypeOpen(configs[i].ActiveType) then
|
||||
if not activityDic[configs[i].ActiveType] then
|
||||
activityDic[configs[i].ActiveType] = configs[i]
|
||||
table.insert(activityGroupsData,configs[i])
|
||||
|
|
|
@ -642,12 +642,12 @@ function this.CreatActivity()
|
|||
if not activityTabs[k] then
|
||||
activityTabs[k] = {}
|
||||
activityTabs[k].go = newObjToParent(this.activityTabPrefab,this.RightUp)
|
||||
activityTabs[k].go.gameObject.name = "tab"..v.Id
|
||||
activityTabs[k].img = Util.GetGameObject(activityTabs[k].go, "icon"):GetComponent("Image")
|
||||
activityTabs[k].timeImg = Util.GetGameObject(activityTabs[k].go, "Image_1")
|
||||
activityTabs[k].timeText = Util.GetGameObject(activityTabs[k].timeImg, "time"):GetComponent("Text")
|
||||
activityTabs[k].redpot = Util.GetGameObject(activityTabs[k].go, "redPoint")
|
||||
end
|
||||
activityTabs[k].go.gameObject.name = "tab"..v.Id
|
||||
activityTabs[k].go.gameObject:SetActive(false)
|
||||
if v.ShowTime == 0 then
|
||||
activityTabs[k].timeImg.gameObject:SetActive(false)
|
||||
|
|
Loading…
Reference in New Issue