From e118c2746e70581dd5b79fdd40d40be6973d1313 Mon Sep 17 00:00:00 2001 From: fatiao <515948292@qq.com> Date: Thu, 12 Feb 2026 15:31:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E9=A1=B5=E9=9D=A2-=E9=80=9A?= =?UTF-8?q?=E8=AE=AF=E5=BD=95-=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Lua/UI/UIChat/UIChatView.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Lua/UI/UIChat/UIChatView.lua b/Assets/Lua/UI/UIChat/UIChatView.lua index 4d03547f3..e6186ffcf 100644 --- a/Assets/Lua/UI/UIChat/UIChatView.lua +++ b/Assets/Lua/UI/UIChat/UIChatView.lua @@ -1011,7 +1011,7 @@ function UIChatView:RefreshMeTab() local storyNpcCfg = ManagerContainer.CfgMgr:GetStoryNpcCfgByChatNpcId(tonumber(npcId)) if storyNpcCfg and storyNpcCfg.Type == 1 then wiftNum = wiftNum + 1 - table.insert(contactDatas, {type = 1, name = I18N.T(storyNpcCfg.NameKey), heart = heart, storyNpcId=npcId}) + table.insert(contactDatas, {type = 1, name = I18N.T(storyNpcCfg.NameKey), heart = heart, storyNpcId=npcId, head=storyNpcCfg.Head}) end end table.insert(contactDatas, 1, {type = 2, name = I18N.T("妻子"), num = wiftNum}) @@ -1025,7 +1025,7 @@ function UIChatView:RefreshMeTab() local storyNpcCfg = ManagerContainer.CfgMgr:GetStoryNpcCfgByChatNpcId(tonumber(npcId)) if storyNpcCfg and storyNpcCfg.Type == 2 then loverNum = loverNum + 1 - table.insert(contactDatas, {type = 1, name = I18N.T(storyNpcCfg.NameKey), heart = heart, storyNpcId=npcId}) + table.insert(contactDatas, {type = 1, name = I18N.T(storyNpcCfg.NameKey), heart = heart, storyNpcId=npcId, head=storyNpcCfg.Head}) end end loverGroup.num = loverNum @@ -1039,7 +1039,7 @@ function UIChatView:RefreshMeTab() local storyNpcCfg = ManagerContainer.CfgMgr:GetStoryNpcCfgByChatNpcId(tonumber(npcId)) if storyNpcCfg and storyNpcCfg.Type == 3 then paNum = paNum + 1 - table.insert(contactDatas, {type = 1, name = I18N.T(storyNpcCfg.NameKey), heart = heart, storyNpcId=npcId}) + table.insert(contactDatas, {type = 1, name = I18N.T(storyNpcCfg.NameKey), heart = heart, storyNpcId=npcId, head=storyNpcCfg.Head}) end end paGroup.num = paNum