聊天开启条件修改

tcx_xiyou_dev
wangzhenxing 2024-05-17 17:55:44 +08:00
parent 092273d825
commit 0091feefd8
1 changed files with 4 additions and 4 deletions

View File

@ -218,20 +218,20 @@ function this.OnTabChange(index, lastIndex)
LogError("VipManager.GetChargedNum()=="..VipManager.GetChargedNum()) LogError("VipManager.GetChargedNum()=="..VipManager.GetChargedNum())
--ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT) --ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT)
--xiao7 渠道 --xiao7 渠道
if VipManager.GetChargedNum()>=30 and chanel and chanel=="ZZXX" and then if VipManager.GetChargedNum()>=30 and chanel and chanel=="ZZXX" then
this.input:SetActive(true) this.input:SetActive(true)
this.noInputTip:SetActive(false) this.noInputTip:SetActive(false)
--其他渠道及本地 --其他渠道及本地
elseif VipManager.GetChargedNum()>=10000 then elseif VipManager.GetChargedNum()>=10 then
this.input:SetActive(true) this.input:SetActive(true)
this.noInputTip:SetActive(false) this.noInputTip:SetActive(false)
else else
this.input:SetActive(false) this.input:SetActive(false)
this.noInputTip:SetActive(true) this.noInputTip:SetActive(true)
if chanel and chanel=="ZZXX" then if chanel and chanel=="ZZXX" then
this.noInputTip:GetComponent("Text").text = "真实累充30元并通关 可发言" this.noInputTip:GetComponent("Text").text = "真实累充30元可发言"
else else
--this.noInputTip:GetComponent("Text").text = "折扣后实际充值100元可发言" this.noInputTip:GetComponent("Text").text = "真实累充10元可发言"
end end
end end