同步加注传输分数
parent
6ecce87e79
commit
0058512849
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue