排行榜完成

master
罗家炜 2025-06-19 14:38:23 +08:00
parent a2965576d3
commit a4af1515a0
62 changed files with 359 additions and 205 deletions

View File

@ -0,0 +1,169 @@
local FamilAllRank = {}
local M = FamilAllRank
function FamilAllRank.New(root, groupId)
local self = setmetatable({}, { __index = M })
self._father = root
self.group_id = groupId
self:init()
return self
end
function M:init()
local root = self._father
self._lastTpe = root.familyType.selectedIndex
root.familyType.selectedIndex = 0
local comp_rank = UIPackage.CreateObjectFromURL("ui://Family/comp_rank")
root._view:AddChild(comp_rank)
comp_rank.width = root._view.width
comp_rank.height = root._view.height
comp_rank:Center()
self._view = comp_rank
local viewBox_leftTime = comp_rank:GetChild('left_time')
local viewBox_rightTime = comp_rank:GetChild('right_time')
local viewBtn_search = comp_rank:GetChild('btn_search')
local viewBtn_close = comp_rank:GetChild('btn_close')
self._viewList_round = comp_rank:GetChild('list_round')
self._viewList_score = comp_rank:GetChild('list_score')
self._viewList_win = comp_rank:GetChild('list_win')
viewBtn_close.onClick:Set(function()
root.familyType.selectedIndex = self._lastTpe
self._lastTpe = nil
comp_rank.visible = false
end)
local serverDayValues, serverDayItems = self:InitTime()
viewBox_leftTime.items = serverDayItems
viewBox_leftTime.values = serverDayValues
viewBox_rightTime.items = serverDayItems
viewBox_rightTime.values = serverDayValues
self.leftTimes = tonumber(serverDayValues[1])
self.rightTimes = tonumber(serverDayValues[1])
viewBox_leftTime.onChanged:Set(function()
self.leftTimes = tonumber(viewBox_leftTime.value)
end)
viewBox_rightTime.onChanged:Set(function()
self.rightTimes = tonumber(viewBox_rightTime.value)
end)
self._viewList_round:SetVirtual()
self._viewList_round.itemRenderer = handler(self, self.RoundListRenderer)
self._viewList_score:SetVirtual()
self._viewList_score.itemRenderer = handler(self, self.ScoreListRenderer)
self._viewList_win:SetVirtual()
self._viewList_win.itemRenderer = handler(self, self.WinListRenderer)
viewBtn_search.onClick:Set(function()
self:SearchRank()
end)
self:SearchRank()
end
function M:InitTime()
local timeTable = os.date("*t", os.time())
timeTable.hour = 0
timeTable.min = 0
timeTable.sec = 0
local serverDayItems = {}
local serverDayValues = {}
for i = 0, 6 do
local tempValue = os.time(timeTable) - 86400 * i
print(tempValue)
local tempItems = os.date("%Y-%m-%d", tempValue)
table.insert(serverDayItems, tempItems)
table.insert(serverDayValues, tostring(tempValue))
end
return serverDayValues, serverDayItems
end
function M:RoundListRenderer(index, obj)
local rankTable = self.roundRanks
obj:GetChild('text_rank').text = index
obj:GetChild('text_id').text = rankTable[index + 1].rankTable
obj:GetChild('text_name').text = rankTable[index + 1].nick
obj:GetChild('text_other').text = rankTable[index + 1].round
ImageLoad.Load(rankTable[index + 1].portrait, obj:GetChild('btn_head')._iconObject)
end
function M:WinListRenderer(index, obj)
local rankTable = self.winRanks
obj:GetChild('text_rank').text = index
obj:GetChild('text_id').text = rankTable[index + 1].rankTable
obj:GetChild('text_name').text = rankTable[index + 1].nick
obj:GetChild('text_other').text = rankTable[index + 1].win
ImageLoad.Load(rankTable[index + 1].portrait, obj:GetChild('btn_head')._iconObject)
end
function M:ScoreListRenderer(index, obj)
local rankTable = self.scoreRanks
obj:GetChild('text_rank').text = index
obj:GetChild('text_id').text = rankTable[index + 1].rankTable
obj:GetChild('text_name').text = rankTable[index + 1].nick
obj:GetChild('text_other').text = d2ad(rankTable[index + 1].score)
ImageLoad.Load(rankTable[index + 1].portrait, obj:GetChild('btn_head')._iconObject)
end
function M:SearchRank()
local fgCtr = ControllerManager.GetController(NewGroupController)
local begin_time = math.min(self.leftTimes, self.rightTimes)
local end_time = math.max(self.leftTimes, self.rightTimes)
self:ClearingTable()
self:RecursionSearchRank(fgCtr, 0, begin_time, end_time)
end
function M:RecursionSearchRank(fgCtr, index, begin_time, end_time)
fgCtr:FG_GetMemberRank(self.group_id, 0, index * 2, 2, begin_time, end_time, nil, function(res)
if res.ReturnCode ~= 0 then
ViewUtil.ErrorTip(res.ReturnCode, "获取排行榜失败")
return
else
local info = res.Data
if info.ranks and #info.ranks > 0 then
self:RankTableInsert(info.ranks)
self:RecursionSearchRank(fgCtr, index + 1, begin_time, end_time)
else
table.sort(self.roundRanks, function(a, b)
return a.round > b.round
end)
table.sort(self.winRanks, function(a, b)
return a.win > b.win
end)
table.sort(self.scoreRanks, function(a, b)
return a.score > b.score
end)
self._viewList_round.numItems = #self.roundRanks
self._viewList_score.numItems = #self.winRanks
self._viewList_win.numItems = #self.scoreRanks
end
end
end)
end
function M:RankTableInsert(ranks)
for i = 1, #ranks do
table.insert(self.roundRanks, ranks[i])
table.insert(self.winRanks, ranks[i])
table.insert(self.scoreRanks, ranks[i])
end
end
function M:ClearingTable()
self.roundRanks = {}
self.winRanks = {}
self.scoreRanks = {}
self._viewList_round.numItems = 0
self._viewList_score.numItems = 0
self._viewList_win.numItems = 0
end
return M

View File

@ -2,6 +2,7 @@ local FamilyInviteFamilyView = import('.Family.FamilyInviteFamilyView')
local CreatePlayView = import('.Family.CreatePlayView') local CreatePlayView = import('.Family.CreatePlayView')
local GroupGameSettingView = import(".NewGroup.MngView.GroupGameSettingView_jaingxi") local GroupGameSettingView = import(".NewGroup.MngView.GroupGameSettingView_jaingxi")
local LobbyShopView = import(".Lobby.LobbyShopView") local LobbyShopView = import(".Lobby.LobbyShopView")
local FamilAllRank = import(".Family.FamilAllRank")
---无窗口 ---无窗口
local FamilyAllNumbers = import(".Family.FamilyAllNumbers") local FamilyAllNumbers = import(".Family.FamilyAllNumbers")
@ -129,6 +130,12 @@ function M:ShowShop()
self._child_familyLobbyShopView:Show() self._child_familyLobbyShopView:Show()
end end
function M:ShowAllRank()
if not self._ViewChild_AllRank then
self._ViewChild_AllRank = FamilAllRank.New(self, self._group.id)
end
end
function M:MoreBtn() function M:MoreBtn()
local ctr_more = self._view:GetController('moreBtn') local ctr_more = self._view:GetController('moreBtn')
self._view:GetChild('bg_moreBtnBack').onClick:Set(function() self._view:GetChild('bg_moreBtnBack').onClick:Set(function()
@ -325,6 +332,7 @@ function M:UpdateFamilyRoom(fgCtr, id)
end end
list_gamePlay.itemRenderer = function(index, obj) list_gamePlay.itemRenderer = function(index, obj)
if index == 0 then if index == 0 then
obj:GetController('type').selectedIndex = 0
obj:GetChild('num').text = string.format("%d/7", #playList) obj:GetChild('num').text = string.format("%d/7", #playList)
obj:GetChild('btn_addPlay').onClick:Set(function() obj:GetChild('btn_addPlay').onClick:Set(function()
local tem = GroupGameSettingView.new(self.blur_view, id, 0, nil, function(play) local tem = GroupGameSettingView.new(self.blur_view, id, 0, nil, function(play)
@ -342,11 +350,13 @@ function M:UpdateFamilyRoom(fgCtr, id)
obj:GetChild('text_title').text = playList[index].game_name obj:GetChild('text_title').text = playList[index].game_name
local mode = ExtendManager.GetExtendConfig(playList[index].gameId):GetGameInfo() local mode = ExtendManager.GetExtendConfig(playList[index].gameId):GetGameInfo()
obj:GetChild('Label_details'):GetChild('title').text = mode:LoadConfigToDetail(playList[index].config) obj:GetChild('Label_details'):GetChild('title').text = mode:LoadConfigToDetail(playList[index].config)
obj:GetChild('text_playName').text = playList[index].name
obj:GetController('type').selectedIndex = 1 obj:GetController('type').selectedIndex = 1
obj:GetChild('btn_del').onClick:Add(function() obj:GetChild('btn_del').onClick:Set(function()
fgCtr:FG_DelPlay(id, playList[index].id, function() ViewUtil.ShowTwoChooose("是否要删除该玩法", function()
ViewUtil.ShowBannerOnScreenCenter("删除成功") fgCtr:FG_DelPlay(id, playList[index].id, function()
self:UpdateFamilyRoom(fgCtr, id) self:UpdateFamilyRoom(fgCtr, id)
end)
end) end)
end) end)
end end
@ -505,7 +515,7 @@ local IDENTITY_LIST = {
}, },
{ {
name = "亲友圈排行榜", name = "亲友圈排行榜",
Fct = M.CreateFamily Fct = M.ShowAllRank
} }
} }
@ -547,7 +557,7 @@ local IDENTITY_LIST = {
}, },
{ {
name = "亲友圈排行榜", name = "亲友圈排行榜",
Fct = M.CreateFamily Fct = M.ShowAllRank
} }
} }

View File

@ -822,16 +822,16 @@ function M:EventInit()
_gamectr:AddEventListener( _gamectr:AddEventListener(
GameEvent.WitnessPlayerLeave, GameEvent.WitnessPlayerLeave,
function(...) function(...)
---- print("刷新托管数据=====") -- print("刷新托管数据=====")
local arg = { ... } local arg = { ... }
local player = arg[1] local player = arg[1]
local witnessPlayerList = _room.witness_player_list local witnessPlayerList = _room.witness_player_list
for i, _player in ipairs(witnessPlayerList) do -- for i, _player in ipairs(witnessPlayerList) do
if _player.uid == player then -- if _player.uid == player then
table.remove(witnessPlayerList, i) -- table.remove(witnessPlayerList, i)
return -- return
end -- end
end -- end
end end
) )
end end

View File

@ -2,8 +2,8 @@
<component size="408,159" extention="Button"> <component size="408,159" extention="Button">
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/> <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
<displayList> <displayList>
<loader id="n4_qz7i" name="icon" xy="-12,-12" size="432,183" url="ui://27vd145bn2h87imi" align="center" vAlign="middle" autoSize="true"> <loader id="n4_qz7i" name="icon" xy="0,0" size="408,159" url="ui://27vd145bn2h87imi" align="center" vAlign="middle" fill="scale">
<relation target="" sidePair="center-center,middle-middle"/> <relation target="" sidePair="width-width,height-height"/>
</loader> </loader>
</displayList> </displayList>
<Button/> <Button/>

View File

@ -2,8 +2,8 @@
<component size="408,159" extention="Button"> <component size="408,159" extention="Button">
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/> <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
<displayList> <displayList>
<loader id="n4_qz7i" name="icon" xy="97,42" size="214,75" url="ui://27vd145bnlvy7i6o" align="center" vAlign="middle" autoSize="true"> <loader id="n4_qz7i" name="icon" xy="0,0" size="408,159" url="ui://27vd145bnlvy7i6o" align="center" vAlign="middle" fill="scale">
<relation target="" sidePair="center-center,middle-middle"/> <relation target="" sidePair="width-width,height-height"/>
</loader> </loader>
</displayList> </displayList>
<Button/> <Button/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -1208,6 +1208,8 @@
<image id="o8k87in1" name="玩法介绍.png" path="/component/rule/"/> <image id="o8k87in1" name="玩法介绍.png" path="/component/rule/"/>
<image id="o1v07in2" name="Rectangle 157.png" path="/images/win/" exported="true" scale="9grid" scale9grid="45,39,13,12"/> <image id="o1v07in2" name="Rectangle 157.png" path="/images/win/" exported="true" scale="9grid" scale9grid="45,39,13,12"/>
<image id="o1v05g" name="Rectangle 145.png" path="/images/win/" exported="true"/> <image id="o1v05g" name="Rectangle 145.png" path="/images/win/" exported="true"/>
<image id="jydr7in3" name="bt_cancel1.png" path="/images/btn_choose/"/>
<image id="jydr7in4" name="queren_btn1.png" path="/images/btn_choose/"/>
</resources> </resources>
<publish name="Common" path="..\wb_unity_pro\Assets\ART\base\common\ui" packageCount="2" maxAtlasSize="2048"> <publish name="Common" path="..\wb_unity_pro\Assets\ART\base\common\ui" packageCount="2" maxAtlasSize="2048">
<atlas name="默认" index="0"/> <atlas name="默认" index="0"/>

View File

@ -8,7 +8,11 @@
<image id="n3_n2h8" name="n3" src="n2h87imd" fileName="images/bg_oneChoose/提示@3x.png" xy="1183,215" group="n4_n2h8"/> <image id="n3_n2h8" name="n3" src="n2h87imd" fileName="images/bg_oneChoose/提示@3x.png" xy="1183,215" group="n4_n2h8"/>
<group id="n4_n2h8" name="bg" xy="-234,-915" size="3000,3000"/> <group id="n4_n2h8" name="bg" xy="-234,-915" size="3000,3000"/>
<text id="n9_n2h8" name="text_show" xy="576,366" size="1380,333" font="ui://27vd145bh35o7ilb" fontSize="48" color="#61270f" align="center" vAlign="middle" leading="8" letterSpacing="6" autoSize="none" text="下载地址已复制,请到浏览器粘贴下载地址已复制,请到浏览器粘贴下载地址已复制,请到浏览器粘贴"/> <text id="n9_n2h8" name="text_show" xy="576,366" size="1380,333" font="ui://27vd145bh35o7ilb" fontSize="48" color="#61270f" align="center" vAlign="middle" leading="8" letterSpacing="6" autoSize="none" text="下载地址已复制,请到浏览器粘贴下载地址已复制,请到浏览器粘贴下载地址已复制,请到浏览器粘贴"/>
<component id="n11_qz7i" name="btn_leftChoose" src="qz7i7imr" fileName="component/pop_twoChooser/btn_leftChoose.xml" xy="720,749"/> <component id="n11_qz7i" name="btn_leftChoose" src="qz7i7imr" fileName="component/pop_twoChooser/btn_leftChoose.xml" xy="794,761" size="422,166" aspect="true">
<component id="n12_qz7i" name="btn_rightChoose" src="qz7i7imt" fileName="component/pop_twoChooser/btn_rightChoose.xml" xy="1363,757"/> <Button icon="ui://27vd145bjydr7in4"/>
</component>
<component id="n12_qz7i" name="btn_rightChoose" src="qz7i7imt" fileName="component/pop_twoChooser/btn_rightChoose.xml" xy="1316,761" size="422,166">
<Button icon="ui://27vd145bjydr7in3"/>
</component>
</displayList> </displayList>
</component> </component>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<component size="513,720"> <component size="513,720">
<controller name="type" pages="0,type,1,game" selected="0"/> <controller name="type" pages="0,type,1,game" selected="1"/>
<displayList> <displayList>
<graph id="n0_86ct" name="n0" xy="0,0" size="513,720" group="n8_ayfr" type="rect" lineSize="0" fillColor="#ffa3673b" corner="24"/> <graph id="n0_86ct" name="n0" xy="0,0" size="513,720" group="n8_ayfr" type="rect" lineSize="0" fillColor="#ffa3673b" corner="24"/>
<graph id="n5_86ct" name="n5" xy="18,157" size="480,450" group="n8_ayfr" type="rect" lineSize="0" lineColor="#ffffd184" fillColor="#ffffd184" corner="24"/> <graph id="n5_86ct" name="n5" xy="18,157" size="480,450" group="n8_ayfr" type="rect" lineSize="0" lineColor="#ffffd184" fillColor="#ffffd184" corner="24"/>
@ -11,7 +11,8 @@
</text> </text>
<component id="n2_86ct" name="btn_del" src="86ct7cv6" fileName="GamePlay/Component/btn_del.xml" xy="258,615" size="249,99" group="n8_ayfr"/> <component id="n2_86ct" name="btn_del" src="86ct7cv6" fileName="GamePlay/Component/btn_del.xml" xy="258,615" size="249,99" group="n8_ayfr"/>
<component id="n3_86ct" name="btn_edit" src="86ct7cv5" fileName="GamePlay/Component/btn_edit.xml" xy="9,615" size="249,99" group="n8_ayfr"/> <component id="n3_86ct" name="btn_edit" src="86ct7cv5" fileName="GamePlay/Component/btn_edit.xml" xy="9,615" size="249,99" group="n8_ayfr"/>
<component id="n4_86ct" name="Label_details" src="86ct7cv7" fileName="GamePlay/Component/Label_details.xml" xy="31,169" size="453,423" group="n8_ayfr"/> <component id="n4_86ct" name="Label_details" src="86ct7cv7" fileName="GamePlay/Component/Label_details.xml" xy="31,221" size="453,371" group="n8_ayfr"/>
<text id="n17_jydr" name="text_playName" xy="28,165" size="460,56" group="n8_ayfr" font="ui://27vd145bh35o7ilc" fontSize="42" align="center" vAlign="middle" autoSize="none" text="game那么"/>
<group id="n8_ayfr" name="game" xy="0,0" size="513,720" advanced="true"> <group id="n8_ayfr" name="game" xy="0,0" size="513,720" advanced="true">
<gearDisplay controller="type" pages="1"/> <gearDisplay controller="type" pages="1"/>
</group> </group>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="200,100" extention="Button">
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
<displayList>
<loader id="n3_jydr" name="icon" xy="0,0" size="200,100" fill="scale">
<relation target="" sidePair="width-width,height-height"/>
</loader>
</displayList>
<Button mode="Radio"/>
</component>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="200,100" extention="Button">
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
<displayList>
<loader id="n3_jydr" name="icon" xy="0,0" size="200,100" fill="scale">
<relation target="" sidePair="width-width,height-height"/>
</loader>
</displayList>
<Button mode="Check"/>
</component>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="435,76" extention="ComboBox">
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
<displayList>
<image id="n4_jydr" name="n4" src="jydr7d3u" fileName="Rank/Image/Rectangle 163.png" xy="0,5" group="n7_jydr">
<relation target="" sidePair="width-width%,height-height%"/>
</image>
<image id="n5_jydr" name="n5" src="jydr7d3s" fileName="Rank/Image/Rectangle 165.png" xy="369,5" group="n7_jydr">
<relation target="" sidePair="width-width%,height-height%"/>
</image>
<image id="n6_jydr" name="n6" src="jydr7d3t" fileName="Rank/Image/Polygon 5.png" xy="384,25" group="n7_jydr">
<relation target="" sidePair="width-width%,height-height%"/>
</image>
<group id="n7_jydr" name="bg" xy="0,5" size="435,66"/>
<text id="n3_jydr" name="title" xy="4,2" size="364,72" font="ui://27vd145bh35o7il1" fontSize="54" color="#ffffff" align="center" vAlign="middle" autoSize="none" singleLine="true" text="2025-09-09">
<relation target="" sidePair="width-width,height-height"/>
</text>
</displayList>
<ComboBox dropdown="ui://htcn7v3rjydr7d3x"/>
</component>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="435,72" extention="Button">
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
<displayList>
<text id="n2_jydr" name="title" xy="0,0" size="435,72" font="ui://27vd145bh35o7im8" fontSize="54" color="#ffffff" align="center" vAlign="middle" autoSize="none" singleLine="true" text="2025-07-07">
<relation target="" sidePair="width-width,height-height"/>
</text>
</displayList>
<Button mode="Radio"/>
<relation target="n2_jydr" sidePair="height-height"/>
</component>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="364,504">
<displayList>
<image id="n0_jydr" name="n0" src="jydr7d3u" fileName="Rank/Image/Rectangle 163.png" xy="0,0" size="364,504">
<relation target="" sidePair="width-width,height-height"/>
</image>
<list id="n1_jydr" name="list" xy="0,0" size="364,504" overflow="scroll" defaultItem="ui://htcn7v3rjydr7d3w">
<relation target="" sidePair="width-width"/>
</list>
</displayList>
<relation target="n1_jydr" sidePair="height-height"/>
</component>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="1794,114">
<displayList>
<image id="n0_jydr" name="n0" src="jydr7d42" fileName="Rank/Image/Group 363.png" xy="-12,0"/>
<text id="n1_jydr" name="text_rank" xy="1,27" size="310,65" font="ui://27vd145bh35o7im2" fontSize="46" align="center" vAlign="middle" autoSize="none" text="1"/>
<text id="n2_jydr" name="text_id" xy="631,27" size="317,65" font="ui://27vd145bh35o7im2" fontSize="46" align="center" vAlign="middle" autoSize="none" text="1"/>
<text id="n3_jydr" name="text_name" xy="950,27" size="540,65" font="ui://27vd145bh35o7im2" fontSize="46" align="center" vAlign="middle" autoSize="none" text="1"/>
<text id="n4_jydr" name="text_other" xy="1491,27" size="298,65" font="ui://27vd145bh35o7im2" fontSize="46" align="center" vAlign="middle" autoSize="none" text="1"/>
<component id="n5_jydr" name="btn_head" src="86ct7cwk" fileName="Main/Component/btn_head.xml" xy="434,23" size="73,73" aspect="true"/>
</displayList>
</component>

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="2432,1170">
<controller name="top_list" pages="0,,1,,2," selected="2"/>
<displayList>
<component id="n0_jydr" name="btn_close" src="in3i7cu9" fileName="Main/Component/btn_close.xml" xy="54,6" group="n2_jydr"/>
<image id="n1_jydr" name="n1" src="jydr7d3l" fileName="Rank/Image/Group 147.png" xy="246,194" group="n2_jydr">
<relation target="" sidePair="width-width%,height-height%"/>
</image>
<group id="n2_jydr" name="bg" xy="54,6" size="2232,1148"/>
<component id="n4_jydr" name="btn_round" src="jydr7d3r" fileName="Main/Component/btn_choose.xml" xy="659,361" size="348,123" group="n7_jydr">
<Button icon="ui://htcn7v3rjydr7d3f" selectedIcon="ui://htcn7v3rjydr7d3i" controller="top_list" page="0"/>
</component>
<component id="n5_jydr" name="btn_win" src="jydr7d3r" fileName="Main/Component/btn_choose.xml" xy="1079,361" size="348,123" group="n7_jydr">
<Button icon="ui://htcn7v3rjydr7d3g" selectedIcon="ui://htcn7v3rjydr7d3j" controller="top_list" page="1"/>
</component>
<component id="n9_jydr" name="left_time" src="jydr7d3y" fileName="Rank/Component/combBox_time.xml" xy="750,263" group="n7_jydr">
<ComboBox title="2025-01-02" visibleItemCount="7" direction="down">
<item title="1" value="2"/>
<item title="2" value="3"/>
</ComboBox>
</component>
<image id="n10_jydr" name="n10" src="jydr7d40" fileName="Rank/Image/1_04.png" xy="1227,268" group="n7_jydr"/>
<component id="n11_jydr" name="right_time" src="jydr7d3y" fileName="Rank/Component/combBox_time.xml" xy="1338,263" group="n7_jydr">
<ComboBox visibleItemCount="10"/>
</component>
<component id="n6_jydr" name="btn_score" src="jydr7d3r" fileName="Main/Component/btn_choose.xml" xy="1499,361" size="348,123" group="n7_jydr">
<Button checked="true" icon="ui://htcn7v3rjydr7d3h" selectedIcon="ui://htcn7v3rjydr7d3k" controller="top_list" page="2"/>
</component>
<component id="n12_jydr" name="btn_search" src="jydr7d3r" fileName="Main/Component/btn_choose.xml" xy="1840,264" size="204,74" group="n7_jydr">
<Button icon="ui://htcn7v3rjydr7d3z"/>
</component>
<group id="n7_jydr" name="top" xy="659,263" size="1385,221"/>
<image id="n13_jydr" name="n13" src="jydr7d3o" fileName="Rank/Image/Group 556.png" xy="366,490" size="1794,72" group="n14_jydr">
<relation target="" sidePair="center-center,middle-middle"/>
</image>
<list id="n15_jydr" name="list_round" xy="366,590" size="1794,522" group="n14_jydr" overflow="scroll" lineGap="-8" defaultItem="ui://htcn7v3rjydr7d43">
<gearDisplay controller="top_list" pages="0"/>
</list>
<list id="n17_jydr" name="list_score" xy="366,590" size="1794,522" group="n14_jydr" overflow="scroll" lineGap="-8" defaultItem="ui://htcn7v3rjydr7d43" autoClearItems="true">
<gearDisplay controller="top_list" pages="2"/>
<item/>
<item/>
<item/>
</list>
<text id="n18_jydr" name="n18" xy="1965,498" size="88,56" group="n14_jydr" font="FZCuYuan-M03" fontSize="42" color="#ffffff" text="分数">
<gearText controller="top_list" pages="1,2" values="大赢家数|分数" default="局数"/>
<relation target="" sidePair="center-center,middle-middle"/>
</text>
<list id="n16_jydr" name="list_win" xy="366,590" size="1794,522" group="n14_jydr" overflow="scroll" lineGap="-8" defaultItem="ui://htcn7v3rjydr7d43">
<gearDisplay controller="top_list" pages="1"/>
</list>
<group id="n14_jydr" name="body" xy="366,490" size="1794,622"/>
</displayList>
</component>

View File

@ -267,6 +267,30 @@
<component id="slrk7d3b" name="Item_familyRecord.xml" path="/Record/Component/"/> <component id="slrk7d3b" name="Item_familyRecord.xml" path="/Record/Component/"/>
<component id="slrk7d3c" name="Item_familyPlayer.xml" path="/Record/Component/"/> <component id="slrk7d3c" name="Item_familyPlayer.xml" path="/Record/Component/"/>
<image id="o2rw7d3d" name="zhuangrang 1.png" path="/Main/Image/"/> <image id="o2rw7d3d" name="zhuangrang 1.png" path="/Main/Image/"/>
<component id="jydr7d3e" name="comp_rank.xml" path="/Rank/" exported="true"/>
<image id="jydr7d3f" name="2_12.png" path="/Rank/Image/"/>
<image id="jydr7d3g" name="2_14.png" path="/Rank/Image/"/>
<image id="jydr7d3h" name="2_16.png" path="/Rank/Image/"/>
<image id="jydr7d3i" name="3_12.png" path="/Rank/Image/"/>
<image id="jydr7d3j" name="3_14.png" path="/Rank/Image/"/>
<image id="jydr7d3k" name="3_16.png" path="/Rank/Image/"/>
<image id="jydr7d3l" name="Group 147.png" path="/Rank/Image/"/>
<image id="jydr7d3m" name="Group 327.png" path="/Rank/Image/"/>
<image id="jydr7d3n" name="Group 555.png" path="/Rank/Image/"/>
<image id="jydr7d3o" name="Group 556.png" path="/Rank/Image/"/>
<image id="jydr7d3p" name="该时间段没人上榜!.png" path="/Rank/Image/"/>
<component id="jydr7d3q" name="btn_mul.xml" path="/Main/Component/"/>
<component id="jydr7d3r" name="btn_choose.xml" path="/Main/Component/"/>
<image id="jydr7d3s" name="Rectangle 165.png" path="/Rank/Image/"/>
<image id="jydr7d3t" name="Polygon 5.png" path="/Rank/Image/"/>
<image id="jydr7d3u" name="Rectangle 163.png" path="/Rank/Image/" scale="9grid" scale9grid="103,16,206,32"/>
<component id="jydr7d3w" name="combBox_time_item.xml" path="/Rank/Component/"/>
<component id="jydr7d3x" name="combBox_time_popup.xml" path="/Rank/Component/"/>
<component id="jydr7d3y" name="combBox_time.xml" path="/Rank/Component/" exported="true"/>
<image id="jydr7d3z" name="hall_club_button_search.png" path="/Rank/Image/"/>
<image id="jydr7d40" name="1_04.png" path="/Rank/Image/"/>
<image id="jydr7d42" name="Group 363.png" path="/Rank/Image/"/>
<component id="jydr7d43" name="comp_listChild.xml" path="/Rank/Component/"/>
</resources> </resources>
<publish name="Family" path="..\wb_unity_pro\Assets\ART\base\Family\ui" packageCount="2"/> <publish name="Family" path="..\wb_unity_pro\Assets\ART\base\Family\ui" packageCount="2"/>
</packageDescription> </packageDescription>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 494 KiB

After

Width:  |  Height:  |  Size: 592 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,92 +0,0 @@
fileFormatVersion: 2
guid: f94da803252487047b56a8b4adfa918c
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName: base/family/b23cba4d4e164d6d5cb3cff916b9e0a4
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@ -1,92 +0,0 @@
fileFormatVersion: 2
guid: 4d83deb0fbb5ea94a9a8de954a114ad5
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName: base/family/b23cba4d4e164d6d5cb3cff916b9e0a4
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1018 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 832 KiB

After

Width:  |  Height:  |  Size: 846 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 KiB

After

Width:  |  Height:  |  Size: 424 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 KiB

After

Width:  |  Height:  |  Size: 601 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 KiB

After

Width:  |  Height:  |  Size: 802 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 980 KiB

After

Width:  |  Height:  |  Size: 951 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB