同步梭哈2099协议提示内容修改

master
罗家炜 2025-05-16 11:55:28 +08:00
parent a1df297151
commit c70a0b899d
4 changed files with 6 additions and 3 deletions

View File

@ -8,6 +8,8 @@ function FamilyNumberRecord.New(root)
self.familyType.selectedIndex = 5
self.lastType = 1
self._view:getchild('text_titleRecord')
return self
end

View File

@ -339,8 +339,9 @@ function M:EventInit()
local arg = { ... }
local data = arg[1]
local seat = data.seat
local cardInfo = _player_card_info[self:GetPos(seat)]
cardInfo:ShowTips(data.actions)
if seat == _room.self_player.seat then
_player_card_info[1]:ShowTips(data.actions)
end
end)
end

View File

@ -55,7 +55,7 @@ function M:ShowTips(tipsList)
local xiaScore = { 1, 2, 5 }
for j = 1, 3 do
local obj = self._view_tipsList:AddItemFromPool()
self.SetTipData(obj, tipsList[j], xiaScore[j])
self.SetTipData(obj, tipsList[i], xiaScore[j])
obj.title = string.format("%d分", xiaScore[j])
end
else