Branch_oumei
zhangjiannan 2025-09-05 16:34:16 +08:00
parent ca5b7bd94e
commit 188933871f
2 changed files with 6 additions and 4 deletions

View File

@ -649,7 +649,7 @@ function this:OnShow()
if PlayerManager.level >= 10 and VipManager.GetVipLevel() == 0 then
--读取本地是否弹过
local isEject = PlayerPrefs.GetInt(PlayerManager.uid .. "FirstRechargePanelisEject") == 0
if isEject then
if isEject and GetChannelConfig().Button_PlayerSet_Exchange then
PlayerPrefs.SetInt(PlayerManager.uid .. "FirstRechargePanelisEject", 1)
UIManager.OpenPanel(UIName.FirstRechargePanel)
end
@ -657,7 +657,7 @@ function this:OnShow()
-- 刷新拍脸
if patFaceAllData and #patFaceAllData > 0 and not UIManager.IsOpen(UIName.PatFacePanel) then
if FirstRechargeManager.IsShowFirstChatge() then
if FirstRechargeManager.IsShowFirstChatge() and GetChannelConfig().Button_PlayerSet_Exchange then
FirstRechargeManager.PlayerPrefsSetStrItemId(1)
--发送埋点数据
patBool = false
@ -1017,7 +1017,7 @@ end
function this:TabBtnAction(id, actType, data)
if actType == 1 then
if id == ActivityTypeDef.FirstRecharge then
if id == ActivityTypeDef.FirstRecharge and GetChannelConfig().Button_PlayerSet_Exchange then
UIManager.OpenPanel(UIName.FirstRechargePanel)
elseif id == ActivityTypeDef.SevenDayCarnival then
UIManager.OpenPanel(UIName.SevenDayCarnivalPanelV2, SevenDayCarnivalManager.GetPriorityDayNumber())

View File

@ -718,7 +718,9 @@ local jumpDic = {
end
end,
[JumpType.firstRecharge] = function(data)
UIManager.OpenPanel(UIName.FirstRechargePanel)
if GetChannelConfig().Button_PlayerSet_Exchange then
UIManager.OpenPanel(UIName.FirstRechargePanel)
end
end,
[JumpType.ZhiZunJiangShi] = function(data)
UIManager.OpenPanel(UIName.SupremeHeroPopup)