同步2
parent
59c3cb9659
commit
3fc753c4fd
|
|
@ -178,6 +178,8 @@ function M:UpdateFamilyRoom(fgCtr, id)
|
|||
}
|
||||
end
|
||||
local roomList = self._group.rooms
|
||||
print("lingmengroomList")
|
||||
pt(roomList)
|
||||
local roomCtr = ControllerManager.GetController(RoomController)
|
||||
list_room.itemRenderer = function(index, obj)
|
||||
if index < #roomList then
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
local LobbyAuthenticateView = {}
|
||||
|
||||
local M = LobbyAuthenticateView
|
||||
setmetatable(M, {__index = BaseWindow})
|
||||
setmetatable(M, { __index = BaseWindow })
|
||||
|
||||
function LobbyAuthenticateView.new()
|
||||
local self = setmetatable({}, {__index = M})
|
||||
local self = setmetatable({}, { __index = M })
|
||||
self.class = 'AuthenticateView'
|
||||
self._close_destroy = true
|
||||
--假效果
|
||||
|
|
@ -48,27 +48,22 @@ function M:init(url)
|
|||
|
||||
local btn_send = view:GetChild('btn_send')
|
||||
btn_send.onClick:Set(function()
|
||||
if false then
|
||||
--发送身份证
|
||||
local _data = {}
|
||||
_data.type = 6
|
||||
_data.real_info = {}
|
||||
_data.real_info.name = input_name.text
|
||||
_data.real_info.ID = input_idInfo.text
|
||||
local loddyctr = ControllerManager.GetController(LoddyController)
|
||||
loddyctr:UpdateUserInfo(_data, function(res)
|
||||
if res.ReturnCode ~= 0 then
|
||||
ViewUtil.ErrorTip(res.ReturnCode, "实名认证失败")
|
||||
else
|
||||
--假发送
|
||||
ViewUtil.ShowModalWait(self._root_view,"正在验证身份证...")
|
||||
coroutine.start(function()
|
||||
coroutine.wait(3)
|
||||
ViewUtil.CloseModalWait()
|
||||
self.authenticate = 1
|
||||
self.authenticateName=input_name.text
|
||||
self.authenticateId=input_idInfo.text
|
||||
input_name.grayed = true
|
||||
input_name.touchable=false
|
||||
input_idInfo.grayed = true
|
||||
input_idInfo.touchable=false
|
||||
ViewUtil.ShowBannerOnScreenCenter("验证身份证成功")
|
||||
end)
|
||||
pt(res)
|
||||
ViewUtil.ShowOneChooose("实名认证成功")
|
||||
self:Destroy()
|
||||
end
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
|
||||
return M
|
||||
|
|
|
|||
|
|
@ -73,8 +73,7 @@ function M:init(url)
|
|||
if cnt > 0 then
|
||||
ViewUtil.ShowOneChooose(
|
||||
string.format("确定要修改%s%s%s吗?", cnt % 2 == 1 and "昵称" or "", cnt == 3 and "、" or "",
|
||||
cnt >= 2 and "性别" or ""),
|
||||
1, function()
|
||||
cnt >= 2 and "性别" or ""), 1, function()
|
||||
type.selectedIndex = 0
|
||||
end)
|
||||
else
|
||||
|
|
|
|||
|
|
@ -19,7 +19,14 @@ function M:init(url)
|
|||
|
||||
local view = self._view
|
||||
|
||||
local LbC = ControllerManager.GetCurrenController()
|
||||
local loddyCtr1 = ControllerManager.GetController(LoddyController)
|
||||
loddyCtr1:RequestRecordList(function(res)
|
||||
if res ~= 0 then
|
||||
ViewUtil.ErrorTip(res.ReturnCode, "获取战绩失败")
|
||||
else
|
||||
pt(loddyCtr1.recordList)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="1500,876" bgColor="#f8f4ea">
|
||||
<controller name="type" pages="0,show,1,change" selected="1"/>
|
||||
<controller name="type" pages="0,show,1,change" selected="0"/>
|
||||
<controller name="group_sex" pages="0,women,1,men" selected="0"/>
|
||||
<controller name="bind" pages="0,no,1,yes" selected="0"/>
|
||||
<displayList>
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<graph id="n10_in3i" name="n10" xy="171,237" size="438,438" group="n14_in3i" type="rect" lineColor="#ff804b2e" fillColor="#ffe0a94f" corner="42"/>
|
||||
<graph id="n12_in3i" name="n12" xy="189,255" size="402,402" group="n14_in3i" type="rect" lineColor="#ff804b2e" fillColor="#00ffffff" corner="42"/>
|
||||
<component id="n51_in3i" name="btn_PlayerHead" src="in3i7ctv" fileName="component/PlayerInfo/Component/btn_PlayerHead.xml" xy="189,255" group="n14_in3i"/>
|
||||
<component id="n15_in3i" name="btn_headChange" src="in3i7ctq" fileName="component/PlayerInfo/Component/btn_headChange.xml" xy="489,558" group="n14_in3i">
|
||||
<component id="n15_in3i" name="btn_headChange" src="in3i7ctq" fileName="component/PlayerInfo/Component/btn_headChange.xml" xy="489,558" group="n14_in3i" touchable="false">
|
||||
<gearDisplay controller="type" pages="1"/>
|
||||
<gearLook controller="type" pages="0,1" values="1,0,0,0|1,0,0,1"/>
|
||||
</component>
|
||||
|
|
@ -22,10 +22,8 @@
|
|||
<text id="n18_in3i" name="n18" xy="750,322" size="130,64" group="n27_in3i" font="SimHei" fontSize="48" color="#61270f" letterSpacing="3" text="性别:"/>
|
||||
<text id="n19_in3i" name="sex" xy="889,322" size="52,64" group="n27_in3i" font="SimHei" fontSize="48" color="#61270f" letterSpacing="3" text="男"/>
|
||||
<text id="n24_in3i" name="n24" xy="750,592" size="130,64" group="n27_in3i" font="SimHei" fontSize="48" color="#61270f" letterSpacing="3" text="手机:"/>
|
||||
<text id="n25_in3i" name="phone" xy="896,596" size="263,56" group="n27_in3i" font="SimHei" fontSize="42" color="#61270f" align="center" letterSpacing="3" text="12345678945"/>
|
||||
<component id="n26_in3i" name="btn_changeInfo" src="in3i7ctf" fileName="component/PlayerInfo/Component/btn_changeInfo.xml" xy="750,687" group="n27_in3i">
|
||||
<Button controller="type" page="1"/>
|
||||
</component>
|
||||
<text id="n25_in3i" name="phone" xy="896,596" size="265,56" group="n27_in3i" font="SimHei" fontSize="42" color="#61270f" align="center" letterSpacing="3" text="12345678945"/>
|
||||
<component id="n26_in3i" name="btn_changeInfo" src="in3i7ctf" fileName="component/PlayerInfo/Component/btn_changeInfo.xml" xy="750,687" group="n27_in3i"/>
|
||||
<text id="n20_in3i" name="n20" xy="750,412" size="130,64" group="n27_in3i" font="SimHei" fontSize="48" color="#61270f" letterSpacing="3" text="编号:"/>
|
||||
<text id="n21_in3i" name="id" xy="891,412" size="163,64" group="n27_in3i" font="SimHei" fontSize="48" color="#61270f" align="center" letterSpacing="3" text="123123"/>
|
||||
<text id="n22_in3i" name="n22" xy="750,502" size="130,64" group="n27_in3i" font="SimHei" fontSize="48" color="#61270f" letterSpacing="3" text="房卡:"/>
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue