diff --git a/lua_probject/base_project/Game/View/Common/BaseView.lua b/lua_probject/base_project/Game/View/Common/BaseView.lua index a5b98bdf..20a7412e 100644 --- a/lua_probject/base_project/Game/View/Common/BaseView.lua +++ b/lua_probject/base_project/Game/View/Common/BaseView.lua @@ -87,7 +87,9 @@ end --@function [parent=#BaseView] Destroy --@param self function M:Destroy() - self:Close() + if self.Close then + self:Close() + end self._is_destroy = true self._root_view:Dispose() _views[self.class] = nil @@ -95,4 +97,4 @@ end function BaseView.FindView(class) return _views[class] or nil -end \ No newline at end of file +end diff --git a/lua_probject/base_project/Game/View/Family/FamilyNumberRecord.lua b/lua_probject/base_project/Game/View/Family/FamilyNumberRecord.lua index fdc26dae..9d843a47 100644 --- a/lua_probject/base_project/Game/View/Family/FamilyNumberRecord.lua +++ b/lua_probject/base_project/Game/View/Family/FamilyNumberRecord.lua @@ -216,18 +216,16 @@ function FamilyNumberRecord.New(root, page) self.rankNumber.round = 0 end - -- fgCtr:FG_GetConsumeStat(group_id, self.familyChooseTimeView:GetBeginTime(), self.familyChooseTimeView:GetEndTime(), - -- function(res) - -- pt(res) - -- if res.ReturnCode ~= 0 then - -- ViewUtil.ShowOneChooose("获取总信息失败" .. res.ReturnCode) - -- else - -- MJScore = tonumber(res.Data.mj_score) - -- PKScore = tonumber(res.Data.pk_score) - -- text_score_majiang.text = 0 - MJScore - -- text_score_poker.text = 0 - PKScore - -- end - -- end) + fgCtr:FG_GetConsumeStat(group_id, self._data_leftTime, self._data_rightTime, function(res) + if res.ReturnCode ~= 0 then + ViewUtil.ErrorTip(res.ReturnCode, "获取总信息失败") + else + -- MJScore = tonumber(res.Data.mj_score) + -- PKScore = tonumber(res.Data.pk_score) + -- text_score_majiang.text = 0 - MJScore + -- text_score_poker.text = 0 - PKScore + end + end) return self end @@ -438,7 +436,7 @@ function M:NumverRankRenderer(groupId) ImageLoad.Load(info.portrait, obj:GetChild('btn_head')._iconObject) obj:GetChild('text_ID').text = info.uid obj:GetChild('text_nick').text = info.nick - obj:GetChild('text_score').text = tonumber(info.score) / 1000 + obj:GetChild('text_score').text = tonumber(info.score) obj:GetChild('btn_lookRecord').onClick:Set(function() self.ctr_numberRecord.selectedIndex = 1 self:OnClickNumberRank(groupId, info.uid, info.round) diff --git a/lua_probject/extend_project/extend/majiang/fuzhou/EXWitnessView.lua b/lua_probject/extend_project/extend/majiang/fuzhou/EXWitnessView.lua index 67bc8052..f2539da3 100644 --- a/lua_probject/extend_project/extend/majiang/fuzhou/EXWitnessView.lua +++ b/lua_probject/extend_project/extend/majiang/fuzhou/EXWitnessView.lua @@ -4,8 +4,10 @@ local TX_GameEvent = import(".GameEvent") local PlayerInfoView = import(".EXPlayerInfoView") local MJPlayerSelfCardInfoView = import(".MJPlayerSelfCardInfoView") local MJPlayerCardInfoView = require("main.majiang.MJPlayerCardInfoView") +local SettingView = import(".EXSettingView") local TableBG = require("Game.Data.TableBG") local WitnessView = require("Game.View.WitnessView") +local MJMainView = require("main.majiang.MJMainView") local Record_Event = import(".RecordEvent") @@ -108,6 +110,29 @@ function M:InitView(url) ViewManager.ChangeView(ViewManager.View_Family) end) end + + local viewList_witness = self._view:GetChild('comp_witness'):GetChild('list_players') + viewList_witness:SetVirtual() + viewList_witness.itemRenderer = function(index, obj) + obj:GetChild('title').text = room.witness_player_list[index + 1].nick + ImageLoad.Load(room.witness_player_list[index + 1].portrait, obj:GetChild('btn_head')._iconObject) + end + + local btn_witness = self._view:GetChild('btn_pangGuang') + if btn_witness then + btn_witness.onClick:Set(function() + if room._flag_updateWitness then + room._flag_updateWitness = false + if viewList_witness.numItems == #room.witness_player_list then + viewList_witness:RefreshVirtualList() + else + viewList_witness.numItems = #room.witness_player_list + end + end + self._view:GetController('witness').selectedIndex = 1 + end) + end + ------------------------------------------------------- self._ctr_state.selectedIndex = 4 @@ -167,7 +192,7 @@ function M:EventInit() _gamectr:AddEventListener(TX_GameEvent.EventTurn, function(...) print("lingmeng witness EventTurn") local arg = { ... } - self._left_time = 15 + -- self._left_time = 15 local seat = arg[1] self:UpdateCardBox(self:GetPos(seat)) local playerInfo = self._player_info[self:GetPos(seat)] @@ -200,8 +225,8 @@ function M:EventInit() info:UpdateOutCardList(nil, nil, self._cursor) print("ling 2zhihouq") - self:PlaySound("FuZhou_MJ", p.self_user.sex, tostring(card)) - self:PlayMJSound("chupai.mp3") + -- self:PlaySound("FuZhou_MJ", p.self_user.sex, tostring(card)) + -- self:PlayMJSound("chupai.mp3") print("ling 2zhihou") if seat == _room.self_player.seat then _room.curren_outcard_seat = -1 @@ -227,13 +252,12 @@ function M:EventInit() end) _gamectr:AddEventListener(TX_GameEvent.ZPResult1, function(...) - print("lingmeng witness ZPResult1") - self._popEvent = false + local _room = self._room self._left_time = 0 self:UpdateCardBox(0) self._ctr_cardbox.selectedIndex = 0 local arg = { ... } - self:ShowHand(arg) + MJMainView.ShowHand(self, arg) local result = arg[1] local liuju = result.liuju local data = result.info_list @@ -257,47 +281,15 @@ function M:EventInit() self._popEvent = true end) end - print("lingmeng witness ZPResult2") if _room.curren_round ~= _room.room_config.round then -- if #niao == 0 then self._view:GetChild("n13").visible = false end - for i = 1, #data do - local p = _room:GetPlayerBySeat(data[i].seat) - if p then - p.total_score = data[i].total_score - local card_info = self._player_card_info[self:GetPos(p.seat)] - local info = self._player_info[self:GetPos(p.seat)] - card_info:Clear() - card_info:ResetCardType() - if _room:checkHpNonnegative() then - p.cur_hp = data[i].hp_info.cur_hp - end - -- info:UpdateScore() - info._view:GetChild("zhanji").visible = true - local num = data[i].hp_info.total_score - if num >= 0 then - info._view:GetController("text_color").selectedIndex = 0 - info._view:GetChild("text_jifen").text = "+" .. num --d2ad(num) - else - info._view:GetController("text_color").selectedIndex = 1 - info._view:GetChild("text_jifen").text = num --d2ad(num) - end - - info._view:GetChild("mask_piao").title = "" - info._view:GetController("piao_niao").selectedIndex = 0 - p.fz_list = {} - end - end - self._clearingView:InitData(0, _room, result, nil, function(...) DataManager.CurrenRoom.self_player.card_list = {} self._ctr_state.selectedIndex = 2 self._clearingView = nil - end, 1) + end) end - print("lingmeng witness ZPResult3") - - -- self._player_card_info[1]:ShowHuTip() end) _gamectr:AddEventListener(TX_GameEvent.ZPResult2, function(...) @@ -404,6 +396,7 @@ function M:OnUpdate() else print("witness error") print(result) + error(result) -- self._gamectr = ControllerManager.GetController(GameController) -- if self._gamectr then -- self._gamectr:ResetConnect() diff --git a/lua_probject/extend_project/extend/majiang/jinxi/CardCheck.lua b/lua_probject/extend_project/extend/majiang/jinxi/CardCheck.lua index 71dd7f8e..b8724844 100644 --- a/lua_probject/extend_project/extend/majiang/jinxi/CardCheck.lua +++ b/lua_probject/extend_project/extend/majiang/jinxi/CardCheck.lua @@ -314,13 +314,13 @@ local function init(self,cardInhand,addCard,isZhong,qidui,eightLaizi) return self:checkQidui() or self:tryWin() end -local specialCardList={400,403,406,409,412,415,418} -function M.tingPai(cardInhand,isZhong,qidui,eightLaizi) - --printlog("isZhong",isZhong) - --printlog("qidui",qidui) - --printlog("eightLaizi",eightLaizi) - --pt(cardInhand) - local self = setmetatable({}, {__index = M}) +local specialCardList = { 401, 402, 403, 404, 405, 406, 407 } +function M.tingPai(cardInhand, isZhong, qidui, eightLaizi) + -- printlog("isZhong", isZhong) + -- printlog("qidui", qidui) + -- printlog("eightLaizi", eightLaizi) + -- pt(cardInhand) + local self = setmetatable({}, { __index = M }) local tingList = {} if not cardInhand or #cardInhand == 0 then return tingList diff --git a/lua_probject/extend_project/extend/majiang/jinxi/EXClearingView.lua b/lua_probject/extend_project/extend/majiang/jinxi/EXClearingView.lua index 0c80ea43..a528af41 100644 --- a/lua_probject/extend_project/extend/majiang/jinxi/EXClearingView.lua +++ b/lua_probject/extend_project/extend/majiang/jinxi/EXClearingView.lua @@ -218,7 +218,6 @@ function M:fillResult0(room, peopleNum, result) handCardList:SetVirtual() handCardList.itemRenderer = function(index, obj) obj.icon = string.format("ui://Main_Majiang/%s202_%d", self:GetPrefix(), infoList.hand_card[index + 1]) - print("obj.icon") if room.jing == infoList.hand_card[index + 1] then obj:GetController('jing').selectedIndex = 1 end @@ -247,6 +246,9 @@ function M:fillResult0(room, peopleNum, result) end huCardBtn.icon = string.format("ui://Main_Majiang/b202_%d", infoList.win_card) + if room.jing == infoList.win_card then + huCardBtn:GetController('jing').selectedIndex = 1 + end huCardBtn.visible = true jiangMaList.visible = true diff --git a/lua_probject/extend_project/extend/majiang/jinxi/EXGameController.lua b/lua_probject/extend_project/extend/majiang/jinxi/EXGameController.lua index 65a57d3b..48367694 100644 --- a/lua_probject/extend_project/extend/majiang/jinxi/EXGameController.lua +++ b/lua_probject/extend_project/extend/majiang/jinxi/EXGameController.lua @@ -245,6 +245,10 @@ function M:OnEventFzTips(evt_data) -- end tiplist:AddTip(tip) end + --排序规则,胡杠碰 + tiplist:SortList(function(a, b) + return a.type < b.type + end) DispatchEvent(self._dispatcher, TX_GameEvent.FZTips, tiplist, weight) end) end diff --git a/lua_probject/extend_project/extend/majiang/jinxi/EXMainView.lua b/lua_probject/extend_project/extend/majiang/jinxi/EXMainView.lua index 6effee29..8810a5d8 100644 --- a/lua_probject/extend_project/extend/majiang/jinxi/EXMainView.lua +++ b/lua_probject/extend_project/extend/majiang/jinxi/EXMainView.lua @@ -177,9 +177,11 @@ function M:UpdatePlayerInfoView() local list = self._room.player_list for i = 1, self._room.room_config.people_num do - local tem = self._view:GetChild(string.format("player_info%d_%d", i, (self._state.selectedIndex % 2) + 1)) - _player_info[i] = PlayerInfoView.new(tem, self) - _player_info[i]:FillData(list[i]) + local seat = self:GetPos(list[i].seat) + local tem = self._view:GetChild(string.format("player_info%d_%d", seat, (self._state.selectedIndex % 2) + 1)) + _player_info[seat] = PlayerInfoView.new(tem, self) + _player_info[seat]:FillData(list[i]) + printlog("lingmeng _player_info", tem, seat, list[i].self_user.nick_name) end end @@ -247,7 +249,7 @@ function M:EventInit() end) _gamectr:AddEventListener(TX_GameEvent.EventTurn, function(...) local arg = { ... } - self._left_time = 15 + -- self._left_time = 15 local seat = arg[1] self:UpdateCardBox(self:GetPos(seat)) -- if seat == self._room.self_player.seat then @@ -264,7 +266,6 @@ function M:EventInit() local _gcm_outcard_url = "ui://Main_Majiang/Gcm_OutCard" _gamectr:AddEventListener(TX_GameEvent.OutCard, function(...) self:__CloseTip() - self._left_time = 0 local arg = { ... } local p = arg[1] local card = arg[2] @@ -451,39 +452,41 @@ function M:EventInit() self._clearingView:InitData(0, _room, result, nil, function(...) for i = 1, #data do local p = _room:GetPlayerBySeat(data[i].seat) - p.total_score = data[i].total_score - local card_info = self._player_card_info[self:GetPos(p.seat)] - local info = self._player_info[self:GetPos(p.seat)] - card_info:Clear() - card_info:ResetCardType() - if _room:checkHpNonnegative() then - p.cur_hp = data[i].total_score - end - -- info:UpdateScore() - info._view:GetChild("zhanji").visible = true - local num = data[i].total_score - if num >= 0 then - info._view:GetController("text_color").selectedIndex = 0 - info._view:GetChild("text_jifen").text = "+" .. num - else - info._view:GetController("text_color").selectedIndex = 1 - info._view:GetChild("text_jifen").text = num - end + if p then + p.total_score = data[i].total_score + local card_info = self._player_card_info[self:GetPos(p.seat)] + local info = self._player_info[self:GetPos(p.seat)] + card_info:Clear() + card_info:ResetCardType() + if _room:checkHpNonnegative() then + p.cur_hp = data[i].total_score + end + -- info:UpdateScore() + info._view:GetChild("zhanji").visible = true + local num = data[i].total_score + if num >= 0 then + info._view:GetController("text_color").selectedIndex = 0 + info._view:GetChild("text_jifen").text = "+" .. num + else + info._view:GetController("text_color").selectedIndex = 1 + info._view:GetChild("text_jifen").text = num + end - info._view:GetChild("mask_piao").title = "" - info._view:GetController("piao_niao").selectedIndex = 0 - p.fz_list = {} + info._view:GetChild("mask_piao").title = "" + info._view:GetController("piao_niao").selectedIndex = 0 + p.fz_list = {} + end end DataManager.CurrenRoom.self_player.card_list = {} self._state.selectedIndex = 2 self._clearingView = nil end) end - -- self._player_card_info[1]:ShowHuTip() - ]] + -- self._player_card_info[1]:ShowHuTip()]] end) _gamectr:AddEventListener(TX_GameEvent.ZPResult2, function(...) + self:PlayMJSound("end_music.mp3") self:UnmarkSelfTuoguan() self._left_time = 0 self:UpdateCardBox(0) @@ -550,6 +553,18 @@ function M:EventInit() end self.showNextList.numItems = #cardSet end) + + --替换mianview的事件 + _gamectr:AddEventListener( + GameEvent.PlayerState, + function(...) + printlog("lingmeng OnEventOnlineState") + local arg = { ... } + local p = arg[1] + local info = self._player_info[self:GetPos(p.seat)] + info._ctr_offline.selectedIndex = p.line_state == 0 and 1 or 0 + end + ) end function M:OutCard(card) @@ -563,6 +578,7 @@ function M:OutCard(card) info:UpdateHandCard() info:UpdateOutCardList(nil, card, self._cursor) + info._ctr_tip.selectedIndex = 0 self:PlaySound("JinXi_MJ", self._room.self_player.self_user.sex, tostring(card)) self:PlayMJSound("chupai.mp3") -- self:ShowHuTip() @@ -636,21 +652,21 @@ function M:__FangziTip(tip, weight) local _lit_fanzi = _chipeng_tip:GetChild("list") --_lit_fanzi:SetVirtual() - local _tlist = tip.tip_map_id + local _tlist = tip.tip_sortList _lit_fanzi.itemRenderer = function(index, obj) local type = obj:GetController('type') if index == tip.tip_num then type.selectedIndex = 0 obj.onClick:Set(function() - --测试暂时取消过提示 - - -- local guo_msg = MsgWindow.new(self._root_view, "确定要点过吗?", MsgWindow.MsgMode.OkAndCancel) - -- guo_msg.onOk:Add(function() - _gamectr:SendAction(0) _ctr_tips.selectedIndex = 0 - -- guo_msg:Close() - -- end) - -- guo_msg:Show() + if tip.is_hu then + info._ctr_showGuoHu.selectedIndex = 1 + info._viewBtn_guoHu.onClick:Set(function() + _gamectr:SendAction(0) + end) + else + _gamectr:SendAction(0) + end end) else index = index + 1 @@ -893,7 +909,7 @@ function M:ReloadRoom(bskip) end end - + self:ShowJing() for i = 1, #room.player_list do local p = room.player_list[i] local info = self._player_card_info[self:GetPos(p.seat)] diff --git a/lua_probject/extend_project/extend/majiang/jinxi/EXSettingView.lua b/lua_probject/extend_project/extend/majiang/jinxi/EXSettingView.lua index 904eb7c2..51905481 100644 --- a/lua_probject/extend_project/extend/majiang/jinxi/EXSettingView.lua +++ b/lua_probject/extend_project/extend/majiang/jinxi/EXSettingView.lua @@ -13,20 +13,19 @@ function EXSettingView:Show(room) if roomOwner == DataManager.SelfUser.account_id then self.cBtn.selectedIndex = 1 - --self.btn_closeRoom_cStyle = 1 else self.cBtn.selectedIndex = 0 - --self.btn_closeRoom_cStyle = 0 end BaseWindow.Show(self) end -function EXSettingView.new(main_view) +function EXSettingView.new(main_view, flag_witness) local self = setmetatable({}, { __index = M }) self.class = 'EXSettingView' self._close_destroy = true self._mainView = main_view + self._flag_witness = flag_witness self:init('ui://Main_Majiang/Setting') return self end @@ -39,12 +38,9 @@ function M:init(url) local slider_music = view:GetChild('slider_vedio_music') local btn_music = view:GetChild('btn_vedio_music') local btn_sound = view:GetChild('btn_vedio_sound') - local btn_closeRoom = view:GetChild("btn_closeRoom") - --self.btn_closeRoom_cStyle = btn_closeRoom:GetController("cStyle") self.cBtn = self._view:GetController('cBtn') - -- slider_sound.value = GameApplication.Instance.SoundValue -- slider_music.value = GameApplication.Instance.MusicValue @@ -70,15 +66,23 @@ function M:init(url) local _btn_logout = self._view:GetChild('btn_cancelRoom') _btn_logout.onClick:Set(function() - if self._mainView.dismiss_room_cd_time > 0 then - ViewUtil.ErrorTip(nil, "您还处于解散冷却时间当中,请稍后重试!") + if self._flag_witness then + local _room = DataManager.CurrenRoom + pt(_room) + self._mainView._gamectr:ExitWitnessGame(_room.play_id, _room.game_id, + _room.room_id) + ViewManager.ChangeView(ViewManager.View_Family) else - local _gamectr = ControllerManager.GetController(GameController) - _gamectr:AskDismissRoom() + if self._mainView.dismiss_room_cd_time > 0 then + ViewUtil.ErrorTip(nil, "您还处于解散冷却时间当中,请稍后重试!") + else + local _gamectr = ControllerManager.GetController(GameController) + _gamectr:AskDismissRoom() + end end end) - btn_closeRoom.onClick:Set(function() + self._view:GetChild("btn_closeRoom").onClick:Set(function() local _gamectr = ControllerManager.GetController(GameController) _gamectr:LevelRoom(function(res) print("退出房间") diff --git a/lua_probject/extend_project/extend/majiang/jinxi/EXWitnessView.lua b/lua_probject/extend_project/extend/majiang/jinxi/EXWitnessView.lua index ef25e50d..90879896 100644 --- a/lua_probject/extend_project/extend/majiang/jinxi/EXWitnessView.lua +++ b/lua_probject/extend_project/extend/majiang/jinxi/EXWitnessView.lua @@ -4,8 +4,10 @@ local TX_GameEvent = import(".GameEvent") local PlayerInfoView = import(".EXPlayerInfoView") local MJPlayerSelfCardInfoView = import(".MJPlayerSelfCardInfoView") local MJPlayerCardInfoView = require("main.majiang.MJPlayerCardInfoView") +local SettingView = import(".EXSettingView") local TableBG = require("Game.Data.TableBG") local WitnessView = require("Game.View.WitnessView") +local MJMainView = require("main.majiang.MJMainView") local Record_Event = import(".RecordEvent") @@ -107,6 +109,29 @@ function M:InitView(url) ViewManager.ChangeView(ViewManager.View_Family) end) end + + local viewList_witness = self._view:GetChild('comp_witness'):GetChild('list_players') + viewList_witness:SetVirtual() + viewList_witness.itemRenderer = function(index, obj) + obj:GetChild('title').text = room.witness_player_list[index + 1].nick + ImageLoad.Load(room.witness_player_list[index + 1].portrait, obj:GetChild('btn_head')._iconObject) + end + + local btn_witness = self._view:GetChild('btn_pangGuang') + if btn_witness then + btn_witness.onClick:Set(function() + if room._flag_updateWitness then + room._flag_updateWitness = false + if viewList_witness.numItems == #room.witness_player_list then + viewList_witness:RefreshVirtualList() + else + viewList_witness.numItems = #room.witness_player_list + end + end + self._view:GetController('witness').selectedIndex = 1 + end) + end + ------------------------------------------------------- self._ctr_state.selectedIndex = 4 @@ -166,7 +191,7 @@ function M:EventInit() _gamectr:AddEventListener(TX_GameEvent.EventTurn, function(...) print("lingmeng witness EventTurn") local arg = { ... } - self._left_time = 15 + -- self._left_time = 15 local seat = arg[1] self:UpdateCardBox(self:GetPos(seat)) local playerInfo = self._player_info[self:GetPos(seat)] @@ -199,8 +224,8 @@ function M:EventInit() info:UpdateOutCardList(nil, nil, self._cursor) print("ling 2zhihouq") - self:PlaySound("JinXi_MJ", p.self_user.sex, tostring(card)) - self:PlayMJSound("chupai.mp3") + --self:PlaySound("JinXi_MJ", p.self_user.sex, tostring(card)) + -- self:PlayMJSound("chupai.mp3") print("ling 2zhihou") if seat == _room.self_player.seat then _room.curren_outcard_seat = -1 @@ -226,13 +251,12 @@ function M:EventInit() end) _gamectr:AddEventListener(TX_GameEvent.ZPResult1, function(...) - print("lingmeng witness ZPResult1") - self._popEvent = false + local _room = self._room self._left_time = 0 self:UpdateCardBox(0) self._ctr_cardbox.selectedIndex = 0 local arg = { ... } - self:ShowHand(arg) + MJMainView.ShowHand(self, arg) local result = arg[1] local liuju = result.liuju local data = result.info_list @@ -256,47 +280,15 @@ function M:EventInit() self._popEvent = true end) end - print("lingmeng witness ZPResult2") if _room.curren_round ~= _room.room_config.round then -- if #niao == 0 then self._view:GetChild("n13").visible = false end - for i = 1, #data do - local p = _room:GetPlayerBySeat(data[i].seat) - if p then - p.total_score = data[i].total_score - local card_info = self._player_card_info[self:GetPos(p.seat)] - local info = self._player_info[self:GetPos(p.seat)] - card_info:Clear() - card_info:ResetCardType() - if _room:checkHpNonnegative() then - p.cur_hp = data[i].hp_info.cur_hp - end - -- info:UpdateScore() - info._view:GetChild("zhanji").visible = true - local num = data[i].hp_info.total_score - if num >= 0 then - info._view:GetController("text_color").selectedIndex = 0 - info._view:GetChild("text_jifen").text = "+" .. num --d2ad(num) - else - info._view:GetController("text_color").selectedIndex = 1 - info._view:GetChild("text_jifen").text = num --d2ad(num) - end - - info._view:GetChild("mask_piao").title = "" - info._view:GetController("piao_niao").selectedIndex = 0 - p.fz_list = {} - end - end - self._clearingView:InitData(0, _room, result, nil, function(...) DataManager.CurrenRoom.self_player.card_list = {} self._ctr_state.selectedIndex = 2 self._clearingView = nil - end, 1) + end) end - print("lingmeng witness ZPResult3") - - -- self._player_card_info[1]:ShowHuTip() end) _gamectr:AddEventListener(TX_GameEvent.ZPResult2, function(...) @@ -365,16 +357,11 @@ function M:UpdateCardBox(seat) end function M:OnFangziAction(...) - print("lingmeng OnFangziAction") - -- self:__CloseTip() - print("lingmeng OnFangziAction1") - local arg = { ... } local _player_card_info = self._player_card_info local fz = arg[1] local player = arg[2] local index = arg[3] - printlog("OnFangziAction") local info = _player_card_info[self:GetPos(player.seat)] -- local pNode = info._mask_liangpai @@ -383,13 +370,11 @@ function M:OnFangziAction(...) local fs_info = _player_card_info[self:GetPos(fz.from_seat)] fs_info:UpdateOutCardList() end - print("lingmeng OnFangziAction5") info:UpdateFzList(fz, index, true) local getcard = fz.type == FZType.Peng or fz.type == FZType.Chi - printlog(getcard) + --printlog(getcard) - print("lingmeng hand_left_count", info._player.hand_left_count) info._player.hand_left_count = info._player.hand_left_count - 1 info:UpdateHandCardWitness(true) -- self:__CloseTip() @@ -410,6 +395,7 @@ function M:OnUpdate() else print("witness error") print(result) + error(result) -- self._gamectr = ControllerManager.GetController(GameController) -- if self._gamectr then -- self._gamectr:ResetConnect() diff --git a/lua_probject/extend_project/extend/majiang/jinxi/ExtendConfig.lua b/lua_probject/extend_project/extend/majiang/jinxi/ExtendConfig.lua index a5e421cd..6f14c3bc 100644 --- a/lua_probject/extend_project/extend/majiang/jinxi/ExtendConfig.lua +++ b/lua_probject/extend_project/extend/majiang/jinxi/ExtendConfig.lua @@ -75,6 +75,8 @@ function M:FillRoomData(s2croom) local playerList = _tableInfo["playerData"] room.curren_round = _tableInfo["round"] + room.witness_player_list = _tableInfo["playerSpectatorData"] + room._flag_updateWitness = true self:FillPlayerData(playerList) if (reload) then @@ -94,6 +96,7 @@ function M:FillRoomData(s2croom) room.curren_outcard_seat = _reloadInfo["curren_outcard_seat"] room.last_outcard_seat = last_outcard_seat room.playing = playing + room.reload = reload if jing then room.jing = jing end diff --git a/lua_probject/extend_project/extend/majiang/lichuan/EXClearingView.lua b/lua_probject/extend_project/extend/majiang/lichuan/EXClearingView.lua index 382e6de3..f701e838 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/EXClearingView.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/EXClearingView.lua @@ -5,7 +5,7 @@ local EXClearingView = {} local M = EXClearingView -function EXClearingView.new(blur_view) +function EXClearingView.new(blur_view, data) setmetatable(M, { __index = ResultView }) local self = setmetatable({}, { __index = M }) self._full = true @@ -16,6 +16,9 @@ function EXClearingView.new(blur_view) self._currenIndex = 0 self._blur_view = blur_view self._close_zone = false + if data then + self.flag_back = data.flag_back + end -- self:InitMaPai() return self @@ -49,10 +52,19 @@ function M:InitData(over, room, result, total_result, callback, isWitness, witne local playerNum = self._view:GetController("playerNum") local showBtnTypeCtr = self._view:GetController("showType") - if result then - result.cardList = json.decode(result.cardList) - --table.sort(result.cardList) + --回放不需要显示还剩下多少牌 + if self.flag_back then + result.cardList = {} + mainCtr.selectedIndex = 1 + nextRoundBtn2.touchable = false + else + if result then + if result.cardList then + result.cardList = json.decode(result.cardList) + end + end end + self.list_lastCard = self._view:GetChild('list_lastCard') self.list_lastCard:SetVirtual() diff --git a/lua_probject/extend_project/extend/majiang/lichuan/EXPlayBackView.lua b/lua_probject/extend_project/extend/majiang/lichuan/EXPlayBackView.lua index f80e7aa9..bb58653c 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/EXPlayBackView.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/EXPlayBackView.lua @@ -139,12 +139,12 @@ function M:ShowStep(index) end if step.cmd == Record_Event.Evt_Result then if not self.result then - self.result = EXClearingView.new(self._root_view, true) + self.result = EXClearingView.new(self._root_view, { flag_back = true }) self.result:InitData(0, self._room, step.result_data) self.result._view.x = (GRoot.inst.width - self.result._view.width) * -0.5 self.result._view.width = GRoot.inst.width self.result._view.height = GRoot.inst.height - self.result._view:GetChild("btn_confirm").visible = false + -- self.result._view:GetChild("btn_confirm").visible = false self._anchor:AddChild(self.result._view) self.result._view.x = self._anchor.x * -1 self.result._view.y = self._anchor.y * -1 @@ -152,10 +152,10 @@ function M:ShowStep(index) self.result._view.visible = true end -- self.result._view:Center() - else - if self.result then - self.result._view.visible = false - end + -- else + -- if self.result then + -- self.result._view.visible = false + -- end end end diff --git a/lua_probject/extend_project/extend/majiang/lichuan/EXWitnessView.lua b/lua_probject/extend_project/extend/majiang/lichuan/EXWitnessView.lua index f81c98fa..0b7f2055 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/EXWitnessView.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/EXWitnessView.lua @@ -273,12 +273,14 @@ function M:EventInit() -- end) -- end self:RemoveCursor() + if self._clearingView == nil then self._clearingView = EXClearingView.new(self._root_view) coroutine.start(function() coroutine.wait(0.5) self._clearingView:Show() self._popEvent = true end) + end if _room.curren_round ~= _room.room_config.round then -- if #niao == 0 then self._view:GetChild("n13").visible = false end @@ -357,16 +359,11 @@ function M:UpdateCardBox(seat) end function M:OnFangziAction(...) - print("lingmeng OnFangziAction") - -- self:__CloseTip() - print("lingmeng OnFangziAction1") - local arg = { ... } local _player_card_info = self._player_card_info local fz = arg[1] local player = arg[2] local index = arg[3] - printlog("OnFangziAction") local info = _player_card_info[self:GetPos(player.seat)] -- local pNode = info._mask_liangpai @@ -375,13 +372,11 @@ function M:OnFangziAction(...) local fs_info = _player_card_info[self:GetPos(fz.from_seat)] fs_info:UpdateOutCardList() end - print("lingmeng OnFangziAction5") info:UpdateFzList(fz, index, true) local getcard = fz.type == FZType.Peng or fz.type == FZType.Chi - printlog(getcard) + --printlog(getcard) - print("lingmeng hand_left_count", info._player.hand_left_count) info._player.hand_left_count = info._player.hand_left_count - 1 info:UpdateHandCardWitness(true) -- self:__CloseTip() diff --git a/lua_probject/extend_project/extend/majiang/lichuan/ExtendConfig.lua b/lua_probject/extend_project/extend/majiang/lichuan/ExtendConfig.lua index b9c0b3cb..03e74970 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/ExtendConfig.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/ExtendConfig.lua @@ -62,9 +62,7 @@ function M:FillRoomConfig(room, _config) end function M:FillRoomData(s2croom) - print("==========================FillRoomData1") local room = DataManager.CurrenRoom - pt(room) local reload = s2croom["reload"] diff --git a/lua_probject/extend_project/extend/majiang/nancheng/CardCheck.lua b/lua_probject/extend_project/extend/majiang/nancheng/CardCheck.lua index 71dd7f8e..b8724844 100644 --- a/lua_probject/extend_project/extend/majiang/nancheng/CardCheck.lua +++ b/lua_probject/extend_project/extend/majiang/nancheng/CardCheck.lua @@ -314,13 +314,13 @@ local function init(self,cardInhand,addCard,isZhong,qidui,eightLaizi) return self:checkQidui() or self:tryWin() end -local specialCardList={400,403,406,409,412,415,418} -function M.tingPai(cardInhand,isZhong,qidui,eightLaizi) - --printlog("isZhong",isZhong) - --printlog("qidui",qidui) - --printlog("eightLaizi",eightLaizi) - --pt(cardInhand) - local self = setmetatable({}, {__index = M}) +local specialCardList = { 401, 402, 403, 404, 405, 406, 407 } +function M.tingPai(cardInhand, isZhong, qidui, eightLaizi) + -- printlog("isZhong", isZhong) + -- printlog("qidui", qidui) + -- printlog("eightLaizi", eightLaizi) + -- pt(cardInhand) + local self = setmetatable({}, { __index = M }) local tingList = {} if not cardInhand or #cardInhand == 0 then return tingList diff --git a/lua_probject/extend_project/extend/majiang/nancheng/EXClearingView.lua b/lua_probject/extend_project/extend/majiang/nancheng/EXClearingView.lua index 5082b1d5..c1a366d0 100644 --- a/lua_probject/extend_project/extend/majiang/nancheng/EXClearingView.lua +++ b/lua_probject/extend_project/extend/majiang/nancheng/EXClearingView.lua @@ -86,7 +86,6 @@ function M:InitData(over, room, result, total_result, callback, isWitness, witne end) if over == 0 then - mainCtr.selectedIndex = 1 showBtnTypeCtr.selectedIndex = 0 _overCtr.selectedIndex = 0 self:fillResult0(room, peopleNum, result) @@ -103,6 +102,7 @@ function M:InitData(over, room, result, total_result, callback, isWitness, witne end end) elseif over == 1 then + mainCtr.selectedIndex = 1 showBtnTypeCtr.selectedIndex = 1 self:fillResult1(room, peopleNum, total_result) if result then diff --git a/lua_probject/extend_project/extend/majiang/nancheng/EXGameController.lua b/lua_probject/extend_project/extend/majiang/nancheng/EXGameController.lua index 7fad7121..5d8688d7 100644 --- a/lua_probject/extend_project/extend/majiang/nancheng/EXGameController.lua +++ b/lua_probject/extend_project/extend/majiang/nancheng/EXGameController.lua @@ -245,6 +245,10 @@ function M:OnEventFzTips(evt_data) -- end tiplist:AddTip(tip) end + --排序规则,胡杠碰 + tiplist:SortList(function(a, b) + return a.type < b.type + end) DispatchEvent(self._dispatcher, TX_GameEvent.FZTips, tiplist, weight) end) end diff --git a/lua_probject/extend_project/extend/majiang/nancheng/EXMainView.lua b/lua_probject/extend_project/extend/majiang/nancheng/EXMainView.lua index a19b5d4e..9ce61d6e 100644 --- a/lua_probject/extend_project/extend/majiang/nancheng/EXMainView.lua +++ b/lua_probject/extend_project/extend/majiang/nancheng/EXMainView.lua @@ -175,9 +175,11 @@ function M:UpdatePlayerInfoView() local list = self._room.player_list for i = 1, self._room.room_config.people_num do - local tem = self._view:GetChild(string.format("player_info%d_%d", i, (self._state.selectedIndex % 2) + 1)) - _player_info[i] = PlayerInfoView.new(tem, self) - _player_info[i]:FillData(list[i]) + local seat = self:GetPos(list[i].seat) + local tem = self._view:GetChild(string.format("player_info%d_%d", seat, (self._state.selectedIndex % 2) + 1)) + _player_info[seat] = PlayerInfoView.new(tem, self) + _player_info[seat]:FillData(list[i]) + printlog("lingmeng _player_info", tem, seat, list[i].self_user.nick_name) end end @@ -227,6 +229,7 @@ function M:EventInit() _gamectr:AddEventListener(TX_GameEvent.SendCards, function(...) -- self:ShowHuTip() + --测试用记录出牌权次数 --self._viewText_testName.text = 0 self:UpdateRound() self._state.selectedIndex = 1 @@ -245,7 +248,7 @@ function M:EventInit() end) _gamectr:AddEventListener(TX_GameEvent.EventTurn, function(...) local arg = { ... } - self._left_time = 15 + -- self._left_time = 15 local seat = arg[1] self:UpdateCardBox(self:GetPos(seat)) -- if seat == self._room.self_player.seat then @@ -402,17 +405,16 @@ function M:EventInit() end) _gamectr:AddEventListener(TX_GameEvent.EventNiao, function(...) - print("lingmengniaoadd") local arg = { ... } self._popEvent = false local list = arg[1] local start_seat = arg[2] -- ViewUtil.PlaySound("NanCheng_MJ", "extend/majiang/chaozhou/sound/zhuaniao.mp3") - print("lingmengniaoadd2") coroutine.start(self.RunNiao, self, list, start_seat) end) _gamectr:AddEventListener(TX_GameEvent.ZPResult1, function(...) + self:PlayMJSound("end_music.mp3") MJMainView.OnResult1(self, ...) --[[ self._popEvent = false @@ -451,28 +453,30 @@ function M:EventInit() self._clearingView:InitData(0, _room, result, nil, function(...) for i = 1, #data do local p = _room:GetPlayerBySeat(data[i].seat) - p.total_score = data[i].total_score - local card_info = self._player_card_info[self:GetPos(p.seat)] - local info = self._player_info[self:GetPos(p.seat)] - card_info:Clear() - card_info:ResetCardType() - if _room:checkHpNonnegative() then - p.cur_hp = data[i].total_score - end - -- info:UpdateScore() - info._view:GetChild("zhanji").visible = true - local num = data[i].total_score - if num >= 0 then - info._view:GetController("text_color").selectedIndex = 0 - info._view:GetChild("text_jifen").text = "+" .. num - else - info._view:GetController("text_color").selectedIndex = 1 - info._view:GetChild("text_jifen").text = num - end + if p then + p.total_score = data[i].total_score + local card_info = self._player_card_info[self:GetPos(p.seat)] + local info = self._player_info[self:GetPos(p.seat)] + card_info:Clear() + card_info:ResetCardType() + if _room:checkHpNonnegative() then + p.cur_hp = data[i].total_score + end + -- info:UpdateScore() + info._view:GetChild("zhanji").visible = true + local num = data[i].total_score + if num >= 0 then + info._view:GetController("text_color").selectedIndex = 0 + info._view:GetChild("text_jifen").text = "+" .. num + else + info._view:GetController("text_color").selectedIndex = 1 + info._view:GetChild("text_jifen").text = num + end - info._view:GetChild("mask_piao").title = "" - info._view:GetController("piao_niao").selectedIndex = 0 - p.fz_list = {} + info._view:GetChild("mask_piao").title = "" + info._view:GetController("piao_niao").selectedIndex = 0 + p.fz_list = {} + end end DataManager.CurrenRoom.self_player.card_list = {} self._state.selectedIndex = 2 @@ -550,6 +554,18 @@ function M:EventInit() end self.showNextList.numItems = #cardSet end) + + --替换mianview的事件 + _gamectr:AddEventListener( + GameEvent.PlayerState, + function(...) + printlog("lingmeng OnEventOnlineState") + local arg = { ... } + local p = arg[1] + local info = self._player_info[self:GetPos(p.seat)] + info._ctr_offline.selectedIndex = p.line_state == 0 and 1 or 0 + end + ) end function M:OutCard(card) @@ -563,6 +579,7 @@ function M:OutCard(card) info:UpdateHandCard() info:UpdateOutCardList(nil, card, self._cursor) + info._ctr_tip.selectedIndex = 0 self:PlaySound("NanCheng_MJ", self._room.self_player.self_user.sex, tostring(card)) self:PlayMJSound("chupai.mp3") -- self:ShowHuTip() @@ -636,21 +653,21 @@ function M:__FangziTip(tip, weight) local _lit_fanzi = _chipeng_tip:GetChild("list") --_lit_fanzi:SetVirtual() - local _tlist = tip.tip_map_id + local _tlist = tip.tip_sortList _lit_fanzi.itemRenderer = function(index, obj) local type = obj:GetController('type') if index == tip.tip_num then type.selectedIndex = 0 obj.onClick:Set(function() - --测试暂时取消过提示 - - -- local guo_msg = MsgWindow.new(self._root_view, "确定要点过吗?", MsgWindow.MsgMode.OkAndCancel) - -- guo_msg.onOk:Add(function() - _gamectr:SendAction(0) _ctr_tips.selectedIndex = 0 - -- guo_msg:Close() - -- end) - -- guo_msg:Show() + if tip.is_hu then + info._ctr_showGuoHu.selectedIndex = 1 + info._viewBtn_guoHu.onClick:Set(function() + _gamectr:SendAction(0) + end) + else + _gamectr:SendAction(0) + end end) else index = index + 1 @@ -894,7 +911,7 @@ function M:ReloadRoom(bskip) end end - + self:ShowJing() for i = 1, #room.player_list do local p = room.player_list[i] local info = self._player_card_info[self:GetPos(p.seat)] diff --git a/lua_probject/extend_project/extend/majiang/nancheng/EXPlayBackView.lua b/lua_probject/extend_project/extend/majiang/nancheng/EXPlayBackView.lua index 542c379f..1e13f663 100644 --- a/lua_probject/extend_project/extend/majiang/nancheng/EXPlayBackView.lua +++ b/lua_probject/extend_project/extend/majiang/nancheng/EXPlayBackView.lua @@ -20,7 +20,7 @@ end function M:InitView(url) local room = self._room UIPackage.AddPackage("extend/majiang/nancheng/ui/Extend_MJ_NanCheng") - MJPlayBackView.InitView(self, "ui://Main_Majiang/Main_" .. room.room_config.people_num) + MJPlayBackView.InitView(self, string.format("ui://Main_Majiang/Main_new_%d_jiangxi", room.room_config.people_num)) local _cardbox = self._view:GetChild("cardbox") --self._view:GetChild("panel_record"):GetChild("btn_LastStep").enabled = false self._ctr_cardbox = _cardbox:GetController("c1") diff --git a/lua_probject/extend_project/extend/majiang/nancheng/EXWitnessView.lua b/lua_probject/extend_project/extend/majiang/nancheng/EXWitnessView.lua index d06fb351..fbcef278 100644 --- a/lua_probject/extend_project/extend/majiang/nancheng/EXWitnessView.lua +++ b/lua_probject/extend_project/extend/majiang/nancheng/EXWitnessView.lua @@ -4,8 +4,10 @@ local TX_GameEvent = import(".GameEvent") local PlayerInfoView = import(".EXPlayerInfoView") local MJPlayerSelfCardInfoView = import(".MJPlayerSelfCardInfoView") local MJPlayerCardInfoView = require("main.majiang.MJPlayerCardInfoView") +local SettingView = import(".EXSettingView") local TableBG = require("Game.Data.TableBG") local WitnessView = require("Game.View.WitnessView") +local MJMainView = require("main.majiang.MJMainView") local Record_Event = import(".RecordEvent") @@ -107,6 +109,29 @@ function M:InitView(url) ViewManager.ChangeView(ViewManager.View_Family) end) end + + local viewList_witness = self._view:GetChild('comp_witness'):GetChild('list_players') + viewList_witness:SetVirtual() + viewList_witness.itemRenderer = function(index, obj) + obj:GetChild('title').text = room.witness_player_list[index + 1].nick + ImageLoad.Load(room.witness_player_list[index + 1].portrait, obj:GetChild('btn_head')._iconObject) + end + + local btn_witness = self._view:GetChild('btn_pangGuang') + if btn_witness then + btn_witness.onClick:Set(function() + if room._flag_updateWitness then + room._flag_updateWitness = false + if viewList_witness.numItems == #room.witness_player_list then + viewList_witness:RefreshVirtualList() + else + viewList_witness.numItems = #room.witness_player_list + end + end + self._view:GetController('witness').selectedIndex = 1 + end) + end + ------------------------------------------------------- self._ctr_state.selectedIndex = 4 @@ -166,7 +191,7 @@ function M:EventInit() _gamectr:AddEventListener(TX_GameEvent.EventTurn, function(...) print("lingmeng witness EventTurn") local arg = { ... } - self._left_time = 15 + -- self._left_time = 15 local seat = arg[1] self:UpdateCardBox(self:GetPos(seat)) local playerInfo = self._player_info[self:GetPos(seat)] @@ -199,8 +224,8 @@ function M:EventInit() info:UpdateOutCardList(nil, nil, self._cursor) print("ling 2zhihouq") - self:PlaySound("NanCheng_MJ", p.self_user.sex, tostring(card)) - self:PlayMJSound("chupai.mp3") + --self:PlaySound("NanCheng_MJ", p.self_user.sex, tostring(card)) + -- self:PlayMJSound("chupai.mp3") print("ling 2zhihou") if seat == _room.self_player.seat then _room.curren_outcard_seat = -1 @@ -226,13 +251,12 @@ function M:EventInit() end) _gamectr:AddEventListener(TX_GameEvent.ZPResult1, function(...) - print("lingmeng witness ZPResult1") - self._popEvent = false + local _room = self._room self._left_time = 0 self:UpdateCardBox(0) self._ctr_cardbox.selectedIndex = 0 local arg = { ... } - self:ShowHand(arg) + MJMainView.ShowHand(self, arg) local result = arg[1] local liuju = result.liuju local data = result.info_list @@ -256,47 +280,15 @@ function M:EventInit() self._popEvent = true end) end - print("lingmeng witness ZPResult2") if _room.curren_round ~= _room.room_config.round then -- if #niao == 0 then self._view:GetChild("n13").visible = false end - for i = 1, #data do - local p = _room:GetPlayerBySeat(data[i].seat) - if p then - p.total_score = data[i].total_score - local card_info = self._player_card_info[self:GetPos(p.seat)] - local info = self._player_info[self:GetPos(p.seat)] - card_info:Clear() - card_info:ResetCardType() - if _room:checkHpNonnegative() then - p.cur_hp = data[i].hp_info.cur_hp - end - -- info:UpdateScore() - info._view:GetChild("zhanji").visible = true - local num = data[i].hp_info.total_score - if num >= 0 then - info._view:GetController("text_color").selectedIndex = 0 - info._view:GetChild("text_jifen").text = "+" .. num --d2ad(num) - else - info._view:GetController("text_color").selectedIndex = 1 - info._view:GetChild("text_jifen").text = num --d2ad(num) - end - - info._view:GetChild("mask_piao").title = "" - info._view:GetController("piao_niao").selectedIndex = 0 - p.fz_list = {} - end - end - self._clearingView:InitData(0, _room, result, nil, function(...) DataManager.CurrenRoom.self_player.card_list = {} self._ctr_state.selectedIndex = 2 self._clearingView = nil - end, 1) + end) end - print("lingmeng witness ZPResult3") - - -- self._player_card_info[1]:ShowHuTip() end) _gamectr:AddEventListener(TX_GameEvent.ZPResult2, function(...) @@ -365,16 +357,11 @@ function M:UpdateCardBox(seat) end function M:OnFangziAction(...) - print("lingmeng OnFangziAction") - -- self:__CloseTip() - print("lingmeng OnFangziAction1") - local arg = { ... } local _player_card_info = self._player_card_info local fz = arg[1] local player = arg[2] local index = arg[3] - printlog("OnFangziAction") local info = _player_card_info[self:GetPos(player.seat)] -- local pNode = info._mask_liangpai @@ -383,13 +370,11 @@ function M:OnFangziAction(...) local fs_info = _player_card_info[self:GetPos(fz.from_seat)] fs_info:UpdateOutCardList() end - print("lingmeng OnFangziAction5") info:UpdateFzList(fz, index, true) local getcard = fz.type == FZType.Peng or fz.type == FZType.Chi - printlog(getcard) + --printlog(getcard) - print("lingmeng hand_left_count", info._player.hand_left_count) info._player.hand_left_count = info._player.hand_left_count - 1 info:UpdateHandCardWitness(true) -- self:__CloseTip() @@ -410,6 +395,7 @@ function M:OnUpdate() else print("witness error") print(result) + error(result) -- self._gamectr = ControllerManager.GetController(GameController) -- if self._gamectr then -- self._gamectr:ResetConnect() diff --git a/lua_probject/extend_project/extend/majiang/nancheng/ExtendConfig.lua b/lua_probject/extend_project/extend/majiang/nancheng/ExtendConfig.lua index f92fe103..6d55eb2e 100644 --- a/lua_probject/extend_project/extend/majiang/nancheng/ExtendConfig.lua +++ b/lua_probject/extend_project/extend/majiang/nancheng/ExtendConfig.lua @@ -75,6 +75,8 @@ function M:FillRoomData(s2croom) local playerList = _tableInfo["playerData"] room.curren_round = _tableInfo["round"] + room.witness_player_list = _tableInfo["playerSpectatorData"] + room._flag_updateWitness = true self:FillPlayerData(playerList) if (reload) then diff --git a/wb_new_ui/assets/Family/NumberRecord/Component/combBox_sort_item.xml b/wb_new_ui/assets/Family/NumberRecord/Component/combBox_sort_item.xml index 4c1cb35c..03c47541 100644 --- a/wb_new_ui/assets/Family/NumberRecord/Component/combBox_sort_item.xml +++ b/wb_new_ui/assets/Family/NumberRecord/Component/combBox_sort_item.xml @@ -2,7 +2,7 @@ - + diff --git a/wb_new_ui/assets/Lobby/component/CreatePlay/Component/com_editSetting.xml b/wb_new_ui/assets/Lobby/component/CreatePlay/Component/com_editSetting.xml index a652abe0..828a66cb 100644 --- a/wb_new_ui/assets/Lobby/component/CreatePlay/Component/com_editSetting.xml +++ b/wb_new_ui/assets/Lobby/component/CreatePlay/Component/com_editSetting.xml @@ -1,106 +1,106 @@ - + - + - +