From 7d005a7618e3d7a80d8ede3baf6ecc4bf8019cd5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 01 九月 2020 15:22:09 +0800 Subject: [PATCH] 2020-09-01 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index 4d112ea..4691fc3 100644 --- a/HDL_ON/UI/UI1-Login/LoginPage.cs +++ b/HDL_ON/UI/UI1-Login/LoginPage.cs @@ -1,4 +1,5 @@ 锘縰sing System; +using System.Text.RegularExpressions; using System.Threading; using HDL_ON.DAL.Server; using HDL_ON.UI.CSS; @@ -144,18 +145,19 @@ string verAccount = ""; - public void VerfifyLogin(string account ) - { - verAccount = account; - LoadView(account); - } + /// <summary> + /// + /// </summary> + string registerPhone; + string registerEmail; /// <summary> /// 鍔犺浇瑙嗗浘 /// </summary> - public void LoadView(string account = "") + public void LoadView(UserInfo userInfo = null) { Language.CurrentLanguage = "Chinese"; + var btnIcon = new Button() { X = Application.GetRealWidth(28), @@ -256,9 +258,10 @@ }; accountView.AddChidren(etAccount); - if (account != "") + if (userInfo != null) { - etAccount.Text = account; + registerEmail = userInfo.userEmailInfo; + etAccount.Text = registerPhone = userInfo.userMobileInfo; } btnAccountViewBottomLine = new Button() @@ -437,7 +440,7 @@ LoadEventList(); account = etAccount.Text.Trim(); - #if DEBUG + #if DEBUG1211 //鏈湴妯″紡 Button btnLocalMode = new Button() { -- Gitblit v1.8.0