盟主显示调度,反之不显示,调整玩法选择
parent
1a619f145d
commit
bca962002d
|
|
@ -1137,12 +1137,28 @@ function M:InitView(url)
|
|||
local btn_choose = self._view:GetChild('btn_choose')
|
||||
btn_choose.onClick:Set(
|
||||
function ()
|
||||
self.lstgameVisible = not self.lstgameVisible
|
||||
if (self.lstgameVisible) then
|
||||
self.lst_game:TweenMove(Vector2.New(3,194), 0.3)
|
||||
else
|
||||
self.lst_game:TweenMove(Vector2.New(3,1170), 0.3)
|
||||
end
|
||||
-- self.lstgameVisible = not self.lstgameVisible
|
||||
-- if (self.lstgameVisible) then
|
||||
-- self.lst_game:TweenMove(Vector2.New(3,146), 0.3)
|
||||
-- else
|
||||
-- self.lst_game:TweenMove(Vector2.New(3,1232), 0.3)
|
||||
-- end
|
||||
|
||||
self.lstgameVisible = not self.lstgameVisible
|
||||
|
||||
-- 获取 btn_choose 的当前 Y 坐标
|
||||
local targetY = btn_choose.y
|
||||
|
||||
local lst_game_height = self.lst_game.height
|
||||
local offset = 5 -- 间距
|
||||
|
||||
if (self.lstgameVisible) then
|
||||
-- 显示:移动到 btn_choose 上方
|
||||
self.lst_game:TweenMove(Vector2.New(btn_choose.x, targetY - lst_game_height - offset), 0.3)
|
||||
else
|
||||
-- 隐藏:移出屏幕可视区域
|
||||
self.lst_game:TweenMove(Vector2.New(btn_choose.x, targetY + lst_game_height + 100), 0.3)
|
||||
end
|
||||
|
||||
end
|
||||
-- function()
|
||||
|
|
|
|||
|
|
@ -247,13 +247,16 @@ function M:FillRecordItem(data, obj)
|
|||
gniv:Show()
|
||||
end)
|
||||
|
||||
local btn_detail1 = obj:GetChild("btn_detail_zhengzudiaodu")
|
||||
btn_detail1.onClick:Set(function()
|
||||
-- local time_type = self._view:GetController("type").selectedIndex
|
||||
-- --printlog("ccccccccccwwwwwwwwwwwwwwwwwwwwwwwwwwww ",self.begin_time," ",self.end_time)
|
||||
-- local gniv = GroupPartnerStatMember.new(self.group_id,data.uid, 0,self.begin_time,self.end_time)
|
||||
-- gniv:Show()
|
||||
if group.lev == 1 then
|
||||
obj:GetController('diaodu_ismengzhu').selectedIndex = 1
|
||||
else
|
||||
obj:GetController('diaodu_ismengzhu').selectedIndex = 0
|
||||
end
|
||||
|
||||
local btn_detail1 = obj:GetChild("btn_detail_zhengzudiaodu")
|
||||
-- 【新增】判断按钮是否存在
|
||||
if btn_detail1 then
|
||||
btn_detail1.onClick:Set(function()
|
||||
ViewUtil.ShowModalWait()
|
||||
ControllerManager.GetController(NewGroupController):FG_GetBanMemberHB(self.group_id, data.uid, function(res)
|
||||
ViewUtil.CloseModalWait()
|
||||
|
|
@ -266,9 +269,8 @@ function M:FillRecordItem(data, obj)
|
|||
end
|
||||
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
end
|
||||
local btnMen = obj:GetChild("btnMen")
|
||||
-- btnMen.text = d2ad(data.autoscore)
|
||||
local menControl = obj:GetController("menkan")
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
"n154_cioe": {
|
||||
"hidden": true
|
||||
},
|
||||
"n238_dg1v": {
|
||||
"hidden": true
|
||||
},
|
||||
"n235_o6b1": {
|
||||
"hidden": true
|
||||
},
|
||||
|
|
@ -15,10 +18,6 @@
|
|||
"n175_mn85": {
|
||||
"hidden": true
|
||||
},
|
||||
"n74_i7lq": {
|
||||
"locked": true,
|
||||
"hidden": true
|
||||
},
|
||||
"n200_isix": {
|
||||
"hidden": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,169 +1,26 @@
|
|||
{
|
||||
"libview.firstColumnWidth": 356,
|
||||
"libview.firstColumnWidth": 384,
|
||||
"libview.iconScale": 0,
|
||||
"doc.openedDocs": [
|
||||
"ui://m7iejg46jgh8hwv",
|
||||
"ui://1hl55dqmc4r115",
|
||||
"ui://yzaioi79f55qwa",
|
||||
"ui://yzaioi79f55qvx",
|
||||
"ui://m7iejg46l679hws",
|
||||
"ui://27vd145beeqmch0",
|
||||
"ui://m7iejg46kwi0hmc",
|
||||
"ui://yzaioi79f55qw5",
|
||||
"ui://4skil1l6piv91mk",
|
||||
"ui://4skil1l6uwvl1qp",
|
||||
"ui://4skil1l6piv91o7",
|
||||
"ui://4skil1l6piv91o5",
|
||||
"ui://4skil1l6piv91ny",
|
||||
"ui://x3mp2cn6xvhr3r",
|
||||
"ui://niy3ldiwl9mn14",
|
||||
"ui://yzaioi79ku2gi4r",
|
||||
"ui://niy3ldiwl9mny",
|
||||
"ui://niy3ldiwl9mn19",
|
||||
"ui://niy3ldiwl9mn10",
|
||||
"ui://5cdldr01qaqf2c",
|
||||
"ui://5cdldr01qaqf2i",
|
||||
"ui://5cdldr01qaqf2h",
|
||||
"ui://5cdldr01qaqf2l",
|
||||
"ui://5cdldr01qaqf2n",
|
||||
"ui://5cdldr01qaqf2q",
|
||||
"ui://442j0uepygxga",
|
||||
"ui://3n2top74kpmgkd",
|
||||
"ui://awernf6xbazq7n",
|
||||
"ui://qpsoxvaiprgzee",
|
||||
"ui://b8jloj2qg8ktcmb",
|
||||
"ui://3op8sm5eu86s1f",
|
||||
"ui://y8prev1ms9wx7",
|
||||
"ui://c7j2rnvqtpf02f",
|
||||
"ui://b50sd5s6s9wx7",
|
||||
"ui://xul2z8cts9wx7",
|
||||
"ui://visk5g30gq7m2c",
|
||||
"ui://s63l0suw6cpqv",
|
||||
"ui://425x67nrs9wx7",
|
||||
"ui://kplym8mus9wx7",
|
||||
"ui://fnuxqeflnrnod",
|
||||
"ui://egnzysm7ffp36a",
|
||||
"ui://v2hilfzbgq7mde",
|
||||
"ui://ypulwxjhl9mn14",
|
||||
"ui://k15boclkl9mn14",
|
||||
"ui://oubpz2r2ofil7k",
|
||||
"ui://4skil1l6piv91mg",
|
||||
"ui://27vd145bdjzo18",
|
||||
"ui://yzaioi79f55qvw",
|
||||
"ui://c7j2rnvqtpf08x",
|
||||
"ui://fnuxqeflkllg1x",
|
||||
"ui://5cdldr01qaqf9c",
|
||||
"ui://5cdldr01qaqf61",
|
||||
"ui://5cdldr01qaqf7o",
|
||||
"ui://5cdldr01qaqf60",
|
||||
"ui://5cdldr01qaqfb",
|
||||
"ui://5cdldr01qaqf3f",
|
||||
"ui://5cdldr01qaqfa2",
|
||||
"ui://442j0uepdafga8",
|
||||
"ui://ypulwxjhl9mn37",
|
||||
"ui://k15boclkl9mn37",
|
||||
"ui://4skil1l6r6qo1kc",
|
||||
"ui://5cdldr01qaqfa4",
|
||||
"ui://5cdldr01qaqfaw",
|
||||
"ui://3z9lj55vjokmft",
|
||||
"ui://2zlli80mw9te0",
|
||||
"ui://2zlli80mr6cyce9",
|
||||
"ui://2d9xdj6zfn7fao",
|
||||
"ui://2d9xdj6zlumrgj",
|
||||
"ui://27vd145bofsx1e",
|
||||
"ui://m7iejg46mpllhuq",
|
||||
"ui://m7iejg46mpllhut",
|
||||
"ui://m7iejg4610snh5j",
|
||||
"ui://m7iejg46jvvohyf",
|
||||
"ui://3z9lj55vjokmwr",
|
||||
"ui://3z9lj55vjokmlu",
|
||||
"ui://3z9lj55vjokmlt",
|
||||
"ui://3z9lj55vjokmay",
|
||||
"ui://3z9lj55vjokmb2",
|
||||
"ui://3z9lj55vjokmbc",
|
||||
"ui://3z9lj55vjokm6c",
|
||||
"ui://3z9lj55vjokm7l",
|
||||
"ui://4skil1l6ms5spy",
|
||||
"ui://2d9xdj6znlwcgk",
|
||||
"ui://2d9xdj6zlwcl5m",
|
||||
"ui://27vd145beeqmcgp",
|
||||
"ui://0khx14are0py2",
|
||||
"ui://3z9lj55vjokmet",
|
||||
"ui://3z9lj55vjokmey",
|
||||
"ui://3z9lj55vjokmfu",
|
||||
"ui://3z9lj55vjokmdt",
|
||||
"ui://3z9lj55vjokmdr",
|
||||
"ui://3z9lj55vjokme2",
|
||||
"ui://5cdldr01qaqf6x",
|
||||
"ui://5cdldr01qaqf7q",
|
||||
"ui://yzaioi79f55qw4",
|
||||
"ui://yzaioi79f55qw7",
|
||||
"ui://yzaioi79fgao1dk",
|
||||
"ui://27vd145bh1uu3f",
|
||||
"ui://1hl55dqmp6vl1d",
|
||||
"ui://d1qrzqprc4r116",
|
||||
"ui://qubt49z8c4r116",
|
||||
"ui://m7iejg46f6brhww",
|
||||
"ui://m7iejg46j1207i2r"
|
||||
"ui://m7iejg46jgh8hwv",
|
||||
"ui://m7iejg46kwi0hk0",
|
||||
"ui://m7iejg46qlxihsl",
|
||||
"ui://m7iejg46qlxihsm",
|
||||
"ui://m7iejg46kwi0hld",
|
||||
"ui://m7iejg46kwi0hmb",
|
||||
"ui://m7iejg46f6brhww"
|
||||
],
|
||||
"test.device": "Xiaomi 9",
|
||||
"canvasColor": 10066329,
|
||||
"auxline2": true,
|
||||
"doc.activeDoc": "ui://5cdldr01qaqf2q",
|
||||
"doc.activeDoc": "ui://m7iejg46f6brhww",
|
||||
"libview.twoColumn": false,
|
||||
"libview.expandedNodes": [
|
||||
"442j0uep",
|
||||
"/",
|
||||
"442j0uep",
|
||||
"/component/",
|
||||
"442j0uep",
|
||||
"/component/EPRHZMui/",
|
||||
"niy3ldiw",
|
||||
"/",
|
||||
"niy3ldiw",
|
||||
"/component/",
|
||||
"niy3ldiw",
|
||||
"/component/EPYYWHZMui/",
|
||||
"niy3ldiw",
|
||||
"/component/clearing/",
|
||||
"3z9lj55v",
|
||||
"/",
|
||||
"3z9lj55v",
|
||||
"/component/",
|
||||
"3z9lj55v",
|
||||
"/component/card/",
|
||||
"5cdldr01",
|
||||
"/",
|
||||
"5cdldr01",
|
||||
"/buttons/",
|
||||
"5cdldr01",
|
||||
"/component/",
|
||||
"5cdldr01",
|
||||
"/component/Main/",
|
||||
"5cdldr01",
|
||||
"/component/clearing/",
|
||||
"5cdldr01",
|
||||
"/component/clearing/image/",
|
||||
"yzaioi79",
|
||||
"/",
|
||||
"yzaioi79",
|
||||
"/component/",
|
||||
"yzaioi79",
|
||||
"/component/Main/",
|
||||
"yzaioi79",
|
||||
"/component/Main/component/",
|
||||
"m7iejg46",
|
||||
"/",
|
||||
"m7iejg46",
|
||||
"/component/",
|
||||
"m7iejg46",
|
||||
"/component/Lst_room/",
|
||||
"m7iejg46",
|
||||
"/component/mail/",
|
||||
"m7iejg46",
|
||||
"/mgr/",
|
||||
"m7iejg46",
|
||||
"/mgr/Mui/"
|
||||
"/mgr/"
|
||||
],
|
||||
"auxline1": true,
|
||||
"snapToGrid": true,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="2532,1170" 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"/>
|
||||
<Button icon="ui://m7iejg46rpazhvt"/>
|
||||
</component>
|
||||
<component id="n190_nk4v" name="btn_bxx" src="mgnhhqh" fileName="component/Lst_info/Button3.xml" xy="2094,20" size="129,137" controller="tip,0">
|
||||
<component id="n190_nk4v" name="btn_bxx" src="mgnhhqh" fileName="component/Lst_info/Button3.xml" xy="2231,12" size="129,137" controller="tip,0">
|
||||
<gearDisplay controller="manager" pages="1,2,3"/>
|
||||
<gearXY controller="manager" pages="0,1,2,3" values="2231,12|2094,20|2094,20|2094,20"/>
|
||||
<relation target="" sidePair="right-right"/>
|
||||
|
|
@ -122,8 +122,8 @@
|
|||
<graph id="n240_k5ep" name="n240" xy="0,1019" size="2532,151" type="rect" lineSize="0" fillColor="#4cffffff">
|
||||
<relation target="" sidePair="bottom-bottom"/>
|
||||
</graph>
|
||||
<list id="n186_p0pd" name="game_list" xy="6,1170" size="426,823" overflow="scroll" scrollBarFlags="2" defaultItem="ui://m7iejg46p0pdhvp" vAlign="bottom" autoClearItems="true">
|
||||
<relation target="" sidePair="left-left"/>
|
||||
<list id="n186_p0pd" name="game_list" xy="3,1170" size="426,780" overflow="scroll" scrollBarFlags="2" defaultItem="ui://m7iejg46p0pdhvp" vAlign="bottom" autoClearItems="true">
|
||||
<relation target="" sidePair="left-left,bottom-bottom"/>
|
||||
<item/>
|
||||
<item/>
|
||||
<item/>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
<gearDisplay controller="mng" pages="1"/>
|
||||
</group>
|
||||
<group id="n134_lcv1" name="col" xy="30,29" size="1813,154"/>
|
||||
<list id="n82_kwi0" name="lst_record" xy="26,129" size="1813,782" overflow="scroll" lineGap="16" defaultItem="ui://m7iejg46f6brhww" autoClearItems="true">
|
||||
<list id="n82_kwi0" name="lst_record" xy="26,129" size="1813,703" overflow="scroll" lineGap="16" defaultItem="ui://m7iejg46f6brhww" autoClearItems="true">
|
||||
<gearDisplay controller="search" pages="0"/>
|
||||
<relation target="" sidePair="width-width"/>
|
||||
<item/>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="1813,160" bgColor="#4b381b">
|
||||
<controller name="mng" pages="0,,1," selected="0"/>
|
||||
<controller name="show_total" pages="0,,1," selected="1"/>
|
||||
<controller name="show_total" pages="0,,1," selected="0"/>
|
||||
<controller name="menkan" pages="0,,1," selected="0"/>
|
||||
<controller name="diaodu_ismengzhu" pages="0,是,1,不是" selected="0"/>
|
||||
<displayList>
|
||||
<image id="n64_hp03" name="n64" src="a6k77i7r" fileName="component/nav/tj_bg_07.png" xy="1,0" size="1820,170">
|
||||
<relation target="" sidePair="width-width"/>
|
||||
|
|
@ -52,13 +53,16 @@
|
|||
<gearXY controller="mng" pages="0,1" values="860,55|1220,-101"/>
|
||||
<relation target="" sidePair="center-center%"/>
|
||||
</text>
|
||||
<component id="n54_j120" name="btn_detail" src="j1207i2o" fileName="images/Button9.xml" xy="1676,41">
|
||||
<component id="n54_j120" name="btn_detail" src="j1207i2o" fileName="images/Button9.xml" xy="1596,41">
|
||||
<gearXY controller="diaodu_ismengzhu" pages="0" values="1596,41" default="1676,41"/>
|
||||
<relation target="" sidePair="center-center%"/>
|
||||
</component>
|
||||
<text id="n63_omkm" name="tex_round_youxiao" xy="730,55" pivot="0.5,0.5" size="82,49" font="ui://27vd145bpxed7ik2" fontSize="36" color="#0d1725" align="center" vAlign="middle" autoSize="shrink" singleLine="true" autoClearText="true" text="1234">
|
||||
<gearXY controller="mng" pages="0,1" values="730,55|1012,55"/>
|
||||
<relation target="" sidePair="center-center%"/>
|
||||
</text>
|
||||
<component id="n67_wbjh" name="btn_detail_zhengzudiaodu" src="wbjh7ica" fileName="mgr/component/member/partner/Button14.xml" xy="1548,44" size="122,72"/>
|
||||
<component id="n67_wbjh" name="btn_detail_zhengzudiaodu" src="wbjh7ica" fileName="mgr/component/member/partner/Button14.xml" xy="1548,44" size="122,72">
|
||||
<gearDisplay controller="diaodu_ismengzhu" pages="1"/>
|
||||
</component>
|
||||
</displayList>
|
||||
</component>
|
||||
Binary file not shown.
Loading…
Reference in New Issue