From 0138387222867fb6259599959772f38f69863404 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 23 十一月 2020 20:05:38 +0800 Subject: [PATCH] 2020-11-23 1.检测更新Dialog实现。2.新绑定手机号增加国家区域选择UI --- HDL_ON/UI/UI1-Login/RegisterPage.cs | 25 ++++++------------------- 1 files changed, 6 insertions(+), 19 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/RegisterPage.cs b/HDL_ON/UI/UI1-Login/RegisterPage.cs index 25dd3d1..205c4f9 100644 --- a/HDL_ON/UI/UI1-Login/RegisterPage.cs +++ b/HDL_ON/UI/UI1-Login/RegisterPage.cs @@ -727,28 +727,15 @@ var responsePack = pm.GetHomePager(); if (responsePack == StateCode.SUCCESS) { + //2020-11-13 寰呯‘璁わ紝娌℃湁浣忓畢锛屼笉绠楃櫥褰曟垚鍔� + if (UserInfo.Current.regionList != null && UserInfo.Current.regionList.Count > 0) + { + result = true; + } } else { - var tipStr = "Server erorr"; - switch (responsePack) - { - case "NoLogin": - tipStr = Language.StringByID(StringId.InvalidLoginCertificate); - break; - } - Application.RunOnMainThread(() => - { - //鎻愮ず鍘熷洜 - var tip = new Tip() - { - Text = tipStr, - CloseTime = 1, - Direction = AMPopTipDirection.None - }; - tip.Show(bodyView); - }); - + IMessageCommon.Current.ShowErrorInfoAlter(responsePack); } return result; } -- Gitblit v1.8.0