diff --git a/Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua b/Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua index 064f1b2b22..f485a8ceae 100644 --- a/Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua @@ -2,6 +2,7 @@ require("Base/BasePanel") local ChatPanel = Inherit(BasePanel) local this = ChatPanel local itemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig) +local specialConfig = ConfigManager.GetConfig(ConfigName.SpecialConfig) local TabBox = require("Modules/Common/TabBox") local _TabFontColor = { @@ -233,13 +234,13 @@ function this.OnTabChange(index, lastIndex) LogError("VipManager.GetChargedNum()==" .. VipManager.GetChargedNum()) --ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT) --xiao7 渠道 - if VipManager.GetChargedNum() >= 50 and chanel and (chanel == "ZZXX" or chanel == "ZZXXXQ") or FightPointPassManager.IsFightPointPass(4011) then + if VipManager.GetChargedNum() >= specialConfig[196].Value or PlayerManager.level >= specialConfig[197].Value then this.input:SetActive(true) this.noInputTip:SetActive(false) --其他渠道及本地 - elseif FightPointPassManager.IsFightPointPass(4011) then - this.input:SetActive(true) - this.noInputTip:SetActive(false) + --elseif FightPointPassManager.IsFightPointPass(4011) then + --this.input:SetActive(true) + --this.noInputTip:SetActive(false) else this.input:SetActive(false) this.noInputTip:SetActive(true)