房卡记录

master
DESKTOP-7R8JEQQ\k 2025-06-21 12:15:04 +08:00
parent fdef007d61
commit 21a357a986
20 changed files with 139 additions and 5 deletions

View File

@ -1,3 +1,5 @@
local FamilyRoomCardRecord = import(".FamilyRoomCardRecord")
--region LOCAL --region LOCAL
local FamilyMyFamily = {} local FamilyMyFamily = {}
@ -105,6 +107,11 @@ function FamilyMyFamily:Init()
root:ShowShop() root:ShowShop()
end) end)
self.btn_czRecord.onClick:Set(function()
local view = FamilyRoomCardRecord.New()
view:Show()
end)
self.btn_checkNumber.onClick:Set(function() self.btn_checkNumber.onClick:Set(function()
self:Close() self:Close()
local family = DataManager.groups.groupMap[self.groupId] local family = DataManager.groups.groupMap[self.groupId]

View File

@ -0,0 +1,30 @@
local FamilyRoomCardRecord = {}
function FamilyRoomCardRecord.New()
--[[ 由于层级原因暂时不独立new界面了
setmetatable(FamilyRoomCardRecord, { __index = BaseWindow })
local inst = setmetatable({}, { __index = FamilyRoomCardRecord })
inst._full_offset = false
inst._full = true
inst._animation = false
BaseWindow.init(inst, "ui://Family/com_familyRoomCardRecord")
inst:Init()
return inst
]]
end
function FamilyRoomCardRecord:Init(root)
local _view = root
self.btn_close = _view:GetChild("btn_close")
self.box_time = _view:GetChild("box_time")
self.list_record = _view:GetChild("list_record")
end
function FamilyRoomCardRecord:Show()
--BaseWindow.Show(self)
end
return FamilyRoomCardRecord

View File

@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<component size="147,144"> <component size="147,144">
<controller name="cStyle" pages="0,,1," selected="1"> <controller name="cStyle" pages="0,,1," selected="0">
<remark page="0" value="正常元素"/> <remark page="0" value="正常元素"/>
<remark page="1" value="添加"/> <remark page="1" value="添加"/>
</controller> </controller>
<displayList> <displayList>
<graph id="n4_jw05" name="n4" xy="0,0" size="147,144" group="n6_jw05" type="rect" lineColor="#00000000" corner="6"/> <graph id="n4_jw05" name="n4" xy="0,0" size="147,144" group="n6_jw05" type="rect" lineColor="#00000000" corner="6"/>
<loader id="n0_jw05" name="n0" xy="0,0" size="147,144" group="n6_jw05" align="center" vAlign="middle" fill="scale"> <loader id="n0_jw05" name="loader_icon" xy="0,0" size="147,144" group="n6_jw05" align="center" vAlign="middle" fill="scale">
<relation target="" sidePair="width-width,height-height"/> <relation target="" sidePair="width-width,height-height"/>
</loader> </loader>
<image id="n2_jw05" name="n2" src="jw057d2s" fileName="BanDesk/Image/hall_club_filter_headname.png" xy="0,0" group="n6_jw05"/> <image id="n2_jw05" name="n2" src="jw057d2s" fileName="BanDesk/Image/hall_club_filter_headname.png" xy="0,0" group="n6_jw05"/>
<text id="n1_jw05" name="n1" xy="0,0" size="147,38" group="n6_jw05" font="Microsoft YaHei" fontSize="27" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="9999999999"/> <text id="n1_jw05" name="tex_name" xy="0,0" size="147,38" group="n6_jw05" font="Microsoft YaHei" fontSize="27" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="9999999999"/>
<component id="n3_jw05" name="n3" src="jw057d2u" fileName="BanDesk/Component/btn_delPlayer.xml" xy="108,102" group="n6_jw05"/> <component id="n3_jw05" name="btn_delPlayer" src="jw057d2u" fileName="BanDesk/Component/btn_delPlayer.xml" xy="108,102" group="n6_jw05"/>
<group id="n6_jw05" name="n6" xy="0,0" size="149,144" advanced="true"> <group id="n6_jw05" name="n6" xy="0,0" size="149,144" advanced="true">
<gearDisplay controller="cStyle" pages="0"/> <gearDisplay controller="cStyle" pages="0"/>
</group> </group>
<component id="n5_jw05" name="n5" src="jw057d2y" fileName="BanDesk/Component/btn_addPlayer.xml" xy="5,3"> <component id="n5_jw05" name="btn_addPlayer" src="jw057d2y" fileName="BanDesk/Component/btn_addPlayer.xml" xy="5,3">
<gearDisplay controller="cStyle" pages="1"/> <gearDisplay controller="cStyle" pages="1"/>
</component> </component>
</displayList> </displayList>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="435,66" extention="ComboBox">
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="3"/>
<displayList>
<image id="n0_95rc" name="n0" src="95rc7d4p" fileName="FamilyRoomCardRecord/Image/Rectangle 165(2).png" xy="0,0" size="435,66">
<relation target="" sidePair="width-width,height-height"/>
</image>
<text id="n1_95rc" name="title" xy="0,-3" size="370,72" font="ui://27vd145bh35o7ill" fontSize="54" color="#ffffff" align="center" vAlign="middle" autoSize="none" singleLine="true" text="">
<relation target="" sidePair="width-width,height-height"/>
</text>
<image id="n2_95rc" name="n2" src="95rc7d4o" fileName="FamilyRoomCardRecord/Image/Group 558.png" xy="369,0"/>
</displayList>
<ComboBox dropdown="ui://htcn7v3r95rc7d4m"/>
<customProperty target="" propertyId="0"/>
<customProperty target="" propertyId="0"/>
<customProperty target="" propertyId="0"/>
</component>

View File

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

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="150,200">
<displayList>
<image id="n0_95rc" name="n0" src="95rc7d4p" fileName="FamilyRoomCardRecord/Image/Rectangle 165(2).png" xy="0,-4" size="150,208">
<relation target="" sidePair="width-width,height-height"/>
</image>
<list id="n1_95rc" name="list" xy="0,0" size="150,200" overflow="hidden" defaultItem="ui://htcn7v3r95rc7d4l">
<item/>
<item/>
<item/>
<item/>
</list>
</displayList>
<relation target="n1_95rc" sidePair="height-height"/>
</component>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="2004,135">
<displayList>
<image id="n0_95rc" name="n0" src="95rc7d4f" fileName="Main/Image/Group 365.png" xy="-11,-11" size="2026,157"/>
<text id="n1_95rc" name="tex_time" xy="228,31" size="546,72" font="ui://27vd145bh35o7il1" fontSize="54" color="#444444" align="center" vAlign="middle" text="2025-03-21 14:30:23"/>
<image id="n2_95rc" name="n2" src="95rc7d4h" fileName="FamilyRoomCardRecord/Image/Rectangle 186.png" xy="999,15"/>
<text id="n3_95rc" name="tex_num" xy="1230,31" size="546,72" font="ui://27vd145bh35o7il1" fontSize="54" color="#444444" align="center" vAlign="middle" autoSize="none" text="50"/>
</displayList>
</component>

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="2532,1170">
<displayList>
<image id="n0_95rc" name="n0" src="mc627d05" fileName="Main/Image/Rectangle 91.png" xy="228,165" size="2076,993"/>
<image id="n1_95rc" name="n1" src="ieus7d1e" fileName="Main/Image/Rectangle 121.png" xy="246,183" size="2040,957"/>
<image id="n11_95rc" name="n11" src="yk1o7d3p" fileName="Main/Image/hall_club_common_tittle_icon1.png" xy="931,24" group="n14_95rc">
<relation target="n12_95rc" sidePair="left-left"/>
</image>
<text id="n12_95rc" name="n12" xy="1048,27" size="436,94" group="n14_95rc" font="ui://27vd145bg2mo7ij0" fontSize="72" color="#ffffff" align="center" vAlign="middle" text="充值房卡记录">
<relation target="" sidePair="center-center"/>
</text>
<image id="n13_95rc" name="n13" src="yk1o7d3p" fileName="Main/Image/hall_club_common_tittle_icon1.png" xy="1538,24" group="n14_95rc" flip="hz">
<relation target="n12_95rc" sidePair="right-right"/>
</image>
<group id="n14_95rc" name="n14" xy="931,24" size="670,99"/>
<image id="n2_95rc" name="n2" src="95rc7d4e" fileName="Main/Image/Group 557.png" xy="264,304" size="2004,72"/>
<list id="n4_95rc" name="list_record" xy="182,396" size="2168,671" layout="flow_vt" overflow="scroll" lineGap="24" defaultItem="ui://htcn7v3r95rc7d4g" align="center">
<item/>
<item/>
<item/>
<item/>
</list>
<text id="n5_95rc" name="n5" xy="611,312" size="309,56" font="ui://27vd145bg2mo7ij0" fontSize="42" color="#ffffff" align="center" autoSize="none" text="时间"/>
<text id="n6_95rc" name="n6" xy="1610,314" size="309,56" font="ui://27vd145bg2mo7ij0" fontSize="42" color="#ffffff" align="center" autoSize="none" text="充值房卡数"/>
<graph id="n8_95rc" name="n8" xy="1263,304" size="6,73" type="rect" lineColor="#00000000" fillColor="#fffbefd3"/>
<component id="n9_95rc" name="box_time" src="95rc7d4n" fileName="FamilyRoomCardRecord/Component/box_time.xml" xy="1811,185">
<ComboBox visibleItemCount="10">
<item title="45"/>
<item title="37537"/>
<item title="8974"/>
<item title="879871"/>
</ComboBox>
</component>
<component id="n10_95rc" name="btn_close" src="in3i7cu9" fileName="Main/Component/btn_close.xml" xy="54,6"/>
</displayList>
</component>

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -320,6 +320,16 @@
<image id="yk1o7d41" name="Group 556.png" path="/MyFamily/Image/"/> <image id="yk1o7d41" name="Group 556.png" path="/MyFamily/Image/"/>
<component id="yk1o7d42" name="btn_myFamilylist.xml" path="/MyFamily/Component/"/> <component id="yk1o7d42" name="btn_myFamilylist.xml" path="/MyFamily/Component/"/>
<component id="yk1o7d43" name="com_numberRemark.xml" path="/NumberRemark/" exported="true"/> <component id="yk1o7d43" name="com_numberRemark.xml" path="/NumberRemark/" exported="true"/>
<component id="95rc7d4d" name="com_familyRoomCardRecord.xml" path="/FamilyRoomCardRecord/"/>
<image id="95rc7d4e" name="Group 557.png" path="/Main/Image/" scale="9grid" scale9grid="59,36,39,0"/>
<image id="95rc7d4f" name="Group 365.png" path="/Main/Image/" scale="9grid" scale9grid="33,32,96,95"/>
<component id="95rc7d4g" name="item_record.xml" path="/FamilyRoomCardRecord/Component/"/>
<image id="95rc7d4h" name="Rectangle 186.png" path="/FamilyRoomCardRecord/Image/"/>
<component id="95rc7d4l" name="box_time_item.xml" path="/FamilyRoomCardRecord/Component/"/>
<component id="95rc7d4m" name="box_time_popup.xml" path="/FamilyRoomCardRecord/Component/"/>
<component id="95rc7d4n" name="box_time.xml" path="/FamilyRoomCardRecord/Component/" exported="true"/>
<image id="95rc7d4o" name="Group 558.png" path="/FamilyRoomCardRecord/Image/"/>
<image id="95rc7d4p" name="Rectangle 165(2).png" path="/FamilyRoomCardRecord/Image/" scale="9grid" scale9grid="20,16,40,32"/>
</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: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 KiB

After

Width:  |  Height:  |  Size: 592 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 435 KiB

After

Width:  |  Height:  |  Size: 600 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 600 KiB

After

Width:  |  Height:  |  Size: 203 KiB