diff --git a/Assets/ManagedResources/~Lua/Modules/DynamicActivity/ActivityMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/DynamicActivity/ActivityMainPanel.lua index a25dde21e3..2e1bcab490 100644 --- a/Assets/ManagedResources/~Lua/Modules/DynamicActivity/ActivityMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/DynamicActivity/ActivityMainPanel.lua @@ -210,7 +210,17 @@ function this.PageTabAdapter(tab, index, status) if tabs[index].IfBack == 1 then if tabs[index].ActiveType > 0 then local id = ActivityGiftManager.IsActivityTypeOpen(tabs[index].ActiveType) - isshow = id and id > 0 and ActivityGiftManager.IsQualifiled(tabs[index].ActiveType) and (tabs[index].ActiveType == ActivityTypeDef.DynamicAct or tabs[index].ActiveType == ActivityTypeDef.LimitUpHero or not GlobalActConfig[id].ShowArt or GlobalActConfig[id].ShowArt < 1 or GlobalActConfig[id].ShowArt == this.activityType) + if id and id > 0 and ActivityGiftManager.IsQualifiled(tabs[index].ActiveType) then + if GlobalActConfig[id].ShowArt and GlobalActConfig[id].ShowArt > 0 then + if tabs[index].ActiveType == ActivityTypeDef.DynamicAct or tabs[index].ActiveType == ActivityTypeDef.LimitUpHero then + isshow = true + elseif GlobalActConfig[id].ShowArt == this.activityType then + isshow = true + end + else + isshow = true + end + end elseif tabs[index].FunType > 0 then isshow = ActTimeCtrlManager.SingleFuncState(tabs[index].FunType) else