diff --git a/lua_probject/extend_project/extend/majiang/lichuan/MJPlayerCardInfoView_jiangxi.lua b/lua_probject/extend_project/extend/majiang/lichuan/MJPlayerCardInfoView_jiangxi.lua index 7d681102..d54874cc 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/MJPlayerCardInfoView_jiangxi.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/MJPlayerCardInfoView_jiangxi.lua @@ -20,12 +20,16 @@ function M:init() local CardInfo = self._view:GetChild('Text_CardInfo') self._viewText_cardInfo = json.decode(CardInfo.text) + local CardInfo = self._view:GetChild('Text_CardInfo') + self._viewText_cardInfo = json.decode(CardInfo.text) + self._view_handCardList = self._view:GetChild('List_HandCard') self._view_FZList = self._view:GetChild('List_FZ') self._view_outCardList = self._view:GetChild('List_OutCard') self._viewBtn_getCard = self._view:GetChild('Btn_HandCard') self._ctr_getCard = self._view:GetController('getCard') + self._ctr_seletedGet = self._view:GetController('seletedGetCard') end function M:SetMJSize(zS) @@ -101,6 +105,7 @@ function M:fillCard2(obj, pos_str, card) if DataManager.CurrenRoom.jing and card == DataManager.CurrenRoom.jing and obj:GetController('jing') then obj:GetController('jing').selectedIndex = 1 end + print("=========================lingmengfz", obj, obj:GetChild("icon")) obj:GetChild("icon").url = 'ui://Main_Majiang/' .. pos_str .. card end @@ -267,6 +272,7 @@ function M:UpdateFzList(fz, index, show_card) local ctr_Four = outCard:GetController("isFour") for i = 1, 3 do local FZCard = outCard:GetChild(string.format("Comp_Card%d", i)) + print("lingmengfz", string.format("Comp_Card%d", i), FZCard) self:fillCard2(FZCard, FZame, fz.card) end if fz.type == FZType.Peng then diff --git a/wb_unity_pro/Assets/ART/base/main_majiang/ui/main_majiang_fui.bytes b/wb_unity_pro/Assets/ART/base/main_majiang/ui/main_majiang_fui.bytes index ae8ee3fb..ac242475 100644 Binary files a/wb_unity_pro/Assets/ART/base/main_majiang/ui/main_majiang_fui.bytes and b/wb_unity_pro/Assets/ART/base/main_majiang/ui/main_majiang_fui.bytes differ