From c209a50cabf524c146fb2d02ce09cfc46c7c2f70 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 26 五月 2020 13:49:02 +0800
Subject: [PATCH] 2020-05-26-1
---
HDL_ON/UI/UI1-Login/LoginPage.cs | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs
index 4b02192..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()
@@ -239,11 +239,11 @@
{
X = Application.GetRealWidth(78),
Width = Application.GetRealWidth(319 - 78),
- TextAlignment = TextAlignment.CenterLeft,
TextColor = CSS_Color.FirstLevelTitleColor,
TextSize = CSS_FontSize.TextFontSize,
PlaceholderTextColor = CSS_Color.PromptingColor1,
- PlaceholderText = Language.StringByID(StringId.PlsEntryAccount),
+ PlaceholderText = Language.StringByID(StringId.PlsEntryPhoneNumber),
+ TextAlignment = TextAlignment.CenterLeft,
};
accountView.AddChidren(etAccount);
@@ -269,7 +269,7 @@
Height = Application.GetMinRealAverage(20),
UnSelectedImagePath = "LoginIcon/AccountIcon.png",
};
- if (logintType == 1)
+ if (loginType == 1)
{
accountView.AddChidren(btnAccountIcon);
}
@@ -311,12 +311,12 @@
{
X = Application.GetRealWidth(78),
Width = Application.GetRealWidth(61 + 84),
- TextAlignment = TextAlignment.CenterLeft,
TextColor = CSS_Color.FirstLevelTitleColor,
TextSize = CSS_FontSize.TextFontSize,
PlaceholderTextColor = CSS_Color.PromptingColor1,
PlaceholderText = Language.StringByID(StringId.PlsEntryPassword),
SecureTextEntry = true,
+ TextAlignment = TextAlignment.CenterLeft,
};
passwordView.AddChidren(etPassword);
@@ -360,9 +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,
+ TextColor = CSS_Color.FirstLevelTitleColor,
};
#endregion
@@ -425,6 +426,7 @@
LoadEventList();
+ account = etAccount.Text.Trim();
}
}
}
\ No newline at end of file
--
Gitblit v1.8.0