wxr
2020-07-01 53189866ba4012fec0b40990fd2281b836fa2668
HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -142,6 +142,14 @@
        HttpServerRequest pm;
        #endregion
        string verAccount = "";
        public void VerfifyLogin(string account )
        {
            verAccount = account;
            LoadView(account);
        }
        /// <summary>
        /// 加载视图
        /// </summary>
@@ -379,7 +387,6 @@
            #endregion
            #region 注册与快捷登录
            btnRegister = new Button()
            {
@@ -425,9 +432,31 @@
            };
            bodyView.AddChidren(btnLogin);
            LoadEventList();
            account = etAccount.Text.Trim();
            #if DEBUG
            //本地模式
            Button btnLocalMode = new Button()
            {
                Y = Application.GetRealHeight(600),
                Height = Application.GetRealHeight(67),
                Text = "Local Mode",
                TextAlignment = TextAlignment.Center,
                BackgroundColor  = CSS_Color.MainColor,
                TextColor = CSS_Color.TextualColor,
            };
            bodyView.AddChidren(btnLocalMode);
            btnLocalMode.MouseUpEventHandler = (sender, e) =>
            {
                MainPage.LocalMode = true;
                MainPage.LoginUser = new UserInfo();
                MainPage.GoUserPage();
            };
            #endif
        }
    }
}