成员记录适配

master
DESKTOP-7R8JEQQ\k 2025-07-08 16:28:40 +08:00
parent d0e04026ea
commit 0fe11afd84
5 changed files with 33 additions and 19 deletions

View File

@ -14,9 +14,13 @@ function FamilyNumberRecord.New(root, page)
root.familyType.selectedIndex = 0
local comp_numberRecord = UIPackage.CreateObjectFromURL("ui://Family/comp_numberRecord")
root._view:AddChild(comp_numberRecord)
--[[
comp_numberRecord.width = root._view.width
comp_numberRecord.height = root._view.height
comp_numberRecord:Center()
comp_numberRecord:Center()]]
local scaleY = GRoot.inst.height / comp_numberRecord.height
local scaleX = GRoot.inst.width / comp_numberRecord.width
comp_numberRecord:SetScale(scaleX, scaleY)
self._view = comp_numberRecord
self._data_minPage = page - 1

View File

@ -5,11 +5,11 @@
<remark page="1" value="创建"/>
</controller>
<displayList>
<image id="n0_n74n" name="n0" src="n74n7d12" fileName="CreateAndJoin/Image/Rectangle 278.png" xy="297,192" size="2034,960"/>
<image id="n1_n74n" name="n1" src="n74n7d13" fileName="CreateAndJoin/Image/Rectangle 158.png" xy="315,210" size="1998,924"/>
<image id="n4_n74n" name="n4" src="n74n7d14" fileName="CreateAndJoin/Image/Rectangle 279.png" xy="759,258" size="1494,828"/>
<component id="n2_n74n" name="btn_create" src="86ct7cvv" fileName="CreateAndJoin/Component/btn_createFamily.xml" xy="369,699" size="360,321"/>
<component id="n3_n74n" name="btn_join" src="86ct7cvw" fileName="CreateAndJoin/Component/btn_joinFamily.xml" xy="369,324" size="360,321"/>
<image id="n0_n74n" name="n0" src="n74n7d12" fileName="CreateAndJoin/Image/Rectangle 278.png" xy="297,192" size="2034,960" group="n27_g71b"/>
<image id="n1_n74n" name="n1" src="n74n7d13" fileName="CreateAndJoin/Image/Rectangle 158.png" xy="315,210" size="1998,924" group="n27_g71b"/>
<image id="n4_n74n" name="n4" src="n74n7d14" fileName="CreateAndJoin/Image/Rectangle 279.png" xy="759,258" size="1494,828" group="n27_g71b"/>
<component id="n2_n74n" name="btn_create" src="86ct7cvv" fileName="CreateAndJoin/Component/btn_createFamily.xml" xy="369,699" size="360,321" group="n27_g71b"/>
<component id="n3_n74n" name="btn_join" src="86ct7cvw" fileName="CreateAndJoin/Component/btn_joinFamily.xml" xy="369,324" size="360,321" group="n27_g71b"/>
<image id="n12_n74n" name="n12" src="n74n7d18" fileName="CreateAndJoin/Image/Rectangle 281.png" xy="1497,288" size="738,768" group="n15_n74n"/>
<image id="n10_n74n" name="n10" src="86ct7cvp" fileName="CreateAndJoin/Image/image 43.png" xy="879,705" group="n15_n74n"/>
<image id="n5_n74n" name="n5" src="n74n7d15" fileName="CreateAndJoin/Image/Group 141.png" xy="789,435" group="n15_n74n"/>
@ -17,7 +17,6 @@
<text id="n8_n74n" name="text_FamilyId" xy="821,458" size="664,76" group="n15_n74n" font="ui://27vd145bh35o7iju" fontSize="54" color="#ffffff" vAlign="middle" letterSpacing="76" autoSize="none" autoClearText="true" text="999999"/>
<text id="n9_n74n" name="n9" xy="816,582" size="642,98" group="n15_n74n" font="ui://27vd145bh35o7ill" fontSize="36" color="#9e3635" autoSize="none" text="小提示:您可以根据朋友分享的俱乐部口令加入他的亲友圈"/>
<list id="n14_n74n" name="list_keyBoard" xy="1527,325" size="678,700" group="n15_n74n" layout="flow_hz" overflow="hidden" lineGap="18" colGap="24" defaultItem="ui://htcn7v3r86ct7cw6" align="center" vAlign="middle">
<relation target="" sidePair="width-width,height-height"/>
<item>
<property target="text_num" propertyId="0" value="1"/>
</item>
@ -51,7 +50,7 @@
</item>
<item/>
</list>
<group id="n15_n74n" name="n15" xy="789,288" size="1446,798" advanced="true">
<group id="n15_n74n" name="n15" xy="789,288" size="1446,798" group="n27_g71b" advanced="true">
<gearDisplay controller="cStyle" pages="0"/>
</group>
<image id="n16_n74n" name="n16" src="n74n7d19" fileName="CreateAndJoin/Image/Rectangle 135.png" xy="1161,324" size="750,84" group="n18_n74n"/>
@ -63,8 +62,11 @@
<text id="n23_n74n" name="input_name" xy="1161,324" size="750,84" group="n18_n74n" font="ui://27vd145bh35o7il1" fontSize="48" color="#222222" vAlign="middle" autoSize="none" text="请输入名称" input="true"/>
<text id="n25_n74n" name="input_wxId" xy="1161,447" size="750,84" group="n18_n74n" font="ui://27vd145bh35o7il1" fontSize="48" color="#222222" vAlign="middle" autoSize="none" text="请输入微信号" input="true"/>
<component id="n26_n74n" name="btn_c" src="86ct7cwb" fileName="CreateAndJoin/Component/btn_create.xml" xy="1338,960" size="333,96" group="n18_n74n"/>
<group id="n18_n74n" name="n18" xy="849,324" size="1075,732" advanced="true">
<group id="n18_n74n" name="n18" xy="849,324" size="1075,732" group="n27_g71b" advanced="true">
<gearDisplay controller="cStyle" pages="1"/>
</group>
<group id="n27_g71b" name="n27" xy="297,192" size="2034,960" advanced="true">
<relation target="" sidePair="center-center,middle-middle"/>
</group>
</displayList>
</component>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="2532,1170">
<controller name="familyType" exported="true" homePageType="specific" homePage="6" pages="6,空,0,main,1,playEdit,4,createAndJoin,5,numberList,7,numberRecord,8,auditNumber" selected="1"/>
<controller name="familyType" exported="true" homePageType="specific" homePage="6" pages="6,空,0,main,1,playEdit,4,createAndJoin,5,numberList,7,numberRecord,8,auditNumber" selected="3"/>
<controller name="createOrJoin" pages="0,create,1,join" selected="0"/>
<controller name="listFamily" pages="0,,1,,10,,11,,12,,13,,14,,15," selected="0"/>
<controller name="numberRecordRank" pages="0,,1,,3," selected="0"/>
@ -171,6 +171,7 @@
</group>
<component id="n380_n74n" name="com_createAndJoin" src="n74n7d11" fileName="CreateAndJoin/com_createAndJoin.xml" xy="0,0" size="2532,1170">
<gearDisplay controller="familyType" pages="4"/>
<relation target="" sidePair="width-width,height-height"/>
</component>
<image id="n281_jrro" name="text_titleAuditNumber" src="c8pn7cz4" fileName="Main/Image/Group 327.png" xy="969,24" size="593,99" group="n349_jrro">
<relation target="" sidePair="center-center"/>

View File

@ -1,12 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="2532,1170">
<controller name="page" pages="0,,1,,2,,3," selected="2"/>
<controller name="page" pages="0,,1,,2,,3," selected="0"/>
<controller name="day" pages="0,,1," selected="0"/>
<controller name="sort" pages="0,,1," selected="0"/>
<controller name="limitDay" pages="0,,1," selected="0"/>
<controller name="noPeople" pages="0,,1," selected="0"/>
<controller name="lev" pages="0,,1," selected="0"/>
<displayList>
<image id="n171_g71b" name="n171" src="jrro7cyp" fileName="Main/Image/loginBg.png" xy="0,0" size="2531,1170" group="n173_g71b">
<relation target="" sidePair="width-width,height-height"/>
</image>
<image id="n172_g71b" name="n172" src="jrro7cyd" fileName="Main/Image/bt_top.png" xy="0,0" group="n173_g71b">
<relation target="" sidePair="right-left,top-top,rightext-right"/>
</image>
<group id="n173_g71b" name="n173" xy="0,0" size="2532,1170" group="n73_lgoh"/>
<text id="n0_lgoh" name="text_titleRecord" xy="264,22" size="2002,102" group="n73_lgoh" font="ui://27vd145bg2mo7ij0" fontSize="72" color="#ffffff" align="center" autoSize="none" shadowColor="#4c5058" shadowOffset="3,3" text="亲友圈xxxx123456成员记录">
<relation target="" sidePair="center-center"/>
</text>
@ -42,7 +49,7 @@
<image id="n18_lgoh" name="n18" src="c8pn7d02" fileName="Main/Image/Rectangle 93(1)(1).png" xy="21,145" size="2484,1011" group="n20_lgoh"/>
<image id="n19_lgoh" name="n19" src="c8pn7d03" fileName="Main/Image/Rectangle 122(1).png" xy="39,161" size="2448,978" group="n20_lgoh"/>
<group id="n20_lgoh" name="bg_numberRecordRank" xy="21,145" size="2484,1011" group="n63_lgoh"/>
<text id="n21_lgoh" name="text_timeRecord" xy="124,199" size="660,72" group="n47_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="54" color="#0000ed" bold="true" text="2025-04-11-01 18:58:25"/>
<text id="n21_lgoh" name="text_timeRecord" xy="124,199" size="604,72" group="n47_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="54" color="#0000ed" bold="true" text="2025-04-11-01 18:58:25"/>
<image id="n22_lgoh" name="n22" src="c8pn7czi" fileName="Main/Image/Rectangle 278.png" xy="226,328" size="438,72" group="n47_lgoh"/>
<text id="n23_lgoh" name="input_numberID" xy="248,328" size="344,72" group="n47_lgoh" fontSize="46" vAlign="middle" autoSize="shrink" bold="true" autoClearText="true" text="123456213" input="true"/>
<component id="n24_lgoh" name="btn_clearInput" src="qz7i7cwy" fileName="NumberRecord/Component/btn_clearInput.xml" xy="607,352" group="n47_lgoh"/>
@ -68,29 +75,29 @@
<text id="n32_lgoh" name="n32" xy="700,645" size="286,86" group="n47_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" text="房卡消耗:">
<relation target="" sidePair="right-left,top-top"/>
</text>
<text id="n33_lgoh" name="n33" xy="198,807" size="160,86" group="n37_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" bold="true" text="麻将(">
<text id="n33_lgoh" name="n33" xy="198,807" size="158,86" group="n37_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" bold="true" text="麻将(">
<relation target="" sidePair="left-left"/>
</text>
<text id="n34_lgoh" name="text_score_majiang" xy="356,807" size="121,86" group="n37_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#0000ed" bold="true" singleLine="true" text="000">
<text id="n34_lgoh" name="text_score_majiang" xy="356,807" size="115,86" group="n37_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#0000ed" bold="true" singleLine="true" text="000">
<relation target="n33_lgoh" sidePair="left-right"/>
</text>
<component id="n35_lgoh" name="btn_changeMJScore" src="qz7i7cws" fileName="NumberDetail/Component/btn_change.xml" xy="984,816" group="n37_lgoh">
<relation target="n36_lgoh" sidePair="left-right"/>
</component>
<text id="n36_lgoh" name="n36" xy="471,806" size="485,86" group="n37_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" bold="true" text=")分禁止进入牌局">
<text id="n36_lgoh" name="n36" xy="471,806" size="488,86" group="n37_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" bold="true" text=")分禁止进入牌局">
<relation target="n34_lgoh" sidePair="left-right"/>
</text>
<group id="n37_lgoh" name="majiang" xy="198,806" size="912,87" group="n47_lgoh"/>
<text id="n38_lgoh" name="n38" xy="198,933" size="160,86" group="n42_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" bold="true" text="扑克(">
<text id="n38_lgoh" name="n38" xy="198,933" size="158,86" group="n42_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" bold="true" text="扑克(">
<relation target="" sidePair="left-left"/>
</text>
<text id="n39_lgoh" name="text_score_poker" xy="356,933" size="121,86" group="n42_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#0000ed" bold="true" singleLine="true" text="000">
<text id="n39_lgoh" name="text_score_poker" xy="356,933" size="115,86" group="n42_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#0000ed" bold="true" singleLine="true" text="000">
<relation target="n38_lgoh" sidePair="left-right"/>
</text>
<component id="n40_lgoh" name="btn_changePKScore" src="qz7i7cws" fileName="NumberDetail/Component/btn_change.xml" xy="984,942" group="n42_lgoh">
<relation target="n41_lgoh" sidePair="left-right"/>
</component>
<text id="n41_lgoh" name="n41" xy="471,933" size="485,86" group="n42_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" bold="true" text=")分禁止进入牌局">
<text id="n41_lgoh" name="n41" xy="471,933" size="488,86" group="n42_lgoh" font="Alibaba PuHuiTi 3.0" fontSize="66" color="#a8312f" bold="true" text=")分禁止进入牌局">
<relation target="n39_lgoh" sidePair="left-right"/>
</text>
<group id="n42_lgoh" name="oiker" xy="198,933" size="912,86" group="n47_lgoh"/>
@ -181,6 +188,6 @@
<gearDisplay controller="page" pages="3"/>
</group>
<component id="n148_lgoh" name="btn_close" src="in3i7cu9" fileName="Main/Component/btn_close.xml" xy="54,6" group="n73_lgoh"/>
<group id="n73_lgoh" name="numberRecord" xy="21,6" size="2502,1150" advanced="true"/>
<group id="n73_lgoh" name="numberRecord" xy="0,0" size="2532,1170" advanced="true"/>
</displayList>
</component>