diff --git a/lua_probject/extend_project/extend/majiang/lichuan/EXMainView_jaingxi.lua b/lua_probject/extend_project/extend/majiang/lichuan/EXMainView_jaingxi.lua index 9bd4d0a4..3608f653 100644 --- a/lua_probject/extend_project/extend/majiang/lichuan/EXMainView_jaingxi.lua +++ b/lua_probject/extend_project/extend/majiang/lichuan/EXMainView_jaingxi.lua @@ -204,8 +204,8 @@ function M:InitPlayerInfoView() local _player_info = self._player_info for i = 1, self._room.room_config.people_num do print("================================InitPlayerInfoView", - string.format("player_info%d_%d", i, self._state.selectedIndex + 1)) - local tem = self._view:GetChild(string.format("player_info%d_%d", i, self._state.selectedIndex + 1)) + string.format("player_info%d_%d", i, (self._state.selectedIndex + 1) % 2)) + local tem = self._view:GetChild(string.format("player_info%d_%d", i, (self._state.selectedIndex + 1) % 2)) _player_info[i] = PlayerInfoView.new(tem, self) tem.visible = false end @@ -906,7 +906,7 @@ 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 + 1)) + local tem = self._view:GetChild(string.format("player_info%d_%d", i, (self._state.selectedIndex + 1) % 2)) _player_info[i] = PlayerInfoView.new(tem, self) _player_info[i]:FillData(list[i]) end 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 e7683ede..b662a2e6 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