wxr
2020-06-16 f6fd8acd7c53c44187e70b4709443318a628f4b5
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()
@@ -239,11 +240,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 +270,7 @@
                Height = Application.GetMinRealAverage(20),
                UnSelectedImagePath = "LoginIcon/AccountIcon.png",
            };
            if (logintType == 1)
            if (loginType == 1)
            {
                accountView.AddChidren(btnAccountIcon);
            }
@@ -311,12 +312,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 +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,
                TextColor = CSS_Color.FirstLevelTitleColor,
            };
            #endregion
@@ -425,6 +427,7 @@
            LoadEventList();
            account = etAccount.Text.Trim();
        }
    }
}