From af4101b1d8461331bc3163b738fc75d4bf67c85c Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 28 七月 2020 17:47:44 +0800 Subject: [PATCH] 2020-07-28-1 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index af519dc..67f4f25 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 鎺т欢鍒楄〃 @@ -221,8 +221,9 @@ TextColor = CSS_Color.FirstLevelTitleColor, Text = "+86", TextSize = CSS_FontSize.TextFontSize, + BackgroundColor = 0xffff0000 }; - if (logintType == 0) + if (loginType == 0) accountView.AddChidren(btnGlobalRoaming); btnDividingLineVertical_AccountView = new Button() @@ -269,7 +270,7 @@ Height = Application.GetMinRealAverage(20), UnSelectedImagePath = "LoginIcon/AccountIcon.png", }; - if (logintType == 1) + if (loginType == 1) { accountView.AddChidren(btnAccountIcon); } @@ -360,10 +361,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 +427,7 @@ LoadEventList(); + account = etAccount.Text.Trim(); } } } \ No newline at end of file -- Gitblit v1.8.0