同步加注传输分数

master
罗家炜 2025-05-16 18:08:01 +08:00
parent 6ecce87e79
commit 0058512849
2 changed files with 5 additions and 3 deletions

View File

@ -27,6 +27,8 @@ function FamilyNumberRecord.New(root)
self._input_IDSerach = self._view:GetChild('input_numberID') self._input_IDSerach = self._view:GetChild('input_numberID')
print("lingmengplayList", #playList)
pt(playList)
comp_gameTypeList:SetVirtual() comp_gameTypeList:SetVirtual()
comp_gameTypeList.itemRenderer = function(index, obj) comp_gameTypeList.itemRenderer = function(index, obj)
obj.title = playList[index + 1].game_name obj.title = playList[index + 1].game_name
@ -54,7 +56,7 @@ function FamilyNumberRecord.New(root)
self:OnClickSortType(context) self:OnClickSortType(context)
end) end)
comp_gameTypeList.onClickItem:Set(function(context) comp_gameTypeList.onClickItem:Set(function(context)
self:OnClickSortType(self._group.id, context.data.pid) self:OnClickSortType(self._group.id, context.data.data.pid)
end) end)
return self return self
@ -64,7 +66,7 @@ function M:OnClickSortType(groupId, pid)
print("lingmengOnClickSortType") print("lingmengOnClickSortType")
local fgCtr = ControllerManager.GetController(NewGroupController) local fgCtr = ControllerManager.GetController(NewGroupController)
fgCtr:FG_GetGroupRecord(groupId, GetPlatform(), pid, 0, 100, function(res) fgCtr:FG_GetGroupRecord(groupId, GetPlatform(), pid, 0, 100, function(res)
pt(res)
end) end)
end end

View File

@ -70,7 +70,7 @@ function M:OnClickTips(context)
local button = context.data.data local button = context.data.data
local id = button.id local id = button.id
local _data = {} local _data = {}
if id == TipID.xia then if id == TipID.xia or id == TipID.jia then
local score = button.data local score = button.data
_data["id"] = id _data["id"] = id
_data["betScore"] = tonumber(score) _data["betScore"] = tonumber(score)