From dff7664cab5a0367d8e29f80921ca602e0e74f4c Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Wed, 26 Jul 2023 10:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=3D=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=3D=3D=3D=3D=3D=E6=B7=BB=E5=8A=A0=E8=81=8A=E5=A4=A9=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua b/Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua index 5452d58bb7..410beb64a7 100644 --- a/Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Chat/ChatPanel.lua @@ -214,13 +214,14 @@ function this.OnTabChange(index, lastIndex) if this._CurChannel == CHAT_CHANNEL.FAMILY or this._CurChannel == CHAT_CHANNEL.GLOBAL or this._CurChannel == CHAT_CHANNEL.JUMP_SERVER then local mission=ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan,2202) local state=mission.state - if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT) then + LogError("VipManager.GetChargedNum()=="..VipManager.GetChargedNum()) + if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT) and VipManager.GetChargedNum()>=10000 then this.input:SetActive(true) this.noInputTip:SetActive(false) else this.input:SetActive(false) this.noInputTip:SetActive(true) - this.noInputTip:GetComponent("Text").text = "等级达到20级才可发言" + this.noInputTip:GetComponent("Text").text = "等级达到20级且折扣后真实充值达到100元才可发言" end elseif this._CurChannel == CHAT_CHANNEL.FRIEND or this._CurChannel == CHAT_CHANNEL.SYSTEM then this.input:SetActive(false) @@ -523,6 +524,7 @@ function this.ChatItemAdapter(node, data, isShowTime) elseif chat.type == GLOBAL_CHAT_TYPE.GUILD_AID then Util.AddOnceClick(content.gameObject, function() JumpManager.GoJump(72001) + end) end elseif this._CurChannel == CHAT_CHANNEL.JUMP_SERVER then