屏蔽两个活动按钮
parent
8006a761aa
commit
d45dbb9679
|
@ -1019,6 +1019,10 @@ function this.CreatActivity()
|
||||||
else
|
else
|
||||||
activityTabs[k].timeImg.gameObject:SetActive(true)
|
activityTabs[k].timeImg.gameObject:SetActive(true)
|
||||||
end
|
end
|
||||||
|
if v.Id==6 or v.Id==9 then
|
||||||
|
activityTabs[k].go.gameObject:SetActive(false)
|
||||||
|
end
|
||||||
|
|
||||||
activityTabs[k].activityname.text=v.Sesc
|
activityTabs[k].activityname.text=v.Sesc
|
||||||
if v.ActiveType > 0 then
|
if v.ActiveType > 0 then
|
||||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
local activityId = ActivityGiftManager.IsActivityTypeOpen(v.ActiveType)
|
||||||
|
@ -1055,7 +1059,7 @@ function this.CreatActivity()
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.RefreshLayer(showTab,k,v)
|
function this.RefreshLayer(showTab,k,v)
|
||||||
if showTab then
|
if showTab and v.Id~=6 and v.Id~=9 then
|
||||||
activityTabs[k].go.gameObject:SetActive(true)
|
activityTabs[k].go.gameObject:SetActive(true)
|
||||||
if v.ListType == -1 or activeSelfTabs[v.Sort] then
|
if v.ListType == -1 or activeSelfTabs[v.Sort] then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue