| | |
| | | public void LoadView(UserInfo userInfo = null) |
| | | { |
| | | #if __Android__ |
| | | OnAppConfig.Instance.isAgreePrivacyPolicy = false; |
| | | OnAppConfig.Instance.isAgreePrivacyPolicy = true; |
| | | #endif |
| | | var btnIcon = new Button() |
| | | { |
| | |
| | | btnIcon.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | |
| | | |
| | | //ESOnVideo.Current.Test(false); |
| | | |
| | | //return; |
| | | if (b) |
| | | { |
| | | //etAccount.Text = "tf@smarttech.com.ua";//国外账号,有住宅,登录无法显示 |
| | | //etAccount.Text = "13375012446";//测试服务器 |
| | | //etAccount.Text = "1033326940@qq.com"; |
| | | //etAccount.Text = "18022428438";//wjc |
| | | //etAccount.Text = "13602944661";//kx |
| | | etAccount.Text = "13226233133";//豆豆 |
| | | //etAccount.Text = "13226233133";//豆豆 |
| | | etAccount.Text = "18316672920"; |
| | | //etAccount.Text = "18316120654";//tujie |
| | | etAccount.Text = "15626203746"; |
| | | //etAccount.Text = "13450425807";//黄竹溪 knx项目 |
| | | etAccount.Text = "18244942707"; |
| | | } |
| | | else |
| | | { |
| | |
| | | //etAccount.Text = "13682244600";//波哥 |
| | | etAccount.Text = "13168123446";//昆明金茂项目,新风问题 |
| | | //etAccount.Text = "2949126848@qq.com";//陈琳 |
| | | //etAccount.Text = "13415629083"; |
| | | etAccount.Text = "15014291819 "; |
| | | //etAccount.Text = "13676202754";//巴林服务器 |
| | | //etAccount.Text = "13602944661";//kx |
| | | //etAccount.Text = "18666455392";//13375012446//13602944661//tzy 18778381374 |
| | |
| | | //etAccount.Text = "18598273624"; |
| | | //etAccount.Text = "tf@smarttech.com.ua"; |
| | | //etAccount.Text = "18814122445";//董泽斌 天河办公室 |
| | | etAccount.Text = "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568 |
| | | //etAccount.Text = "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568 |
| | | //etAccount.Text = "18402017839";//wjc |
| | | //etAccount.Text = "13430286286";//cwc |
| | | //etAccount.Text = "13709260805"; |
| | |
| | | //etAccount.Text = "13375012441"; |
| | | //etAccount.Text = "info@smartlife-ks.com"; |
| | | //etAccount.Text = "551775569@qq.com";//wcf |
| | | //etAccount.Text = "15626203746"; |
| | | //etAccount.Text = "zhangquansongjava@163.com"; |
| | | //etAccount.Text = "s.savinov@hdlautomation.ru"; |
| | | } |
| | | b = !b; |
| | | etPassword.Text = "123456"; |
| | | if(etAccount.Text == "fslcjm5@163.com") |
| | | if(etAccount.Text == "15014291819 ") |
| | | { |
| | | etPassword.Text = "a123456"; |
| | | etPassword.Text = "hdl123456"; |
| | | } |
| | | //etPassword.Text = "Hdl85521566"; |
| | | btnLogin.IsSelected = true; |
| | | }; |
| | | #endif |
| | | |
| | | #region 登录方式选择 |
| | | #region 登录方式选择 |
| | | btnPhoneLogin = new Button() |
| | | { |
| | | X = Application.GetRealWidth(28), |
| | |
| | | |
| | | #region 隐私政策 |
| | | AddServiceAgreementControl(bodyView); |
| | | #endregion |
| | | #endregion |
| | | |
| | | } |
| | | |
| | | #region ■ 服务协议___________________________ |
| | | #region ■ 服务协议___________________________ |
| | | bool isAgreePrivacyPolicy = false; |
| | | /// <summary> |
| | | /// 添加服务协议控件 |
| | |
| | | /// <param name="frameBack"></param> |
| | | private void AddServiceAgreementControl(FrameLayout frameLayout) |
| | | { |
| | | isAgreePrivacyPolicy = OnAppConfig.Instance.isAgreePrivacyPolicy; |
| | | isAgreePrivacyPolicy = false; |
| | | OnAppConfig.Instance.isAgreePrivacyPolicy = false; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var frameRow = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(28), |
| | |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "Public/ChooseIcon.png", |
| | | SelectedImagePath = "Public/ChooseOnIcon.png", |
| | | IsSelected = isAgreePrivacyPolicy, |
| | | IsSelected = OnAppConfig.Instance.isAgreePrivacyPolicy, |
| | | Gravity = Gravity.Center |
| | | }; |
| | | agreeView.AddChidren(agreeBtn); |
| | |
| | | { |
| | | OpenWebViewPage(true); |
| | | }; |
| | | |
| | | #if __ANDROID__ |
| | | //if(OnAppConfig.Instance.FirstRunApp || !OnAppConfig.Instance.isAgreePrivacyPolicy) |
| | | //{ |
| | | // HDL_ON_Android.HDLONUtils.StartSplashActivity(); |
| | | //} |
| | | #endif |
| | | } |
| | | |
| | | /// <summary> |