仅黎川,全新四人桌面
parent
9cf1128c69
commit
08b2b90006
|
|
@ -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
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue