【主题活动】点击页签打开,第一个活动不是选中状态
parent
10156d63e6
commit
9d3b560c50
|
|
@ -277,7 +277,11 @@ function DynamicActivityPanel:OnShow()
|
|||
this.tabList:SetActive(true)
|
||||
this.bottomBar:SetActive(true)
|
||||
this.mask:SetActive(false)
|
||||
if _CurPageIndex then
|
||||
if _CurPageIndex and _CurPageIndex == 1 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.DynamicAct)
|
||||
_CurPageIndex = GlobalActConfig[id].ShowArt
|
||||
this.PageTabCtrl:ChangeTab(_CurPageIndex)
|
||||
elseif _CurPageIndex then
|
||||
this.PageTabCtrl:ChangeTab(_CurPageIndex)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue