From 09dfbfd9b77ec887c17b10f15799a1d3f56e4e17 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 15 十二月 2020 12:04:42 +0800
Subject: [PATCH] 2020-12-15-1
---
HDL_ON/UI/UI1-Login/LoginPage.cs | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs
index 4051d39..182ca6a 100644
--- a/HDL_ON/UI/UI1-Login/LoginPage.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -182,14 +182,23 @@
};
bodyView.AddChidren(btnIcon_bg);
+#if DEBUG
+ bool b = false;
btnIcon.MouseUpEventHandler += (sender, e) =>
{
-#if DEBUG
- etAccount.Text = "464027401@qq.com"; //"2791308028@qq.com";//
- etPassword.Text = "qqqqqq";
+ if (b)
+ {
+ etAccount.Text = "13375012446";// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568
+ }
+ else
+ {
+ etAccount.Text = "18824864143";//13375012446
+ }
+ b = !b;
+ etPassword.Text = "123456";
btnLogin.IsSelected = true;
-#endif
};
+#endif
#region 鐧诲綍鏂瑰紡閫夋嫨
btnPhoneLogin = new Button()
@@ -500,7 +509,7 @@
/// <param name="frameBack"></param>
private void AddServiceAgreementControl(FrameLayout frameLayout)
{
- isAgreePrivacyPolicy = UserInfo.Current.isAgreePrivacyPolicy;
+ isAgreePrivacyPolicy = OnAppConfig.Instance.isAgreePrivacyPolicy;
var frameRow = new FrameLayout()
{
Height = Application.GetRealHeight(28),
@@ -532,8 +541,8 @@
{
isAgreePrivacyPolicy = !isAgreePrivacyPolicy;
agreeBtn.IsSelected = isAgreePrivacyPolicy;
- UserInfo.Current.isAgreePrivacyPolicy = isAgreePrivacyPolicy;
- UserInfo.Current.SaveUserInfo();
+ OnAppConfig.Instance.isAgreePrivacyPolicy = isAgreePrivacyPolicy;
+ OnAppConfig.Instance.SaveConfig();
};
agreeBtn.MouseUpEventHandler = eventHandler;
--
Gitblit v1.8.0