陈嘉乐
2020-06-16 7167334c0e89dd84827d59e726123d14776e3a09
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()
@@ -242,9 +242,8 @@
                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,
                BackgroundColor = 0xff000fff
            };
            accountView.AddChidren(etAccount);
@@ -270,7 +269,7 @@
                Height = Application.GetMinRealAverage(20),
                UnSelectedImagePath = "LoginIcon/AccountIcon.png",
            };
            if (logintType == 1)
            if (loginType == 1)
            {
                accountView.AddChidren(btnAccountIcon);
            }
@@ -361,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
@@ -426,6 +426,7 @@
            LoadEventList();
            account = etAccount.Text.Trim();
        }
    }
}