diff --git a/lua_probject/base_project/Game/View/NewGroup/MngView/GroupMngPartnerStatView.lua b/lua_probject/base_project/Game/View/NewGroup/MngView/GroupMngPartnerStatView.lua index c9c4bc5c..9a394550 100644 --- a/lua_probject/base_project/Game/View/NewGroup/MngView/GroupMngPartnerStatView.lua +++ b/lua_probject/base_project/Game/View/NewGroup/MngView/GroupMngPartnerStatView.lua @@ -63,7 +63,7 @@ function M:InitView() end self.lst_record.scrollPane.onPullUpRelease:Set(function() self._data_index = self._data_index + 1 - self:GetRecoedData(self._data_index * 3, self._data_selectedSortType) + self:GetRecoedData(self._data_index * 33, self._data_selectedSortType) end) self.lst_record_find = self._view:GetChild("lst_member_find") @@ -170,8 +170,6 @@ function M:InitView() -- local type = self.btn_totalWin:GetController("type") -- type.selectedIndex = type.selectedIndex == 0 and 1 or 3 - type.selectedIndex local type = self.btn_totalWin:GetController("type") - self._data_index = 0 - self.record_data = {} if type.selectedIndex == 0 then self._data_selectedSortType = 1 else @@ -201,8 +199,6 @@ function M:InitView() -- local type = self.btn_totalRound:GetController("type") -- type.selectedIndex = type.selectedIndex == 0 and 1 or 3 - type.selectedIndex local type = self.btn_totalRound:GetController("type") - self._data_index = 0 - self.record_data = {} if type.selectedIndex == 0 then self._data_selectedSortType = 3 else @@ -231,8 +227,6 @@ function M:InitView() -- local type = self.btn_total:GetController("type") -- type.selectedIndex = type.selectedIndex == 0 and 1 or 3 - type.selectedIndex local type = self.btn_total:GetController("type") - self._data_index = 0 - self.record_data = {} if type.selectedIndex == 0 then self._data_selectedSortType = 5 else @@ -260,8 +254,6 @@ function M:InitView() -- self.btn_totalRound:GetController("type").selectedIndex = 0 -- self.btn_total:GetController("type").selectedIndex = 0 local type = self.btn_reward:GetController("type") - self._data_index = 0 - self.record_data = {} if type.selectedIndex == 0 then self._data_selectedSortType = 7 else @@ -289,9 +281,6 @@ function M:GetRecordData(index) -- if group.lev == 1 and self._data_choosePlayyer.uid == DataManager.SelfUser.account_id then -- self:RecursionGetRankData(0) -- else - self._data_index = 0 - self.record_data = {} - self.lst_record.numItems = 0 self:GetRecoedData(0, 5) -- end end @@ -300,9 +289,6 @@ function M:RefrenRecordData(data) self._data_choosePlayyer = data local group = DataManager.groups:get(self.group_id) -- pt("lingmeng GetRecordData2", self.group_id, self._data_choosePlayyer, group.lev) - self._data_index = 0 - self.record_data = {} - self.lst_record.numItems = 0 self:GetRecoedData(0, 5) end @@ -342,10 +328,15 @@ function M:RecursionGetRecoedData(index) end function M:GetRecoedData(index, type) + if index == 0 then + self._data_index = 0 + self.record_data = {} + self.lst_record.numItems = 0 + end ViewUtil.ShowModalWait("正在获取数据中") local fgCtr = ControllerManager.GetController(NewGroupController) fgCtr:FG_GetMemberStat(self.group_id, 0, self._data_choosePlayyer.uid, - index, 3, 3, self.begin_time, self.end_time, type, + index, 33, 3, self.begin_time, self.end_time, type, function(res) if res.ReturnCode == 0 then local members = res.Data.members diff --git a/wb_new_ui/assets/Extend_Poker_TwoDouDiZhu/component/Creat_TwoDouDiZhu.xml b/wb_new_ui/assets/Extend_Poker_TwoDouDiZhu/component/Creat_TwoDouDiZhu.xml index d8bc52a1..52ae91a6 100644 --- a/wb_new_ui/assets/Extend_Poker_TwoDouDiZhu/component/Creat_TwoDouDiZhu.xml +++ b/wb_new_ui/assets/Extend_Poker_TwoDouDiZhu/component/Creat_TwoDouDiZhu.xml @@ -2,7 +2,7 @@ - + @@ -23,6 +23,7 @@ + @@ -36,27 +37,27 @@