From 5b0b623cb9a058a819633709781d8392bebe0fc9 Mon Sep 17 00:00:00 2001 From: fatiao <515948292@qq.com> Date: Wed, 4 Mar 2026 19:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=B3=BB=E7=BB=9F=E6=B6=88?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua b/Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua index 28f0296f1..33c25d3dd 100644 --- a/Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua +++ b/Assets/Lua/UI/UILiveRoom/UILiveRoomView.lua @@ -788,13 +788,19 @@ function UILiveRoomView:GenChatItem(loopview, index, room_id) local data = chat_Records[room_id][id] if not data then return nil end - local name = tostring(data.player_info.nickname) local vip = tostring(data.player_info.vip_level or 0) if name == "" then name = "穿越者" end local level = tostring(data.player_info.level) local content = data.chat_content + if data.player_info.uid == 1000 then + itemlua.rect1:SetActive(false) + content = "【系统】"..content + else + itemlua.rect1:SetActive(true) + name = string.format("%s.Lv%s", name, level) + end itemlua.text_vip.text.text = vip or "0" itemlua.text_name.text.text = name .. ":" --.. ".Lv" .. level .. ":"