1076390229 2026-03-12 15:06:17 +08:00
parent cc205edad6
commit a51b33f4e5
3 changed files with 11 additions and 10 deletions

View File

@ -186,8 +186,6 @@ function M:InitData(over, room, result, total_result, callback)
end
function M:AddClearItem(room, data, total_data, over)
print("服务端的数据判断======")
print(TableToString(data))
local n = over + 1
local list_view1 = self._view:GetChild('player_list')
local list_view2 = self._view:GetChild('player_list_2')

View File

@ -171,12 +171,15 @@ function M:ShowHuTip(card)
end
function M:SetNotPutCard()
-- local tempNotPutList = DataManager.CurrenRoom.self_player.currentNotPutCardList
-- if tempNotPutList and #tempNotPutList > 0 then
-- for i = 1, #tempNotPutList do
-- self:UpdateKan(tempNotPutList[i])
-- end
-- end
if DataManager.CurrenRoom.self_player == nil then
return
end
local tempNotPutList = DataManager.CurrenRoom.self_player.currentNotPutCardList
if tempNotPutList and #tempNotPutList > 0 then
for i = 1, #tempNotPutList do
self:UpdateKan(tempNotPutList[i])
end
end
end
--手牌
@ -529,7 +532,7 @@ function M:UpdateOutLine()
elseif self:getCardSize() == 2 then
self._data_outLinePos = 110 - (155 * 3)
end
self._view_outLine.y = self._data_outLinePos + self._area_handcard_list.height - 220
self._view_outLine.y = self._data_outLinePos + self._area_handcard_list.height - 60
end
function M:UpdateIsOnClick(isOut)

View File

@ -15,7 +15,7 @@
"test.device": "Huawei Mate20",
"canvasColor": 10066329,
"auxline2": true,
"doc.activeDoc": "ui://1utjt0r2ufu930",
"doc.activeDoc": "ui://lkq9ne9speuq5a",
"libview.twoColumn": false,
"libview.expandedNodes": [
"27vd145b",