lss
2020-06-12 9c16d3614d9b88c637f967518a329f239fcd3aaf
ZigbeeApp/Shared/Phone/UserCenter/OtherParty/OtherPartyAccountMenuForm.cs
@@ -91,13 +91,13 @@
            var btnChat = rowChat.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uWebChat), 400, 60);
            btnChat.Y = Application.GetRealHeight(12) + rowChat.chidrenYaxis;
            btnChat.TextSize = 15;
            rowChat.AddChidren(btnChat, ChidrenBindMode.BindEventOnly);
            rowChat.AddChidren(btnChat, ChidrenBindMode.BindEvent);
            //未授权  OR  名字
            var btnTip1 = rowChat.AddLeftCaption(bindNameText == null ? string.Empty : bindNameText, 400, 50);
            btnTip1.Y = Application.GetRealHeight(72) + rowChat.chidrenYaxis;
            btnTip1.TextSize = 12;
            btnTip1.TextColor = UserCenterColor.Current.TextGrayColor1;
            rowChat.AddChidren(btnTip1, ChidrenBindMode.BindEventOnly);
            rowChat.AddChidren(btnTip1, ChidrenBindMode.BindEvent);
            //向右图标
            rowChat.AddRightArrow();
            //底线
@@ -141,13 +141,13 @@
            //var btnQQ = rowQQ.AddLeftCaption("QQ", 400, 60);
            //btnQQ.Y = Application.GetRealHeight(12) + rowQQ.chidrenYaxis;
            //btnQQ.TextSize = 15;
            //rowQQ.AddChidren(btnQQ, ChidrenBindMode.BindEventOnly);
            //rowQQ.AddChidren(btnQQ, ChidrenBindMode.BindEvent);
            ////未授权  OR  名字
            //var btnTip2 = rowQQ.AddLeftCaption(bindNameText, 400, 49);
            //btnTip2.Y = Application.GetRealHeight(72) + rowQQ.chidrenYaxis;
            //btnTip2.TextSize = 12;
            //btnTip2.TextColor = UserCenterColor.Current.TextGrayColor1;
            //rowQQ.AddChidren(btnTip2, ChidrenBindMode.BindEventOnly);
            //rowQQ.AddChidren(btnTip2, ChidrenBindMode.BindEvent);
            ////向右图标
            //rowQQ.AddRightArrow();
            ////请绑定  OR  解除绑定
@@ -203,6 +203,11 @@
#if Android
            com.hdl.home.Application.WXLogin();
            com.hdl.home.WXEntryActivity.RespAction = (authStr) =>
#endif
#if iOS
            Home.IOS.AppDelegate.WXLogin();
            Home.IOS.AppDelegate.RespAction = (authStr) =>
#endif
            {
                if (string.IsNullOrEmpty(authStr) == true)
                {
@@ -212,7 +217,6 @@
                //绑定微信
                this.BindWechat(authRes.access_token, authRes.refresh_token, authRes.openid);
            };
#endif
        }
        /// <summary>
@@ -246,10 +250,10 @@
            result = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/BindAuthUserToAccount", false, pra2);
            if (result == true)
            {
                //绑定微信成功!
                string msg = Language.StringByID(R.MyInternationalizationString.uBindSomethingSuccess);
                msg = msg.Replace("{0}", Language.StringByID(R.MyInternationalizationString.uWebChat));
                this.ShowMassage(ShowMsgType.Tip, msg);
                //绑定成功!下次你可以用微信{0}账号快速登录啦
                string msg = Language.StringByID(R.MyInternationalizationString.uBindWebchatSuccessMsg);
                msg = msg.Replace("{0}", "\r\n");
                this.ShowMassage(ShowMsgType.Normal, msg, null, Language.StringByID(R.MyInternationalizationString.uWell));
                //重新刷新界面
                this.InitMiddleData();
            }