【福星高照】bug修复

dev_chengFeng
ZhangBiao 2021-05-28 16:20:14 +08:00
parent a7f4b320d7
commit ea4662a447
2 changed files with 10 additions and 5 deletions

View File

@ -204,11 +204,7 @@ function this.PageTabAdapter(tab, index, status)
isshow = true
end
else
if tabs[index].ActiveType > 0 then
isshow = ActivityGiftManager.IsQualifiled(tabs[index].ActiveType)
elseif tabs[index].FunType > 0 then
isshow = ActTimeCtrlManager.IsQualifiled(tabs[index].FunType)
elseif tabs[index].ActiveType == ActivityTypeDef.FuXingGaoZhao then--福星高照特殊处理
if tabs[index].ActiveType == ActivityTypeDef.FuXingGaoZhao then--福星高照特殊处理
local ActData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FuXingGaoZhao)
if ActData then
isshow = ActData.value ~= 2
@ -222,6 +218,11 @@ function this.PageTabAdapter(tab, index, status)
else
isshow = false
end
elseif tabs[index].ActiveType > 0 then
isshow = ActivityGiftManager.IsQualifiled(tabs[index].ActiveType)
elseif tabs[index].FunType > 0 then
isshow = ActTimeCtrlManager.IsQualifiled(tabs[index].FunType)
else
isshow = true
end

View File

@ -50,6 +50,10 @@ function FuXingGaoZhaoPanel:BindEvent()
MsgPanel.ShowTwo(string.format(Language[12243],costNum,GetLanguageStrById(itemName)), nil, function()
NetManager.FuXingStoreBuyRequest(self.data.activityId,function ()
PopupTipPanel.ShowTip(Language[12244])
if self.timer then
self.timer:Stop()
self.timer = nil
end
self:Refresh()
end)
end)