From 6d73bf6e816570291865674bef8bce8972e4de3f Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 01 十二月 2021 16:32:57 +0800 Subject: [PATCH] 2021-12-01-01 --- HDL_ON/Common/Utlis.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Common/Utlis.cs b/HDL_ON/Common/Utlis.cs index 7dfc9fe..13a4af0 100644 --- a/HDL_ON/Common/Utlis.cs +++ b/HDL_ON/Common/Utlis.cs @@ -42,6 +42,7 @@ { Text = mes, CloseTime = closeTime, + MaxWidth = Application.GetRealWidth(300), Direction = AMPopTipDirection.None }; tip.Show(MainPage.BaseView); @@ -60,8 +61,10 @@ public static string PhoneForForeignRegexStr = "^[0-9]*$"; /// <summary> /// 鐢ㄤ簬楠岃瘉閭姝e垯琛ㄨ揪寮� + /// 2021-10-21 11:07:44 鍚屾浜戠姝e垯鏍煎紡 --wxr /// </summary> - public static string EmailRegexStr = "^\\s*([A-Za-z0-9_-]+(\\.\\w+)*@(\\w+\\.)+\\w{2,5})\\s*$"; + public static string EmailRegexStr = "^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*\\.[a-zA-Z0-9]{2,6}$"; + //public static string EmailRegexStr = "^\\s*([A-Za-z0-9_-]+(\\.\\w+)*@(\\w+\\.)+\\w{2,5})\\s*$"; /// <summary> /// 鍒ゆ柇鏄惁鍖呭惈澶у啓瀛楁瘝 -- Gitblit v1.8.0