聊天室红点

master
1076390229 2025-07-28 20:42:56 +08:00
parent 61a9b8ece3
commit 9a1c182fec
24 changed files with 136 additions and 56 deletions

View File

@ -257,7 +257,7 @@ function M:OnEvtUpdateRoom(evt_data)
end end
for _, room in pairs(cmds) do for _, room in pairs(cmds) do
for _, palyingUser in pairs(room.plist) do for _, palyingUser in pairs(room.plist or {}) do
local _player = group.memberMap[palyingUser.aid] local _player = group.memberMap[palyingUser.aid]
_player.playing = "startPlaying" _player.playing = "startPlaying"
end end
@ -360,11 +360,18 @@ function M:FG_CLOSE_ISOPEN_CHATROOM(groupId, callback)
end end
-- 拉取聊天室数据 -- 拉取聊天室数据
function M:FG_ENTER_CHATROOM(groupId, callback) function M:FG_ENTER_CHATROOM(groupId, getData, callback)
local _data = {} local _data = {}
_data.groupId = groupId _data.groupId = groupId
_data.uid = DataManager.SelfUser.account_id _data.uid = DataManager.SelfUser.account_id
_data.getData = getData
self._mgr_client:send(Protocol.FGMGR_EVT_ENTER_CHATROOM, _data, function(res) self._mgr_client:send(Protocol.FGMGR_EVT_ENTER_CHATROOM, _data, function(res)
--[[
if _data.getData then
local group = DataManager.groups:get(_data.groupId)
group.records = res.Data.records
end
]]
callback(res) callback(res)
end) end)
end end
@ -446,14 +453,24 @@ function M:FG_Isopen_ChatRoom(evt_data)
end end
function M:FG_Data_ChatRoom(evt_data) function M:FG_Data_ChatRoom(evt_data)
print("收到是否开启聊天室推送") print("收到聊天室数据")
pt(evt_data) pt(evt_data)
if evt_data.getData then
local group = DataManager.groups:get(evt_data.groupId)
group.records = evt_data.records
end
DispatchEvent(self._dispatcher, GroupMgrEvent.ChatRoomData, evt_data) DispatchEvent(self._dispatcher, GroupMgrEvent.ChatRoomData, evt_data)
end end
function M:FG_Data_NewChat(evt_data) function M:FG_Data_NewChat(evt_data)
print("收到新聊天室推送") print("收到新聊天室推送")
pt(evt_data) pt(evt_data)
local gid = evt_data.gid
local messageCount = evt_data.messageCount
local group = DataManager.groups:get(gid)
group.messageCount = tonumber(messageCount)
DispatchEvent(self._dispatcher, GroupMgrEvent.OnNewRecord, evt_data) DispatchEvent(self._dispatcher, GroupMgrEvent.OnNewRecord, evt_data)
end end

View File

@ -46,6 +46,7 @@ function M:FG_GroupList(callback)
group.isWatch = tem.isWatch group.isWatch = tem.isWatch
group.wechatId = tem.wechatId group.wechatId = tem.wechatId
group.groupDiamo = tem.groupDiamo group.groupDiamo = tem.groupDiamo
group.messageCount = tem.messageCount
l_groups:add(group) l_groups:add(group)
end end
end end

View File

@ -400,7 +400,7 @@ Protocol = {
-- 设置不允许成员查看聊天室 -- 设置不允许成员查看聊天室
FGMGR_EVT_CLOSE_ISOPEN_CHATROOM = "13002", FGMGR_EVT_CLOSE_ISOPEN_CHATROOM = "13002",
-- 监听聊天室是否开启 -- 监听聊天室是否开启
FGMGR_EVT_ISOPEN_CHATROOM = "12011", FGMGR_EVT_ISOPEN_CHATROOM = "12012",
-- 进入聊天室 -- 进入聊天室
FGMGR_EVT_ENTER_CHATROOM = "13004", FGMGR_EVT_ENTER_CHATROOM = "13004",
-- 聊天室协议 -- 聊天室协议

View File

@ -1,5 +1,3 @@
require 'FairyGUI'
--region LOCAL --region LOCAL
local function SetBigWiller(totalScore) local function SetBigWiller(totalScore)
@ -37,7 +35,7 @@ end
local function ChatItemRenderer(index, obj, self) local function ChatItemRenderer(index, obj, self)
--local data = self.ChatRoomData.records[index + 1] --local data = self.ChatRoomData.records[index + 1]
local data = self.ChatRoomData[1].records[index + 1] local data = self.group.records[index + 1]
local totalScore = json.decode(data.totalScore) local totalScore = json.decode(data.totalScore)
local hpData = json.decode(data.hpData) local hpData = json.decode(data.hpData)
SetBigWiller(totalScore) SetBigWiller(totalScore)
@ -98,6 +96,8 @@ function FamilyChatRoom:Init(com, root)
self.list_chat = self._view:GetChild("list_chat") self.list_chat = self._view:GetChild("list_chat")
self.btn_quit = self._view:GetChild("btn_quit") self.btn_quit = self._view:GetChild("btn_quit")
self.list_chat:SetVirtual()
self.list_chat.itemRenderer = function(index, obj) self.list_chat.itemRenderer = function(index, obj)
ChatItemRenderer(index, obj, self) ChatItemRenderer(index, obj, self)
end end
@ -112,15 +112,22 @@ end
function FamilyChatRoom:Close() function FamilyChatRoom:Close()
local cChatRoom = self.root._view:GetController("cIsChatRoom") local cChatRoom = self.root._view:GetController("cIsChatRoom")
cChatRoom.selectedIndex = 0 cChatRoom.selectedIndex = 0
self.group.messageCount = 0
self.root:ReflashChatRoomRedPoint()
end end
function FamilyChatRoom:Refalsh() function FamilyChatRoom:Refalsh()
pt(self.ChatRoomData[1]) --self.list_chat.numItems = #self.ChatRoomData.records or 0
self.list_chat.numItems = #self.ChatRoomData[1].records or 0 self.list_chat.numItems = #self.group.records or 0
end end
-- 新战绩推到时刷新一条 -- 新战绩推到时刷新一条
function FamilyChatRoom:OnNewChatRefalsh(arg) function FamilyChatRoom:OnNewChatRefalsh(arg)
self.list_chat.numItems = #self.group.records or 0
--[[
local groupId = arg.gid local groupId = arg.gid
local maxRound = arg.datas.maxRound local maxRound = arg.datas.maxRound
local round = arg.datas.round local round = arg.datas.round
@ -143,8 +150,9 @@ function FamilyChatRoom:OnNewChatRefalsh(arg)
local roundTex = round .. "/" .. maxRound local roundTex = round .. "/" .. maxRound
tex_roomIdRound.text = roomId .. "\n" .. roundTex tex_roomIdRound.text = roomId .. "\n" .. roundTex
for _, player in pairs(playerlist) do SetBigWiller(playerlist)
for _, player in pairs(playerlist) do
local pObj = list_players:AddItemFromPool() local pObj = list_players:AddItemFromPool()
local tex_name = pObj:GetChild("tex_name") local tex_name = pObj:GetChild("tex_name")
@ -156,10 +164,28 @@ function FamilyChatRoom:OnNewChatRefalsh(arg)
tex_id.text = player.accId tex_id.text = player.accId
tex_score.text = player.score tex_score.text = player.score
ImageLoad.Load(player.portrait, loader_icon) ImageLoad.Load(player.portrait, loader_icon)
if player.winer then
pObj:GetController("cWiner").selectedIndex = 1
else
pObj:GetController("cWiner").selectedIndex = 0
end end
end
]]
end end
function FamilyChatRoom:Show() function FamilyChatRoom:Show()
local mgr_ctr = ControllerManager.GetController(GroupMgrController)
local groupId = self.root._group.id
self.group = DataManager.groups:get(groupId)
local getData = self.group.records == nil
mgr_ctr:FG_ENTER_CHATROOM(self.root._group.id, getData, function(res)
end)
local cChatRoom = self.root._view:GetController("cIsChatRoom") local cChatRoom = self.root._view:GetController("cIsChatRoom")
cChatRoom.selectedIndex = 1 cChatRoom.selectedIndex = 1
end end

View File

@ -210,9 +210,6 @@ function M:_evtChatRoomData(...)
if view.class ~= "FamilyMainView" then if view.class ~= "FamilyMainView" then
return return
end end
local arg = { ... } --totalScore
view.com_FamilyChatRoom.ChatRoomData = arg
--view.com_FamilyChatRoom.list_chat.numItems = #arg
view.com_FamilyChatRoom:Refalsh() view.com_FamilyChatRoom:Refalsh()
end end
@ -223,6 +220,7 @@ function M:_evtOnNewRecord(...)
end end
local arg = { ... } local arg = { ... }
view.com_FamilyChatRoom:OnNewChatRefalsh(arg[1]) view.com_FamilyChatRoom:OnNewChatRefalsh(arg[1])
view:ReflashChatRoomRedPoint()
end end
function M:_evtOnMemberState(...) function M:_evtOnMemberState(...)

View File

@ -108,6 +108,8 @@ function M:init(url)
self.btn_quitMyfamilyTab = view:GetChild("btn_quitMyfamilyTab") self.btn_quitMyfamilyTab = view:GetChild("btn_quitMyfamilyTab")
self.btn_chatRoom = view:GetChild("btn_chatRoom") self.btn_chatRoom = view:GetChild("btn_chatRoom")
self.cChatRoomRedPoint = self.btn_chatRoom:GetController("cRedPoint")
self:InitCloseClick() self:InitCloseClick()
fgCtr:FG_GroupList(function(res) fgCtr:FG_GroupList(function(res)
@ -468,12 +470,6 @@ function M:OnEnterGroupCallBack()
end) end)
self._view:GetController('familyBan').selectedIndex = self._group.ban and 1 or 0 self._view:GetController('familyBan').selectedIndex = self._group.ban and 1 or 0
local mgr_ctr = ControllerManager.GetController(GroupMgrController)
mgr_ctr:FG_ENTER_CHATROOM(self._group.id, function(res)
print("拉取到聊天室数据")
pt(res)
end)
FamilyOnline(self._group.id, self) FamilyOnline(self._group.id, self)
ViewUtil.ShowModalWait(self._root_view, "正在加载亲友圈权限中......") ViewUtil.ShowModalWait(self._root_view, "正在加载亲友圈权限中......")
@ -485,6 +481,8 @@ function M:OnEnterGroupCallBack()
ViewUtil.ShowModalWait(self._root_view, "正在加载房间列表中......") ViewUtil.ShowModalWait(self._root_view, "正在加载房间列表中......")
self:UpdateFamilyRoom(fgCtr, self._group.id) self:UpdateFamilyRoom(fgCtr, self._group.id)
ViewUtil.CloseModalWait() ViewUtil.CloseModalWait()
self:ReflashChatRoomRedPoint()
end end
function M:UpdateFamilyRoom(fgCtr, id) function M:UpdateFamilyRoom(fgCtr, id)
@ -1037,6 +1035,23 @@ function M:RefalshMoreBtn()
self:ChangeMore() self:ChangeMore()
end end
function M:ReflashChatRoomRedPoint()
self.cChatRoomRedPoint.selectedIndex = 0
if self._group.messageCount > 0 then
self.cChatRoomRedPoint.selectedIndex = 1
end
local tex = self._group.messageCount
if self._group.messageCount > 99 then
tex = "99+"
end
local tex_redPoint = self.btn_chatRoom:GetChild("tex_redPoint")
tex_redPoint.text = tex
end
function M:Close() function M:Close()
print("家族界面退出") print("家族界面退出")
self._familyEventView:RemoveAll() self._familyEventView:RemoveAll()

View File

@ -91,6 +91,7 @@ function Main()
FairyGUI.DynamicFont.New("AlibabaPuHuiTi-3-105-Heavy", "base/static/fonts/AlibabaPuHuiTi-3-105-Heavy.ttf"), null) FairyGUI.DynamicFont.New("AlibabaPuHuiTi-3-105-Heavy", "base/static/fonts/AlibabaPuHuiTi-3-105-Heavy.ttf"), null)
FairyGUI.FontManager.RegisterFont( FairyGUI.FontManager.RegisterFont(
FairyGUI.DynamicFont.New("AlibabaPuHuiTi-3-115-Black", "base/static/fonts/AlibabaPuHuiTi-3-115-Black.ttf"), null) FairyGUI.DynamicFont.New("AlibabaPuHuiTi-3-115-Black", "base/static/fonts/AlibabaPuHuiTi-3-115-Black.ttf"), null)
FairyGUI.FontManager.RegisterFont(FairyGUI.DynamicFont.New("兰亭黑简", "base/static/fonts/兰亭黑简.TTF"), null)
--FairyGUI.FontManager.RegisterFont(FairyGUI.DynamicFont.New("HYFangLiJ","base/static/fonts/HYFangLiJ.ttf"),null) --FairyGUI.FontManager.RegisterFont(FairyGUI.DynamicFont.New("HYFangLiJ","base/static/fonts/HYFangLiJ.ttf"),null)
_game_info = json.decode(GameApplication.Instance.GameInfo) _game_info = json.decode(GameApplication.Instance.GameInfo)
--_game_info["login_url"]="http://8.134.59.224:8101/" --_game_info["login_url"]="http://8.134.59.224:8101/"

View File

@ -312,8 +312,9 @@ function M:EventInit()
local index = self:GetPos(win_seat) local index = self:GetPos(win_seat)
local info = self._player_card_info[index] local info = self._player_card_info[index]
self:RemoveCursor() self:RemoveCursor()
info:UpdateHandCard(false, false) --info:UpdateHandCard(false, false)
info:ShowHuCard(win_card)
local obj_win_card = UIPackage.CreateObjectFromURL("ui://Main_Majiang/Btn_Card_jiangxi") local obj_win_card = UIPackage.CreateObjectFromURL("ui://Main_Majiang/Btn_Card_jiangxi")
obj_win_card.icon = "ui://Main_Majiang/b202_" .. win_card obj_win_card.icon = "ui://Main_Majiang/b202_" .. win_card
obj_win_card:GetController("bg").selectedIndex = 1 obj_win_card:GetController("bg").selectedIndex = 1

View File

@ -460,16 +460,19 @@ function M:ResetCardType()
end end
function M:ShowHand(cards) function M:ShowHand(cards)
--local verticalList =
--if
self._view_handCardList:RemoveChildren() self._view_handCardList:RemoveChildren()
for _,card in pairs(cards) do for _, card in pairs(cards) do
if self.winCard ~= card then
local obj = self._view_handCardList:AddItemFromPool() local obj = self._view_handCardList:AddItemFromPool()
obj:GetChild("icon").url = 'ui://Main_Majiang/' .. "b202_" .. card obj:GetChild("icon").url = 'ui://Main_Majiang/' .. "b202_" .. card
end end
end
end
function M:ShowHuCard(card)
self.winCard = card
local btn_card = self._view_getCard:GetChildAt(0)
btn_card:GetChild("icon").url = 'ui://Main_Majiang/' .. "b202_" .. card
end end
return M return M

View File

@ -63,6 +63,9 @@ end
function M:init(url) function M:init(url)
BaseWindow.init(self, url) BaseWindow.init(self, url)
self.btn_singleClick = self._view:GetChild("btn_singleClick")
self.btn_doubleClick = self._view:GetChild("btn_doubleClick")
self.slider_sound = self._view:GetChild('slider_vedio_sound') self.slider_sound = self._view:GetChild('slider_vedio_sound')
self.slider_music = self._view:GetChild('slider_vedio_music') self.slider_music = self._view:GetChild('slider_vedio_music')
@ -73,24 +76,35 @@ function M:init(url)
self.cBtn = self._view:GetController('cBtn') self.cBtn = self._view:GetController('cBtn')
self.btn_singleClick.onChanged:Set(function()
end)
self.btn_doubleClick.onChanged:Set(function()
end)
self.slider_music.onChanged:Add(function() self.slider_music.onChanged:Add(function()
-- GameApplication.Instance.MusicValue = slider_music.value GameApplication.Instance.MusicValue = self.slider_music.value
-- btn_music.selected = false self.btn_music.selected = false
-- GameApplication.Instance.MusicMute = false; GameApplication.Instance.MusicMute = false;
end) end)
self.slider_sound.onChanged:Add(function() self.slider_sound.onChanged:Add(function()
-- GameApplication.Instance.SoundValue = slider_sound.value GameApplication.Instance.SoundValue = self.slider_sound.value
-- btn_sound.selected = false self.btn_sound.selected = false
-- GameApplication.Instance.SoundMute = false; GameApplication.Instance.SoundMute = false;
end) end)
self.btn_sound.onClick:Add(function() self.btn_sound.onClick:Add(function()
-- GameApplication.Instance.SoundMute = btn_sound.selected; self.slider_sound.value = 0
GameApplication.Instance.SoundMute = self.btn_sound.selected;
end) end)
self.btn_music.onClick:Add(function() self.btn_music.onClick:Add(function()
-- GameApplication.Instance.MusicMute = btn_music.selected; self.slider_music.value = 0
GameApplication.Instance.MusicMute = self.btn_music.selected;
end) end)
@ -105,7 +119,6 @@ function M:init(url)
end) end)
self.btn_closeRoom.onClick:Set(function() self.btn_closeRoom.onClick:Set(function()
if self._flag_witness then if self._flag_witness then
local _room = DataManager.CurrenRoom local _room = DataManager.CurrenRoom
self._mainView._gamectr:ExitWitnessGame(_room.play_id, _room.game_id, _room.room_id) self._mainView._gamectr:ExitWitnessGame(_room.play_id, _room.game_id, _room.room_id)

View File

@ -1,10 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<component size="174,99" extention="Button"> <component size="174,99" 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"/>
<controller name="cRedPoint" pages="0,,1," selected="1">
<remark page="1" value="开启红点"/>
</controller>
<displayList> <displayList>
<image id="n0_ieus" name="n0" src="ieus7d1b" fileName="Main/Image/Group 108.png" xy="0,0" size="174,99"> <image id="n0_ieus" name="n0" src="ieus7d1b" fileName="Main/Image/Group 108.png" xy="0,0" size="174,99">
<relation target="" sidePair="width-width,height-height"/> <relation target="" sidePair="width-width,height-height"/>
</image> </image>
<image id="n1_l4fo" name="n1" src="icft7d63" fileName="Main/Image/Group 687.png" xy="141,-17">
<gearDisplay controller="cRedPoint" pages="1"/>
</image>
<text id="n2_l4fo" name="tex_redPoint" xy="141,-17" size="58,58" font="ui://27vd145bh35o7ilb" fontSize="43" color="#ffffff" align="center" vAlign="middle" leading="0" autoSize="shrink" text="20">
<gearDisplay controller="cRedPoint" pages="1"/>
</text>
</displayList> </displayList>
<Button downEffect="dark" downEffectValue="0.9"/> <Button downEffect="dark" downEffectValue="0.9"/>
</component> </component>

View File

@ -5,26 +5,18 @@
<relation target="" sidePair="width-width,height-height"/> <relation target="" sidePair="width-width,height-height"/>
</image> </image>
<group id="n4_tme1" name="bg" xy="0,0" size="1438,899"/> <group id="n4_tme1" name="bg" xy="0,0" size="1438,899"/>
<text id="n17_xblm" name="title_click" xy="213,272" size="151,94" group="n20_xblm" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音效"/> <text id="n5_tme1" name="title_sound" xy="213,323" size="151,94" group="n10_tme1" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音效"/>
<component id="n21_xblm" name="btn_singleClick" src="xblm7czl" fileName="checkbtn_click.xml" xy="435,294" group="n20_xblm" customData="n2.text = &quot;双击&quot;"> <component id="n8_tme1" name="slider_vedio_sound" src="tme17cr6" fileName="component/Setting/Component/slider_vedio.xml" xy="417,348" group="n10_tme1">
<Button title="单击"/>
</component>
<component id="n22_xblm" name="btn_doubleClick" src="xblm7czl" fileName="checkbtn_click.xml" xy="654,294" group="n20_xblm" customData="n2.text = &quot;双击&quot;">
<Button title="单击"/>
</component>
<group id="n20_xblm" name="click" xy="213,272" size="491,94"/>
<text id="n5_tme1" name="title_sound" xy="213,406" size="151,94" group="n10_tme1" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音效"/>
<component id="n8_tme1" name="slider_vedio_sound" src="tme17cr6" fileName="component/Setting/Component/slider_vedio.xml" xy="417,431" group="n10_tme1">
<Slider value="50" max="100"/> <Slider value="50" max="100"/>
</component> </component>
<component id="n14_koxj" name="btn_vedio_sound" src="tme17cqz" fileName="component/Setting/Component/btn_vedio.xml" xy="1206,419" group="n10_tme1"/> <component id="n14_koxj" name="btn_vedio_sound" src="tme17cqz" fileName="component/Setting/Component/btn_vedio.xml" xy="1206,336" group="n10_tme1"/>
<group id="n10_tme1" name="sound" xy="213,406" size="1071,94"/> <group id="n10_tme1" name="sound" xy="213,323" size="1071,94"/>
<text id="n7_tme1" name="title_music" xy="213,540" size="151,94" group="n11_tme1" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音乐"/> <text id="n7_tme1" name="title_music" xy="213,483" size="151,94" group="n11_tme1" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音乐"/>
<component id="n9_tme1" name="slider_vedio_music" src="tme17cr6" fileName="component/Setting/Component/slider_vedio.xml" xy="417,565" group="n11_tme1"> <component id="n9_tme1" name="slider_vedio_music" src="tme17cr6" fileName="component/Setting/Component/slider_vedio.xml" xy="417,508" group="n11_tme1">
<Slider value="50" max="100"/> <Slider value="50" max="100"/>
</component> </component>
<component id="n15_koxj" name="btn_vedio_music" src="tme17cqz" fileName="component/Setting/Component/btn_vedio.xml" xy="1206,553" group="n11_tme1"/> <component id="n15_koxj" name="btn_vedio_music" src="tme17cqz" fileName="component/Setting/Component/btn_vedio.xml" xy="1206,496" group="n11_tme1"/>
<group id="n11_tme1" name="music" xy="213,540" size="1071,94"/> <group id="n11_tme1" name="music" xy="213,483" size="1071,94"/>
<component id="n12_tme1" name="btn_exitAccount" src="tme17cr1" fileName="component/Setting/Component/btn_exitAccount.xml" xy="876,674"/> <component id="n12_tme1" name="btn_exitAccount" src="tme17cr1" fileName="component/Setting/Component/btn_exitAccount.xml" xy="876,674"/>
<component id="n13_tme1" name="btn_switchAccount" src="tme17cr0" fileName="component/Setting/Component/btn_switchAccount.xml" xy="216,674"/> <component id="n13_tme1" name="btn_switchAccount" src="tme17cr0" fileName="component/Setting/Component/btn_switchAccount.xml" xy="216,674"/>
</displayList> </displayList>

View File

@ -2,7 +2,9 @@
<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>
<image id="n3_tme1" name="n3" src="tme17cqs" fileName="component/Setting/Image/Group 76@3x.png" xy="-12,-12"/> <image id="n3_tme1" name="n3" src="l4fo7czm" fileName="component/Setting/Image/Setting_3.png" xy="0,0" size="408,159">
<relation target="" sidePair="width-width,height-height"/>
</image>
</displayList> </displayList>
<Button mode="Radio"/> <Button mode="Radio"/>
</component> </component>

View File

@ -581,6 +581,7 @@
<image id="xblm7czj" name="btn_dianxinchongzhi_2.png" path="/component/Setting/Image/"/> <image id="xblm7czj" name="btn_dianxinchongzhi_2.png" path="/component/Setting/Image/"/>
<image id="xblm7czk" name="btn_dianxinchongzhi_1.png" path="/component/Setting/Image/"/> <image id="xblm7czk" name="btn_dianxinchongzhi_1.png" path="/component/Setting/Image/"/>
<component id="xblm7czl" name="checkbtn_click.xml" path="/"/> <component id="xblm7czl" name="checkbtn_click.xml" path="/"/>
<image id="l4fo7czm" name="Setting_3.png" path="/component/Setting/Image/"/>
</resources> </resources>
<publish name="Lobby" path="..\wb_unity_pro\Assets\ART\base\lobby\ui" packageCount="2"> <publish name="Lobby" path="..\wb_unity_pro\Assets\ART\base\lobby\ui" packageCount="2">
<atlas name="默认" index="0"/> <atlas name="默认" index="0"/>

View File

@ -4,16 +4,17 @@
<remark page="0" value="退出房间"/> <remark page="0" value="退出房间"/>
<remark page="1" value="申请解散房间"/> <remark page="1" value="申请解散房间"/>
</controller> </controller>
<controller name="cBtnSelect" pages="0,,1," selected="0"/>
<displayList> <displayList>
<image id="n17_xblm" name="n17" src="xblm1a8" fileName="Main_new/Main/Image/bg.png" xy="0,0" size="1438,899"> <image id="n17_xblm" name="n17" src="xblm1a8" fileName="Main_new/Main/Image/bg.png" xy="0,0" size="1438,899">
<relation target="" sidePair="width-width,height-height"/> <relation target="" sidePair="width-width,height-height"/>
</image> </image>
<text id="n21_xblm" name="title_click" xy="205,263" size="151,94" group="n24_xblm" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音效"/> <text id="n21_xblm" name="title_click" xy="205,263" size="151,94" group="n24_xblm" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音效"/>
<component id="n22_xblm" name="btn_singleClick" src="xblm1ad" fileName="checkbtn_click.xml" xy="427,285" group="n24_xblm" customData="n2.text = &quot;双击&quot;"> <component id="n22_xblm" name="btn_singleClick" src="xblm1ad" fileName="checkbtn_click.xml" xy="427,285" group="n24_xblm" customData="n2.text = &quot;双击&quot;">
<Button title="单击"/> <Button title="单击" controller="cBtnSelect" page="0"/>
</component> </component>
<component id="n23_xblm" name="btn_doubleClick" src="xblm1ad" fileName="checkbtn_click.xml" xy="646,285" group="n24_xblm" customData="n2.text = &quot;双击&quot;"> <component id="n23_xblm" name="btn_doubleClick" src="xblm1ad" fileName="checkbtn_click.xml" xy="646,285" group="n24_xblm" customData="n2.text = &quot;双击&quot;">
<Button title="单击"/> <Button title="单击" controller="cBtnSelect" page="1"/>
</component> </component>
<group id="n24_xblm" name="click" xy="205,263" size="491,94"/> <group id="n24_xblm" name="click" xy="205,263" size="491,94"/>
<text id="n25_xblm" name="title_sound" xy="205,397" size="151,94" group="n28_xblm" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音效"/> <text id="n25_xblm" name="title_sound" xy="205,397" size="151,94" group="n28_xblm" font="ui://27vd145bh35o7ilb" fontSize="72" color="#695741" leading="0" letterSpacing="5" text="音效"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 MiB

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 996 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 892 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 KiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 267 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 KiB

After

Width:  |  Height:  |  Size: 262 KiB