From 488efb508eb0648773fe7b68e810e04bcd7ca075 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 11 十二月 2020 15:58:15 +0800
Subject: [PATCH] 20201211

---
 HDL_ON/UI/UI1-Login/LoginPage.cs |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs
index 9dbe678..d1d3371 100644
--- a/HDL_ON/UI/UI1-Login/LoginPage.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -182,14 +182,23 @@
             };
             bodyView.AddChidren(btnIcon_bg);
 
+#if DEBUG
+            bool b = false;
             btnIcon.MouseUpEventHandler += (sender, e) =>
             {
-#if DEBUG
-                etAccount.Text = "464027401@qq.com"; //"2791308028@qq.com";// 
-                etPassword.Text = "qqqqqq";
+                if (b)
+                {
+                    etAccount.Text = "13375012446";// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568 
+                }
+                else
+                {
+                    etAccount.Text = "18824864143";
+                }
+                b = !b;
+                etPassword.Text = "123456";
                 btnLogin.IsSelected = true;
-#endif
             };
+#endif
 
             #region 鐧诲綍鏂瑰紡閫夋嫨
             btnPhoneLogin = new Button()
@@ -448,8 +457,8 @@
                 Gravity = Gravity.CenterHorizontal,
                 Y = Application.GetRealHeight(403),
                 Width = Application.GetRealWidth(220),
-                Height = Application.GetRealHeight(44),
-                Radius = (uint)Application.GetRealHeight(22),
+                Height = Application.GetRealWidth(44),
+                Radius = (uint)Application.GetRealWidth(22),
                 SelectedBackgroundColor = CSS_Color.MainColor,
                 BackgroundColor = CSS_Color.PromptingColor1,
                 TextID = StringId.Login,
@@ -611,8 +620,8 @@
         /// <param name="isOpenPrivacyPolicy">鏄惁闅愮鏀跨瓥</param>
         private void OpenWebViewPage(bool isOpenPrivacyPolicy)
         {
-            string url = isAgreePrivacyPolicy ? Constant.URL_PrivacyPolicy : Constant.URL_UserAgreement;
-            string titleStr = isAgreePrivacyPolicy ? Language.StringByID(StringId.PrivacyPolicy) : Language.StringByID(StringId.UserAgreement);
+            string url = isOpenPrivacyPolicy ? Constant.URL_PRIVACYPOLICY : Constant.URL_USERAGREEMENT;
+            string titleStr = isOpenPrivacyPolicy ? Language.StringByID(StringId.PrivacyPolicy) : Language.StringByID(StringId.UserAgreement);
             new WebViewDialog().LoadPage(titleStr, url);
         }
 

--
Gitblit v1.8.0