exmainview取消最桌面兼容判断
parent
288a46eca3
commit
b59bc30c50
|
|
@ -90,7 +90,6 @@ function M:InitView(url)
|
|||
showNextList.selectedIndex = -1
|
||||
self._showNextName = nil
|
||||
end)
|
||||
if self._room.room_config.people_num == 2 then
|
||||
local btn_closeRoom = self._view:GetChild("btn_setting")
|
||||
|
||||
self._view:GetChild('btn_closeRoom').onClick:Set(function()
|
||||
|
|
@ -132,7 +131,6 @@ function M:InitView(url)
|
|||
local settingView = SettingView.new(self)
|
||||
settingView:Show()
|
||||
end))
|
||||
end
|
||||
|
||||
--------
|
||||
self:PlayerChangeLineState()
|
||||
|
|
@ -192,13 +190,8 @@ function M:IsShowGangZi(btn, isShow)
|
|||
end
|
||||
|
||||
function M:UpdateRound()
|
||||
if self._room.room_config.people_num == 2 then
|
||||
self._view:GetChild("text_round").text = string.format("当前局数:%d/%d", self._room.curren_round,
|
||||
self._room.room_config.round)
|
||||
else
|
||||
self._view:GetChild("tex_round1").text = self._room.curren_round
|
||||
self._view:GetChild("tex_round2").text = self._room.room_config.round
|
||||
end
|
||||
end
|
||||
|
||||
function M:ShowJing()
|
||||
|
|
|
|||
Loading…
Reference in New Issue