master
罗家炜 2025-11-18 18:49:01 +08:00
parent ffd6d49f85
commit 494e12da8a
32 changed files with 4151 additions and 903 deletions

View File

@ -777,32 +777,36 @@ end
-- 玩法名字显示
local function __fillGameItem(self, index, item)
local gameName = ""
-- local gameName = ""
if (index == 0) then
item.icon = 'ui://NewGroup/quyxtb'
gameName = GetGameName(0)
item:GetChild("n11").text = gameName
if self.currentGameItemName == nil then
item.icon = 'ui://NewGroup/quyxtb-1'
item:GetChild("n11").text = ""
item.icon = 'ui://NewGroup/group_quanbu0'
-- gameName = GetGameName(0)
if self.currentGameItemName == nil or self.lst_game.selectedIndex == index then
item.icon = 'ui://NewGroup/group_quanbu1'
-- item:GetChild("n11").text = ""
end
else
local gameId = self.gameIdList[index]
local config = ExtendManager.GetExtendConfig(gameId)
local mode = config:GetGameInfo()
local iconName = mode:GetIconUrl1()
item.icon = iconName
gameName = GetGameName(gameId)
item:GetChild("n11").text = gameName
local last = "0"
if self.lst_game.selectedIndex == index then
last = "1"
end
printlog("lingmeng __fillGameItem", iconName .. last)
item.icon = iconName .. last
-- gameName = GetGameName(gameId)
-- item:GetChild("n11").text = gameName
end
if item.icon == self.currentGameItemName then
item.icon = self.currentGameItemName .. "-1"
item:GetChild("n11").text = gameName
if (index == 0) then
item:GetChild("n11").text = ""
end
end
-- if item.icon == self.currentGameItemName then
-- item.icon = self.currentGameItemName .. "-1"
-- -- item:GetChild("n11").text = gameName
-- if (index == 0) then
-- -- item:GetChild("n11").text = ""
-- end
-- end
item:GetChild("n22").text = index + 1
end

View File

@ -35,9 +35,7 @@ function M:FillData()
local btn_cr = self._config:GetChild('sdsrbtn')
btn_cr.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -53,11 +51,8 @@ function M:FillData()
self.xipaiValueText.text = value / 1000
self.xipaiValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
@ -65,9 +60,7 @@ function M:FillData()
local btn_cr2 = self._config:GetChild('anchoubtn')
btn_cr2.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -83,16 +76,11 @@ function M:FillData()
self.anchouValueText.text = value / 1000
self.anchouValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
end
end
local _help_url = "ui://Info_MJ_ChangSha/Com_help"
@ -105,7 +93,7 @@ function M:GetIconUrl()
return _icon_url
end
local _icon_url1 = "ui://Info_MJ_ChangSha/icon1"
local _icon_url1 = "ui://NewGroup/group_changsha"
function M:GetIconUrl1()
return _icon_url1
end
@ -137,7 +125,8 @@ function M:SelectedConfigData()
local niao_type = _config:GetController("niao").selectedIndex
local niao_num = _config:GetController("niao_num").selectedIndex
local niao_db_num = _config:GetController("niao_db_num").selectedIndex
local niao = niao_type == 1 and (niao_db_num == 0 and 1 or 2) or (niao_type == 0 and (niao_num == 0 and 2 or (niao_num == 1 and 4 or 6)) or 2)
local niao = niao_type == 1 and (niao_db_num == 0 and 1 or 2) or
(niao_type == 0 and (niao_num == 0 and 2 or (niao_num == 1 and 4 or 6)) or 2)
local piao_niao = _config:GetChild("btn_piao_niao").selected
local two_pair = _config:GetChild("btn_two_pair").selected
local no_jiang = _config:GetChild("btn_no_jiang").selected
@ -260,7 +249,6 @@ function M:SelectedConfigData()
_data['niaofen_score'] = niaofen_score
_data['difen_score'] = difen_score
_data['kai_gong'] = kai_gong
end
@ -268,8 +256,6 @@ function M:SelectedConfigData()
return _data
end
function M:LoadConfigData(data)
pt(data)
local _config = self._config
@ -293,7 +279,8 @@ function M:LoadConfigData(data)
_config:GetController("niao").selectedIndex = data.niao_type
if oldGameVersion == 1 then
_config:GetController("niao_num").selectedIndex = data.niao_type ~= 0 and 0 or (data.niao == 4 and 1 or (data.niao == 6 and 2 or 0))
_config:GetController("niao_num").selectedIndex = data.niao_type ~= 0 and 0 or
(data.niao == 4 and 1 or (data.niao == 6 and 2 or 0))
else
_config:GetController("niao_num").selectedIndex = data.niao / 2 - 1
end
@ -343,8 +330,6 @@ function M:LoadConfigData(data)
_config:GetController("jcdifen").selectedIndex = data.difen_score - 1
_config:GetController("kaigang").selectedIndex = data.kai_gong
end
end
return M

View File

@ -33,9 +33,7 @@ function M:FillData()
local btn_cr = self._config:GetChild('sdsrbtn')
btn_cr.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -51,11 +49,8 @@ function M:FillData()
self.xipaiValueText.text = value / 1000
self.xipaiValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
@ -64,9 +59,7 @@ function M:FillData()
local btn_cr2 = self._config:GetChild('anchoubtn')
btn_cr2.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -82,16 +75,11 @@ function M:FillData()
self.anchouValueText.text = value / 1000
self.anchouValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
end
end
local _help_url = "ui://Info_MJ_HongZhong/Com_help"
@ -104,7 +92,7 @@ function M:GetIconUrl()
return _icon_url
end
local _icon_url1 = "ui://Info_MJ_HongZhong/icon1"
local _icon_url1 = "ui://NewGroup/group_hongzhong"
function M:GetIconUrl1()
return _icon_url1
end
@ -301,8 +289,6 @@ function M:LoadConfigData(data)
end
_config:GetChild("btn_wuhongzhongzuobaofanbei").selected = data.wuguizhuopaojiabei
end
return M

View File

@ -33,9 +33,7 @@ function M:FillData()
local btn_cr = self._config:GetChild('sdsrbtn')
btn_cr.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -51,19 +49,14 @@ function M:FillData()
self.xipaiValueText.text = value / 1000
self.xipaiValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
local btn_cr2 = self._config:GetChild('anchoubtn')
btn_cr2.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -79,11 +72,8 @@ function M:FillData()
self.anchouValueText.text = value / 1000
self.anchouValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
end
@ -191,6 +181,7 @@ function M:FillData()
end
)
end
local _help_url = 'ui://Info_Poker_ChangdeWHZ/Com_help'
function M:GetHelpUrl()
return _help_url
@ -201,7 +192,7 @@ function M:GetIconUrl()
return _icon_url
end
local _icon_url1 = "ui://Info_Poker_ChangdeWHZ/icon1"
local _icon_url1 = "ui://NewGroup/group_paohuzi"
function M:GetIconUrl1()
return _icon_url1
end
@ -338,8 +329,8 @@ function M:LoadConfigData(data)
self.anchouValueText.text = data.an_chou_score / 1000
self.anchouValue = data.an_chou_score / 1000
end
end
function M:OnChangeOption(ctype)
IGameInfo.OnChangeOption(self, ctype)
local people = self._config:GetController('renshu')
@ -350,4 +341,5 @@ function M:OnChangeOption(ctype)
end
)
end
return M

View File

@ -33,9 +33,7 @@ function M:FillData()
local btn_cr = self._config:GetChild('sdsrbtn')
btn_cr.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -51,11 +49,8 @@ function M:FillData()
self.xipaiValueText.text = value / 1000
self.xipaiValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
@ -63,9 +58,7 @@ function M:FillData()
local btn_cr2 = self._config:GetChild('anchoubtn')
btn_cr2.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -81,17 +74,13 @@ function M:FillData()
self.anchouValueText.text = value / 1000
self.anchouValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
end
end
end
local _help_url = 'ui://Info_Poker_FuLuShou/Com_help'
function M:GetHelpUrl()
return _help_url
@ -102,7 +91,7 @@ function M:GetIconUrl()
return _icon_url
end
local _icon_url1 = "ui://Info_Poker_FuLuShou/icon1"
local _icon_url1 = "ui://NewGroup/group_fulushou"
function M:GetIconUrl1()
return _icon_url1
end
@ -226,7 +215,6 @@ function M:LoadConfigData(data)
self.anchouValueText.text = data.an_chou_score / 1000
self.anchouValue = data.an_chou_score / 1000
end
end
function M:OnChangeOption(ctype)
@ -240,4 +228,5 @@ function M:OnChangeOption(ctype)
end
)
end
return M

View File

@ -33,9 +33,7 @@ function M:FillData()
local btn_cr = self._config:GetChild('sdsrbtn')
btn_cr.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -51,11 +49,8 @@ function M:FillData()
self.xipaiValueText.text = value / 1000
self.xipaiValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
@ -63,9 +58,7 @@ function M:FillData()
local btn_cr2 = self._config:GetChild('anchoubtn')
btn_cr2.onClick:Set(
function()
local gniv = GroupNumberInputView_Game.new(nil, function(num)
local value = limit
if otype == 1 then
value = value + ad2d(num)
@ -81,16 +74,13 @@ function M:FillData()
self.anchouValueText.text = value / 1000
self.anchouValue = value / 1000
end, 3, nil)
gniv:Show()
end
)
end
end
local _help_url = 'ui://Info_Poker_YueYangWHZ/Com_help'
function M:GetHelpUrl()
return _help_url
@ -101,7 +91,7 @@ function M:GetIconUrl()
return _icon_url
end
local _icon_url1 = "ui://Info_Poker_YueYangWHZ/icon1"
local _icon_url1 = "ui://NewGroup/group_waihuzi"
function M:GetIconUrl1()
return _icon_url1
end
@ -187,7 +177,6 @@ function M:LoadConfigData(data)
self.anchouValueText.text = data.an_chou_score / 1000
self.anchouValue = data.an_chou_score / 1000
end
end
function M:OnChangeOption(ctype)
@ -201,4 +190,5 @@ function M:OnChangeOption(ctype)
end
)
end
return M

View File

@ -1,7 +1,7 @@
{
"objectStatus": {
"n28": {
"collapsed": true
"n54_lwcl": {
"hidden": true
},
"n125_g8kk": {
"hidden": true
@ -18,9 +18,6 @@
"n130_naup": {
"hidden": true
},
"n54_lwcl": {
"hidden": true
},
"n50_lwcl": {
"hidden": true
},

View File

@ -13,16 +13,6 @@
<image id="n140_csp4" name="n140" src="csp47cn2" fileName="component/index/images/renwu.png" xy="104,159" aspect="true">
<relation target="" sidePair="center-center%,middle-middle%"/>
</image>
<image id="n56_lwcl" name="n56" src="xn94cls" fileName="images/index/head_bg@2x.png" xy="0,0" size="320,99" group="n28"/>
<component id="n29" name="btn_head" src="kio210" fileName="component/head/Head.xml" pkg="27vd145b" xy="7,9" group="n28" aspect="true"/>
<component id="n109_ker3" name="btn_setting" src="ker3j6" fileName="component/index/Btn_menu_top.xml" xy="1097,23" size="94,94" group="n28" aspect="true">
<Button icon="ui://2d9xdj6zker3j9"/>
</component>
<text id="n26" name="tex_name" xy="90,16" size="233,34" group="n28" font="ui://27vd145bqz637ij2" fontSize="22" color="#ffffff" vAlign="middle" autoSize="none" text="老司机带带我"/>
<text id="n84_mv8k" name="tex_id" xy="90,45" size="233,34" group="n28" font="ui://27vd145bqz637ij2" fontSize="22" color="#ffffff" autoSize="none" text="ID:123456"/>
<group id="n28" name="player_info_panel" xy="0,0" size="1191,117" advanced="true">
<relation target="" sidePair="left-left,top-top"/>
</group>
<image id="n82_m0ei" name="n82" src="ker3j4" fileName="images/index/hall_bottom.png" xy="-80,656" size="1529,95" group="n7">
<relation target="" sidePair="width-width%"/>
</image>
@ -109,6 +99,17 @@
<relation target="" sidePair="bottom-bottom,center-center"/>
</component>
<group id="n130_naup" name="n130" xy="-137,0" size="1609,752"/>
<image id="n56_lwcl" name="n56" src="xn94cls" fileName="images/index/head_bg@2x.png" xy="0,0" size="320,99" group="n28"/>
<component id="n29" name="btn_head" src="kio210" fileName="component/head/Head.xml" pkg="27vd145b" xy="7,9" group="n28" aspect="true"/>
<component id="n109_ker3" name="btn_setting" src="ker3j6" fileName="component/index/Btn_menu_top.xml" xy="1097,23" size="94,94" group="n28" aspect="true">
<relation target="" sidePair="right-right"/>
<Button icon="ui://2d9xdj6zker3j9"/>
</component>
<text id="n26" name="tex_name" xy="90,16" size="233,34" group="n28" font="ui://27vd145bqz637ij2" fontSize="22" color="#ffffff" vAlign="middle" autoSize="none" text="老司机带带我"/>
<text id="n84_mv8k" name="tex_id" xy="90,45" size="233,34" group="n28" font="ui://27vd145bqz637ij2" fontSize="22" color="#ffffff" autoSize="none" text="ID:123456"/>
<group id="n28" name="player_info_panel" xy="0,0" size="1191,117" advanced="true">
<relation target="" sidePair="left-left,top-top"/>
</group>
<component id="n100_lumr" name="group" src="lumrgj" fileName="component/group/group.xml" xy="0,0" size="1334,750" visible="false">
<relation target="" sidePair="width-width,height-height"/>
</component>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="1334,750" designImageOffsetX="-208" bgColor="#000000">
<controller name="manager" pages="0,普通玩家,1,圈主,2,副圈主,3,合伙人" selected="1"/>
<controller name="manager" pages="0,普通玩家,1,圈主,2,副圈主,3,合伙人" selected="0"/>
<controller name="null" pages="0,,1," selected="0"/>
<controller name="fag" pages="0,,1," selected="0"/>
<controller name="floors" pages="0,,1,,2,,3,,4,,5," selected="0"/>
@ -55,7 +55,7 @@
<relation target="" sidePair="right-right,top-top"/>
<Button icon="ui://m7iejg46rpazhvt"/>
</component>
<component id="n190_nk4v" name="btn_bxx" src="mgnhhqh" fileName="component/Lst_info/Button3.xml" xy="591,13" size="71,71" controller="tip,0">
<component id="n190_nk4v" name="btn_bxx" src="mgnhhqh" fileName="component/Lst_info/Button3.xml" xy="851,14" size="71,71" controller="tip,0">
<gearDisplay controller="manager" pages="0,1,2,3"/>
<gearXY controller="manager" pages="0,1,2,3" values="851,14|591,13|721,14|1109,14"/>
<relation target="" sidePair="right-right,top-top"/>
@ -86,7 +86,7 @@
<text id="n77_i7lq" name="tex_id" xy="269,56" size="86,38" group="n78_i7lq" fontSize="30" color="#ffffff" autoSize="shrink" text="ID:1234567"/>
<group id="n78_i7lq" name="title" xy="259,15" size="103,79" group="n176_mn85" visible="false" advanced="true"/>
<image id="n228_csp4" name="n228" src="oviicm5" fileName="images/index/bg_07.png" pkg="2d9xdj6z" xy="383,25" group="n206_jvvo"/>
<text id="n216_ovii" name="n216" xy="363,12" size="94,41" group="n206_jvvo" visible="false" font="FZDaBiaoSong-B06S" fontSize="30" color="#ffffff" vAlign="middle" text="积分:">
<text id="n216_ovii" name="n216" xy="363,12" size="94,42" group="n206_jvvo" visible="false" font="FZDaBiaoSong-B06S" fontSize="30" color="#ffffff" vAlign="middle" text="积分:">
<relation target="" sidePair="left-left,top-top"/>
</text>
<text id="n205_jvvo" name="tex_fag" xy="423,31" size="148,39" group="n206_jvvo" font="Microsoft YaHei" fontSize="28" color="#ffffff" align="center" vAlign="middle" autoSize="shrink" text="0">
@ -99,7 +99,6 @@
<group id="n176_mn85" name="top" xy="259,12" size="327,82" advanced="true"/>
<list id="n45_l0s4" name="lst_room" xy="6,134" size="1334,512" layout="flow_vt" selectionMode="none" overflow="scroll" scroll="horizontal" scrollBarFlags="2" margin="-23,0,0,0" lineGap="-107" lineItemCount="2" defaultItem="ui://m7iejg46jvvohyf" autoClearItems="true">
<gearDisplay controller="null" pages="0"/>
<relation target="" sidePair="width-width"/>
<item/>
<item/>
<item/>

View File

@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="272,102" extention="Button">
<controller name="button" pages="0,up,1,down" selected="0"/>
<controller name="button" pages="0,up,1,down" selected="1"/>
<displayList>
<loader id="n0_p0pd" name="icon" xy="0,0" size="272,103" url="ui://m7iejg46p0pdhvq" fill="scaleFree" autoSize="true" clearOnPublish="true"/>
<text id="n1_y6xi" name="n11" xy="75,8" size="181,74" fontSize="32" color="#765151" align="center" vAlign="middle" leading="2" letterSpacing="2" autoSize="shrink" text="汉寿跑胡子"/>
<text id="n2_csp4" name="n22" xy="13,8" size="68,74" font="ui://27vd145bqz637ij2" fontSize="30" color="#765151" align="center" vAlign="middle" leading="2" letterSpacing="2" autoSize="shrink" text="1"/>
<loader id="n0_p0pd" name="icon_bg" xy="0,0" size="272,103" url="ui://m7iejg46s48n7i9g" clearOnPublish="true">
<gearIcon controller="button" pages="1" values="ui://m7iejg46s48n7i9g" default="ui://m7iejg46s48n7i9f"/>
</loader>
<text id="n2_csp4" name="n22" xy="13,8" size="68,74" font="ui://27vd145bqz637ij2" fontSize="30" color="#ffffff" align="center" vAlign="middle" leading="2" letterSpacing="2" autoSize="shrink" text="1"/>
<loader id="n3_s48n" name="icon" xy="80,21" pivot="0.5,0.5" size="178,46" align="center" vAlign="middle" playing="false" clearOnPublish="true"/>
</displayList>
<Button mode="Radio"/>
<relation target="n0_p0pd" sidePair="width-width,height-height"/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -824,6 +824,22 @@
<component id="pfvz7i99" name="item_partner_banplays.xml" path="/mgr/component/reward/" exported="true"/>
<image id="too17i9a" name="mng_ban_plays.png" path="/mgr/imgs/member/" exported="true"/>
<image id="gxny7i9b" name="button_02.png" path="/images/info/"/>
<image id="s48n7i9c" name="group_paodekuai1.png" path="/images/" exported="true"/>
<image id="s48n7i9d" name="group_paohuzi0.png" path="/images/" exported="true"/>
<image id="s48n7i9e" name="group_paohuzi1.png" path="/images/" exported="true"/>
<image id="s48n7i9f" name="group_play0.png" path="/images/"/>
<image id="s48n7i9g" name="group_play1.png" path="/images/"/>
<image id="s48n7i9h" name="group_waihuzi0.png" path="/images/" exported="true"/>
<image id="s48n7i9i" name="group_waihuzi1.png" path="/images/" exported="true"/>
<image id="s48n7i9j" name="group_changsha0.png" path="/images/" exported="true"/>
<image id="s48n7i9k" name="group_changsha1.png" path="/images/" exported="true"/>
<image id="s48n7i9l" name="group_fulushou0.png" path="/images/" exported="true"/>
<image id="s48n7i9m" name="group_fulushou1.png" path="/images/" exported="true"/>
<image id="s48n7i9n" name="group_hongzhong0.png" path="/images/" exported="true"/>
<image id="s48n7i9o" name="group_hongzhong1.png" path="/images/" exported="true"/>
<image id="s48n7i9p" name="group_paodekuai0.png" path="/images/" exported="true"/>
<image id="s48n7i9q" name="group_quanbu0.png" path="/images/" exported="true"/>
<image id="s48n7i9r" name="group_quanbu1.png" path="/images/" exported="true"/>
</resources>
<publish name="NewGroup" path="..\wb_unity_pro\Assets\ART\base\newgroup\ui" packageCount="2"/>
</packageDescription>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

File diff suppressed because it is too large Load Diff