familyUI
parent
a222dcec15
commit
91c3404521
|
|
@ -105,6 +105,7 @@ function M:connect(host, groupId, callback)
|
|||
group:clearPlay()
|
||||
local play_list = res.Data.play_list
|
||||
printlog("2222222222222222")
|
||||
pt(res.Data)
|
||||
pt(play_list)
|
||||
for i = 1, #play_list do
|
||||
local m = play_list[i]
|
||||
|
|
|
|||
|
|
@ -1,17 +1,34 @@
|
|||
local FamilyRecord = {}
|
||||
|
||||
function FamilyRecord:TryShow()
|
||||
|
||||
function FamilyRecord:TryShow(r)
|
||||
if not self._view then
|
||||
self:Init()
|
||||
root = r
|
||||
end
|
||||
|
||||
self:Show()
|
||||
end
|
||||
|
||||
function FamilyRecord:Show()
|
||||
|
||||
BaseView.Show(self)
|
||||
end
|
||||
|
||||
|
||||
function FamilyRecord:Init()
|
||||
setmetatable(FamilyRecord, {__index = BaseView})
|
||||
|
||||
self:InitView("ui://Family/com_Record")
|
||||
|
||||
local loader_test = self._view:GetChild("loader_test")
|
||||
|
||||
local btn_close = self._view:GetChild("btn_close")
|
||||
|
||||
btn_close.onClick:Set(function()
|
||||
self:Close()
|
||||
end)
|
||||
|
||||
ImageLoad.Load()
|
||||
--self
|
||||
end
|
||||
end
|
||||
|
||||
return FamilyRecord
|
||||
|
|
@ -11,6 +11,7 @@ local FamilyJoinAndCreate = import(".Family.FamilyJoinAndCreate")
|
|||
local FamilyEventView = import(".Family.FamilyEventView")
|
||||
local FamilyBanDesk = import(".Family.FamilyBanDesk")
|
||||
local FamilyMyFamily = import(".Family.FamilyMyFamily")
|
||||
local FamilyRecord = import(".Family.FamilyRecord")
|
||||
---
|
||||
FamilyView = {}
|
||||
|
||||
|
|
@ -86,6 +87,10 @@ function M:ShareWx()
|
|||
familyInviteFamilyView:Show()
|
||||
end
|
||||
|
||||
function M:FamilyRecord()
|
||||
FamilyRecord:TryShow(self)
|
||||
end
|
||||
|
||||
function M:CreateFamily(frist)
|
||||
self.familyType.selectedIndex = 3
|
||||
if not frist then
|
||||
|
|
@ -472,7 +477,7 @@ local IDENTITY_LIST = {
|
|||
},
|
||||
{
|
||||
name = "游戏记录",
|
||||
Fct = M.ShareWx
|
||||
Fct = M.FamilyRecord
|
||||
},
|
||||
{
|
||||
name = "玩法管理",
|
||||
|
|
@ -514,7 +519,7 @@ local IDENTITY_LIST = {
|
|||
},
|
||||
{
|
||||
name = "游戏记录",
|
||||
Fct = M.ShareWx
|
||||
Fct = M.FamilyRecord
|
||||
},
|
||||
{
|
||||
name = "玩法管理",
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="1038,538">
|
||||
<controller name="isAssistant" pages="0,,1,,2," selected="0"/>
|
||||
<controller name="isAssistant" pages="0,,1,,2," selected="2"/>
|
||||
<displayList>
|
||||
<image id="n0_qz7i" name="n0" src="86ct7cvc" fileName="GamePlay/Image/Rectangle 91.png" xy="0,5" size="1038,528"/>
|
||||
<image id="n29_c8pn" name="n29" src="c8pn7cz0" fileName="GamePlay/Image/Rectangle 275.png" xy="12,17"/>
|
||||
|
|
@ -48,21 +48,17 @@
|
|||
<relation target="n13_qz7i" sidePair="left-right"/>
|
||||
</text>
|
||||
<group id="n15_qz7i" name="poker" xy="42,438" size="660,57"/>
|
||||
<component id="n26_qz7i" name="btn_makeOver" src="qz7i7cwv" fileName="NumberDetail/Component/btn_makeOver.xml" xy="617,282">
|
||||
<component id="n26_qz7i" name="btn_makeOver" src="qz7i7cwv" fileName="NumberDetail/Component/btn_makeOver.xml" xy="717,282" size="294,81">
|
||||
<gearDisplay controller="isAssistant" pages="2"/>
|
||||
</component>
|
||||
<component id="n24_qz7i" name="btn_tick" src="qz7i7cwt" fileName="NumberDetail/Component/btn_tick.xml" xy="617,68">
|
||||
<component id="n24_qz7i" name="btn_tick" src="qz7i7cwt" fileName="NumberDetail/Component/btn_tick.xml" xy="717,68" size="294,81">
|
||||
<gearDisplay controller="isAssistant" pages="1,2"/>
|
||||
</component>
|
||||
<component id="n25_qz7i" name="btn_band" src="qz7i7cwu" fileName="NumberDetail/Component/btn_band.xml" xy="618,394">
|
||||
<component id="n25_qz7i" name="btn_band" src="qz7i7cwu" fileName="NumberDetail/Component/btn_band.xml" xy="717,394" size="294,81">
|
||||
<gearDisplay controller="isAssistant" pages="1,2"/>
|
||||
</component>
|
||||
<component id="n27_qz7i" name="btn_assistant" src="qz7i7cww" fileName="NumberDetail/Component/btn_assistant.xml" xy="618,175">
|
||||
<component id="n27_qz7i" name="btn_assistant" src="qz7i7cww" fileName="NumberDetail/Component/btn_assistant.xml" xy="717,175" size="294,81">
|
||||
<gearDisplay controller="isAssistant" pages="2"/>
|
||||
</component>
|
||||
<component id="n33_c8pn" name="n33" src="qz7i7cwt" fileName="NumberDetail/Component/btn_tick.xml" xy="723,58"/>
|
||||
<component id="n34_c8pn" name="n34" src="qz7i7cww" fileName="NumberDetail/Component/btn_assistant.xml" xy="718,174"/>
|
||||
<component id="n35_c8pn" name="n35" src="qz7i7cwu" fileName="NumberDetail/Component/btn_band.xml" xy="718,406"/>
|
||||
<component id="n36_c8pn" name="n36" src="c8pn7czd" fileName="NumberDetail/Component/btn_allow.xml" xy="718,290"/>
|
||||
</displayList>
|
||||
</component>
|
||||
|
|
@ -2,8 +2,10 @@
|
|||
<component size="166,66" extention="Button">
|
||||
<controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
|
||||
<displayList>
|
||||
<graph id="n3_qz7i" name="n3" xy="0,0" size="166,66" type="rect"/>
|
||||
<text id="n4_qz7i" name="n4" xy="1,11" size="164,44" fontSize="32" bold="true" text="亲友圈转让"/>
|
||||
<image id="n3_qz7i" name="n3" src="o2rw7d3d" fileName="Main/Image/zhuangrang 1.png" xy="0,0" size="166,66">
|
||||
<relation target="" sidePair="width-width,height-height"/>
|
||||
</image>
|
||||
</displayList>
|
||||
<Button downEffect="dark" downEffectValue=".8"/>
|
||||
<Button downEffect="dark" downEffectValue="0.8"/>
|
||||
</component>
|
||||
|
|
@ -52,5 +52,6 @@
|
|||
<item/>
|
||||
</list>
|
||||
<group id="n57_slrk" name="n57" xy="63,258" size="2405,784"/>
|
||||
<component id="n61_o2rw" name="btn_close" src="in3i7cu9" fileName="Main/Component/btn_close.xml" xy="54,6"/>
|
||||
</displayList>
|
||||
</component>
|
||||
|
|
@ -266,6 +266,7 @@
|
|||
<component id="slrk7d3a" name="btn_replay.xml" path="/Record/Component/"/>
|
||||
<component id="slrk7d3b" name="Item_familyRecord.xml" path="/Record/Component/"/>
|
||||
<component id="slrk7d3c" name="Item_familyPlayer.xml" path="/Record/Component/"/>
|
||||
<image id="o2rw7d3d" name="zhuangrang 1.png" path="/Main/Image/"/>
|
||||
</resources>
|
||||
<publish name="Family" path="..\wb_unity_pro\Assets\ART\base\Family\ui" packageCount="2"/>
|
||||
</packageDescription>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 2.5 MiB |
Binary file not shown.
Loading…
Reference in New Issue