同步加注传输分数
parent
6ecce87e79
commit
0058512849
|
|
@ -27,6 +27,8 @@ function FamilyNumberRecord.New(root)
|
|||
|
||||
self._input_IDSerach = self._view:GetChild('input_numberID')
|
||||
|
||||
print("lingmengplayList", #playList)
|
||||
pt(playList)
|
||||
comp_gameTypeList:SetVirtual()
|
||||
comp_gameTypeList.itemRenderer = function(index, obj)
|
||||
obj.title = playList[index + 1].game_name
|
||||
|
|
@ -54,7 +56,7 @@ function FamilyNumberRecord.New(root)
|
|||
self:OnClickSortType(context)
|
||||
end)
|
||||
comp_gameTypeList.onClickItem:Set(function(context)
|
||||
self:OnClickSortType(self._group.id, context.data.pid)
|
||||
self:OnClickSortType(self._group.id, context.data.data.pid)
|
||||
end)
|
||||
|
||||
return self
|
||||
|
|
@ -64,7 +66,7 @@ function M:OnClickSortType(groupId, pid)
|
|||
print("lingmengOnClickSortType")
|
||||
local fgCtr = ControllerManager.GetController(NewGroupController)
|
||||
fgCtr:FG_GetGroupRecord(groupId, GetPlatform(), pid, 0, 100, function(res)
|
||||
|
||||
pt(res)
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ function M:OnClickTips(context)
|
|||
local button = context.data.data
|
||||
local id = button.id
|
||||
local _data = {}
|
||||
if id == TipID.xia then
|
||||
if id == TipID.xia or id == TipID.jia then
|
||||
local score = button.data
|
||||
_data["id"] = id
|
||||
_data["betScore"] = tonumber(score)
|
||||
|
|
|
|||
Loading…
Reference in New Issue