聊天修改限制条件 天天0.1界面修改

tcx_xiyou_bt_dev
wangzhenxing 2024-06-25 19:10:42 +08:00
parent 66bb7be784
commit 1a4ae6fe3a
2 changed files with 4 additions and 3 deletions

View File

@ -218,7 +218,7 @@ function this.OnTabChange(index, lastIndex)
LogError("VipManager.GetChargedNum()=="..VipManager.GetChargedNum())
--ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT)
--xiao7 渠道
if VipManager.GetChargedNum()>=30 and chanel and chanel=="ZZXX" or FightPointPassManager.soldierLayerId>200 then
if VipManager.GetChargedNum()>=50 and chanel and (chanel=="ZZXX" or chanel=="ZZXXXQ" )or FightPointPassManager.IsFightPointPass(4011) then
this.input:SetActive(true)
this.noInputTip:SetActive(false)
--其他渠道及本地
@ -228,8 +228,8 @@ function this.OnTabChange(index, lastIndex)
else
this.input:SetActive(false)
this.noInputTip:SetActive(true)
if chanel and chanel=="ZZXX" then
this.noInputTip:GetComponent("Text").text = "真实累充30元或通关200关可发言"
if chanel and (chanel=="ZZXX" or chanel=="ZZXXXQ" )then
this.noInputTip:GetComponent("Text").text = "累计充值50元 或 通关4-1副本才可发言"
else
this.noInputTip:GetComponent("Text").text = "真实累值10元或通关20关可发言"
end

View File

@ -105,6 +105,7 @@ function ZeroPointOnePanel:SetSingleReward(item,i,data,config)
local kuang = Util.GetGameObject(item,"kuang"):GetComponent("Image")
local reward = Util.GetGameObject(item,"kuang/reward")
local event = Util.GetGameObject(item,"kuang/reward/event")
event:SetActive(false)
local day = Util.GetGameObject(item,"kuang/reward/days"):GetComponent("Text")
local icon = Util.GetGameObject(item,"kuang/reward/icon")