From a51b33f4e51298cd3d004239afd7da941d03f93a Mon Sep 17 00:00:00 2001 From: 1076390229 <1076390229@qq.com> Date: Thu, 12 Mar 2026 15:06:17 +0800 Subject: [PATCH] 1 --- .../zipai/fanpaofa/FanPaoFa_ResultView.lua | 2 -- .../fanpaofa/main/ZPPlayerSelfCardInfoView.lua | 17 ++++++++++------- wb_new_ui/.objs/workspace.json | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/lua_probject/extend_project/extend/zipai/fanpaofa/FanPaoFa_ResultView.lua b/lua_probject/extend_project/extend/zipai/fanpaofa/FanPaoFa_ResultView.lua index aba6c644..f71314c3 100644 --- a/lua_probject/extend_project/extend/zipai/fanpaofa/FanPaoFa_ResultView.lua +++ b/lua_probject/extend_project/extend/zipai/fanpaofa/FanPaoFa_ResultView.lua @@ -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') diff --git a/lua_probject/extend_project/extend/zipai/fanpaofa/main/ZPPlayerSelfCardInfoView.lua b/lua_probject/extend_project/extend/zipai/fanpaofa/main/ZPPlayerSelfCardInfoView.lua index 78fc87ec..525b8d58 100644 --- a/lua_probject/extend_project/extend/zipai/fanpaofa/main/ZPPlayerSelfCardInfoView.lua +++ b/lua_probject/extend_project/extend/zipai/fanpaofa/main/ZPPlayerSelfCardInfoView.lua @@ -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) diff --git a/wb_new_ui/.objs/workspace.json b/wb_new_ui/.objs/workspace.json index 1670f9e4..ec15b8d3 100644 --- a/wb_new_ui/.objs/workspace.json +++ b/wb_new_ui/.objs/workspace.json @@ -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",