From f718d23a262a5a8e1241fdeaeb4153399f95e79d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 21 四月 2020 09:19:05 +0800
Subject: [PATCH] 20200421

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

diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs
index af519dc..d50aa67 100644
--- a/HDL_ON/UI/UI1-Login/LoginPage.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -36,15 +36,15 @@
         /// 0:鎵嬫満
         /// 1:閭
         /// </summary>
-        int logintType = 0;
+        int loginType = 0;
         /// <summary>
         /// 鐧诲綍鏂瑰紡
         /// 0:瀵嗙爜
         /// 1:楠岃瘉鐮�
         /// </summary>
         int logintMode = 0;
-        string account;
-        string password;
+        string account = "";
+        string password = "";
         #endregion
 
         #region 鎺т欢鍒楄〃
@@ -222,7 +222,7 @@
                 Text = "+86",
                 TextSize = CSS_FontSize.TextFontSize,
             };
-            if (logintType == 0)
+            if (loginType == 0)
                 accountView.AddChidren(btnGlobalRoaming);
 
             btnDividingLineVertical_AccountView = new Button()
@@ -269,7 +269,7 @@
                 Height = Application.GetMinRealAverage(20),
                 UnSelectedImagePath = "LoginIcon/AccountIcon.png",
             };
-            if (logintType == 1)
+            if (loginType == 1)
             {
                 accountView.AddChidren(btnAccountIcon);
             }
@@ -360,10 +360,10 @@
                 X = Application.GetRealWidth(219),
                 Width = Application.GetRealWidth(100),
                 TextID = StringId.GetVerificationCode,
-                TextColor = CSS_Color.MainColor,
+                SelectedTextColor = CSS_Color.MainColor,
                 TextAlignment = TextAlignment.CenterRight,
                 TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
-                SelectedTextColor = CSS_Color.FirstLevelTitleColor,
+                TextColor = CSS_Color.FirstLevelTitleColor,
             };
             #endregion
 
@@ -426,6 +426,7 @@
 
 
             LoadEventList();
+            account = etAccount.Text.Trim();
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0