hxb
2020-12-17 5eeafe3af80bfd88306bd8ad9e76c8f4b51ca35f
HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -182,15 +182,23 @@
            };
            bodyView.AddChidren(btnIcon_bg);
#if DEBUG
            bool b = false;
            btnIcon.MouseUpEventHandler += (sender, e) =>
            {
#if DEBUG
                etAccount.Text = "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//
                if (b)
                {
                    etAccount.Text = "13375012446";// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568
                }
                else
                {
                    etAccount.Text = "18824864143";//13375012446
                }
                b = !b;
                etPassword.Text = "123456";
                //etPassword.Text = "qqqqqq";
                btnLogin.IsSelected = true;
#endif
            };
#endif
            #region 登录方式选择
            btnPhoneLogin = new Button()
@@ -501,7 +509,7 @@
        /// <param name="frameBack"></param>
        private void AddServiceAgreementControl(FrameLayout frameLayout)
        {
            isAgreePrivacyPolicy = UserInfo.Current.isAgreePrivacyPolicy;
            isAgreePrivacyPolicy = OnAppConfig.Instance.isAgreePrivacyPolicy;
            var frameRow = new FrameLayout()
            {
                Height = Application.GetRealHeight(28),
@@ -533,8 +541,8 @@
            {
                isAgreePrivacyPolicy = !isAgreePrivacyPolicy;
                agreeBtn.IsSelected = isAgreePrivacyPolicy;
                UserInfo.Current.isAgreePrivacyPolicy = isAgreePrivacyPolicy;
                UserInfo.Current.SaveUserInfo();
                OnAppConfig.Instance.isAgreePrivacyPolicy = isAgreePrivacyPolicy;
                OnAppConfig.Instance.SaveConfig();
            };
            agreeBtn.MouseUpEventHandler = eventHandler;