JLChen
2021-02-05 427a6e93b8946b9d91727166a352b2ee2ef75d19
HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -165,8 +165,6 @@
        /// </summary>
        public void LoadView(UserInfo userInfo = null)
        {
            Language.CurrentLanguage = "Chinese";
            var btnIcon = new Button()
            {
                X = Application.GetRealWidth(28),
@@ -191,13 +189,14 @@
            bool b = false;
            btnIcon.MouseUpEventHandler += (sender, e) =>
            {
                //return;
                if (b)
                {
                    etAccount.Text = "13697499568";// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568
                    etAccount.Text = "13415629083";// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568
                }
                else
                {
                    etAccount.Text = "13375012446";//13375012446
                    etAccount.Text = "13226233133";//13375012446//13602944661//
                }
                b = !b;
                etPassword.Text = "123456";
@@ -210,7 +209,7 @@
            {
                X = Application.GetRealWidth(28),
                Y = Application.GetRealHeight(177),
                Width = Application.GetRealWidth(120),
                Width = Application.GetRealWidth(150),
                Height = Application.GetRealHeight(40),
                TextID = StringId.LoginByPhone,
                TextColor = CSS_Color.MainColor,
@@ -221,9 +220,9 @@
            btnEmailLogin = new Button()
            {
                X = btnPhoneLogin.Right + Application.GetRealWidth(20),
                X = btnPhoneLogin.Right ,//+ Application.GetRealWidth(20),
                Y = Application.GetRealHeight(177),
                Width = Application.GetRealWidth(100),
                Width = Application.GetRealWidth(140),
                Height = Application.GetRealHeight(40),
                TextID = StringId.LoginByEmail,
                TextColor = CSS_Color.PromptingColor1,
@@ -473,7 +472,7 @@
            };
            bodyView.AddChidren(btnLogin);
            LoadEventList();
           LoadEventList();
            account = etAccount.Text.Trim();
#if DEBUG1211
@@ -527,9 +526,13 @@
            {
                Height = Application.GetRealHeight(28),
                Width = Application.GetRealWidth(28),
                X = Application.GetRealWidth(82),
                X = Application.GetRealWidth(22),
            };
            frameRow.AddChidren(agreeView);
            if(Language.CurrentLanguage == "Chinese")
            {
                agreeView.X = Application.GetRealWidth(82);
            }
            //同意图标按钮
            var agreeBtn = new Button()
            {