同步加入圈子和创建圈子

master
罗家炜 2025-05-22 11:34:59 +08:00
parent 0b79079926
commit d8504b8a13
1 changed files with 10 additions and 5 deletions

View File

@ -43,7 +43,7 @@ function M:init(url)
self.familyType.selectedIndex = 1
self:ConnetFamily(1, groups, true)
else
self:JoinFamily()
self:JoinFamily(true)
end
end)
-------绑定成员战绩按钮
@ -72,17 +72,22 @@ function M:ShareWx()
familyInviteFamilyView:Show()
end
function M:CreateFamily()
function M:CreateFamily(frist)
self.familyType.selectedIndex = 3
if not frist then
self.lastType = 1
end
self._view:GetController('createOrJoin').selectedIndex = 0
self._child_familyJoinAndCreate = FamilyJoinAndCreate.new(self)
end
function M:JoinFamily()
function M:JoinFamily(frist)
self.familyType.selectedIndex = 3
if not frist then
self.lastType = 1
end
self._view:GetController('createOrJoin').selectedIndex = 1
self._child_familyJoinAndCreate = FamilyJoinAndCreate.new(self)
end
function M:PlayEdit()