diff --git a/lua_probject/base_project/Game/View/FamilyView.lua b/lua_probject/base_project/Game/View/FamilyView.lua index 39a128c1..ad2f506d 100644 --- a/lua_probject/base_project/Game/View/FamilyView.lua +++ b/lua_probject/base_project/Game/View/FamilyView.lua @@ -97,7 +97,7 @@ function M:init(url) for i = 1, #groups do if groups[i].name == input_name.text then fgCtr:FG_RemoveGroup(groups[i].id, function(res) - fgCtr:FG_CreateGroup(input_name.text, 1, 1, function(res) + fgCtr:FG_CreateGroup(input_name.text, 1, 2, function(res) if res.ReturnCode == 0 then self.familyType.selectedIndex = 1 self:ConnetFamily(1, groups, true) @@ -107,7 +107,7 @@ function M:init(url) end end else - fgCtr:FG_CreateGroup(input_name.text, 1, 1, function(res) + fgCtr:FG_CreateGroup(input_name.text, 1, 2, function(res) if res.ReturnCode == 0 then self.familyType.selectedIndex = 1 self:ConnetFamily(1, groups, true) @@ -115,26 +115,6 @@ function M:init(url) end) end end) - - -- fgCtr:FG_CreateGroup(input_name.text, 1, 1, function(res) - -- if res.ReturnCode == 0 then - -- local l_groups = DataManager.groups - -- local tem = res.Data.info - -- local group = GroupData.new() - -- group.id = tem.id - -- group.name = tem.name - -- group.owner = DataManager.SelfUser.account_id - -- group.o_nick = DataManager.SelfUser.nick_name - -- group.o_portrait = DataManager.SelfUser.head_url - -- group.lev = 1 - -- group.pay_type = pay_type - -- group.type = type - -- group.total_member_num = 1 - -- l_groups:add(group) - -- self.familyType.selectedIndex = 0 - -- self:ConnetFamily(1, l_groups, true) - -- end - -- end) end) end diff --git a/wb_unity_pro/Assets/ART/base/main_majiang/ui/main_majiang_fui.bytes b/wb_unity_pro/Assets/ART/base/main_majiang/ui/main_majiang_fui.bytes index ba11b87c..df65805c 100644 Binary files a/wb_unity_pro/Assets/ART/base/main_majiang/ui/main_majiang_fui.bytes and b/wb_unity_pro/Assets/ART/base/main_majiang/ui/main_majiang_fui.bytes differ