Branch_oumei
			
			
		
		
							parent
							
								
									ca5b7bd94e
								
							
						
					
					
						commit
						188933871f
					
				| 
						 | 
					@ -649,7 +649,7 @@ function this:OnShow()
 | 
				
			||||||
        if PlayerManager.level >= 10 and VipManager.GetVipLevel() == 0 then
 | 
					        if PlayerManager.level >= 10 and VipManager.GetVipLevel() == 0 then
 | 
				
			||||||
            --读取本地是否弹过
 | 
					            --读取本地是否弹过
 | 
				
			||||||
            local isEject = PlayerPrefs.GetInt(PlayerManager.uid .. "FirstRechargePanelisEject") == 0
 | 
					            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)
 | 
					                PlayerPrefs.SetInt(PlayerManager.uid .. "FirstRechargePanelisEject", 1)
 | 
				
			||||||
                UIManager.OpenPanel(UIName.FirstRechargePanel)
 | 
					                UIManager.OpenPanel(UIName.FirstRechargePanel)
 | 
				
			||||||
            end
 | 
					            end
 | 
				
			||||||
| 
						 | 
					@ -657,7 +657,7 @@ function this:OnShow()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        -- 刷新拍脸
 | 
					        -- 刷新拍脸
 | 
				
			||||||
        if patFaceAllData and #patFaceAllData > 0 and not UIManager.IsOpen(UIName.PatFacePanel) then
 | 
					        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)
 | 
					                FirstRechargeManager.PlayerPrefsSetStrItemId(1)
 | 
				
			||||||
                --发送埋点数据
 | 
					                --发送埋点数据
 | 
				
			||||||
                patBool = false
 | 
					                patBool = false
 | 
				
			||||||
| 
						 | 
					@ -1017,7 +1017,7 @@ end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function this:TabBtnAction(id, actType, data)
 | 
					function this:TabBtnAction(id, actType, data)
 | 
				
			||||||
    if actType == 1 then
 | 
					    if actType == 1 then
 | 
				
			||||||
        if id == ActivityTypeDef.FirstRecharge then
 | 
					        if id == ActivityTypeDef.FirstRecharge and GetChannelConfig().Button_PlayerSet_Exchange then
 | 
				
			||||||
            UIManager.OpenPanel(UIName.FirstRechargePanel)
 | 
					            UIManager.OpenPanel(UIName.FirstRechargePanel)
 | 
				
			||||||
        elseif id == ActivityTypeDef.SevenDayCarnival then
 | 
					        elseif id == ActivityTypeDef.SevenDayCarnival then
 | 
				
			||||||
            UIManager.OpenPanel(UIName.SevenDayCarnivalPanelV2, SevenDayCarnivalManager.GetPriorityDayNumber())
 | 
					            UIManager.OpenPanel(UIName.SevenDayCarnivalPanelV2, SevenDayCarnivalManager.GetPriorityDayNumber())
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -718,7 +718,9 @@ local jumpDic = {
 | 
				
			||||||
        end
 | 
					        end
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
    [JumpType.firstRecharge] = function(data)
 | 
					    [JumpType.firstRecharge] = function(data)
 | 
				
			||||||
        UIManager.OpenPanel(UIName.FirstRechargePanel)
 | 
					        if GetChannelConfig().Button_PlayerSet_Exchange then
 | 
				
			||||||
 | 
					            UIManager.OpenPanel(UIName.FirstRechargePanel)
 | 
				
			||||||
 | 
					        end
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
    [JumpType.ZhiZunJiangShi] = function(data)
 | 
					    [JumpType.ZhiZunJiangShi] = function(data)
 | 
				
			||||||
        UIManager.OpenPanel(UIName.SupremeHeroPopup)
 | 
					        UIManager.OpenPanel(UIName.SupremeHeroPopup)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue