From 71fd5b743d0c5e46ba686449e7f855e91a688886 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 24 三月 2023 17:29:57 +0800
Subject: [PATCH] 修改tip最大宽度
---
HDL_ON/UI/UI1-Login/LoginPageBLL.cs | 5 +++++
HDL_ON/UI/UI1-Login/RegisterPageBLL.cs | 3 +++
HDL_ON/DAL/Server/HttpServerRequest.cs | 3 +--
HDL_ON/DAL/Server/IMessageCommon.cs | 1 +
HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs | 3 +++
5 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs
index 96af58c..f87a034 100644
--- a/HDL_ON/DAL/Server/HttpServerRequest.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -546,8 +546,7 @@
{
if (DB_ResidenceData.Instance.CurrentRegion.id != "")
{
- DB_ResidenceData.Instance.CurrentRegion = null;
- Shared.Application.RunOnMainThread(() =>
+ Shared.Application.RunOnMainThread(() =>StringId
{
MainPage.GoUserPage(false);
});
diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs
index c6d29f4..61819a7 100644
--- a/HDL_ON/DAL/Server/IMessageCommon.cs
+++ b/HDL_ON/DAL/Server/IMessageCommon.cs
@@ -272,6 +272,7 @@
{
var tip = new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
Text = mes,
CloseTime = closeTime,
Direction = AMPopTipDirection.None
diff --git a/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs b/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
index 79dced0..ecef487 100644
--- a/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/ForgetPasswordPageBLL.cs
@@ -183,6 +183,7 @@
HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error);
new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
CloseTime = 1,
Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber),
Direction = AMPopTipDirection.None,
@@ -206,6 +207,7 @@
HDLCommon.Current.BottomLineShowType(btnAccountViewBottomLine, BottomLineType.Error);
new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
CloseTime = 1,
Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress),
Direction = AMPopTipDirection.None,
@@ -243,6 +245,7 @@
HDLCommon.Current.BottomLineShowType(btnPasswordViewBottomLine, BottomLineType.Error);
new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
CloseTime = 1,
Direction = AMPopTipDirection.None,
Text = Language.StringByID(StringId.PasswordIsUnqualified)
diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index 8766b65..e2fbe02 100644
--- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
@@ -60,6 +60,7 @@
{
var tip = new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
Text = Language.StringByID(StringId.PlsEntryPhoneNumber),
CloseTime = 1,
Direction = AMPopTipDirection.None
@@ -74,6 +75,7 @@
{
var tip = new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber),
CloseTime = 1,
Direction = AMPopTipDirection.None
@@ -390,6 +392,7 @@
{
var tip = new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber),
CloseTime = 1,
Direction = AMPopTipDirection.None
@@ -413,6 +416,7 @@
{
var tip = new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress),
CloseTime = 1,
Direction = AMPopTipDirection.None
@@ -496,6 +500,7 @@
{
var tip = new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber),
CloseTime = 1,
Direction = AMPopTipDirection.None
diff --git a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
index 4e2b8ce..de7d890 100644
--- a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
@@ -197,6 +197,7 @@
btnGetVerificationCode_Phone.IsSelected = false;
new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
CloseTime = 1,
Text = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber),
Direction = AMPopTipDirection.None,
@@ -225,6 +226,7 @@
btnGetVerificationCode_Mail.IsSelected = false;
new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
CloseTime = 1,
Text = Language.StringByID(StringId.PlsEntryCorrectEmailAddress),
Direction = AMPopTipDirection.None,
@@ -268,6 +270,7 @@
HDLCommon.Current.BottomLineShowType(btnPasswordViewBottomLine, BottomLineType.Error);
new Tip()
{
+ MaxWidth = Application.GetRealWidth(300),
CloseTime = 1,
Direction = AMPopTipDirection.None,
Text = Language.StringByID(StringId.PlsRegisterPassword)
--
Gitblit v1.8.0