From 9c8baf7e7e1169ebdf7d5f7ed33ab29dd5fcbf18 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 14 十二月 2020 17:45:17 +0800
Subject: [PATCH] 2020-12-14 1.解锁设置问题修复,增加面容ID验证。2.错误码对接增加。

---
 HDL_ON/UI/UI0-Public/PublicAssmebly.cs |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/UI/UI0-Public/PublicAssmebly.cs b/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
index 70ba919..d80eb59 100644
--- a/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
+++ b/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
@@ -188,17 +188,10 @@
 
             dialog.Show();
 
-            //btnCancel.MouseDownEventHandler += (sender, e) => {
-            //    btnCancel.IsSelected = true;
-            //};
             btnCancel.MouseUpEventHandler += (sender, e) =>
             {
-                //btnCancel.IsSelected = false;
                 dialog.Close();
             };
-            //btnConfirm.MouseDownEventHandler += (sender, e) => {
-            //    btnConfirm.IsSelected = true;
-            //};
             EditParaterEvent(btnConfirm, errorId_IsNullOrEmpty, errorId_ContainsPar, baseList, etParater, callBackAction,
                 contentView, btnLine, btnCancel, editView, dialog, titleId);
         }
@@ -209,7 +202,7 @@
         /// <param name="titleId"></param>
         /// <param name="msgId"></param>
         /// <param name="callBackAction"></param>
-        public void TipMsg(int titleId, int msgId, Action callBackAction)
+        public void TipOptionMsg(int titleId, int msgId, Action callBackAction)
         {
             Dialog dialog = new Dialog()
             {
@@ -250,6 +243,7 @@
                 TextColor = CSS_Color.TextualColor,
                 TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
                 TextID = msgId,
+                IsMoreLines = true,
             };
             contentView.AddChidren(btnMsg);
 
@@ -392,7 +386,7 @@
         /// </summary>
         /// <param name="titleId"></param>
         /// <param name="msgId"></param>
-        public void TipMsg(int titleId, int msgId)
+        public void TipMsg(int titleId, int msgId,Action action = null)
         {
             Dialog dialog = new Dialog()
             {
@@ -433,6 +427,7 @@
                 TextColor = CSS_Color.TextualColor,
                 TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
                 TextID = msgId,
+                IsMoreLines = true,
             };
             contentView.AddChidren(btnMsg);
 
@@ -466,6 +461,7 @@
             btnConfirm.MouseUpEventHandler += (sender, e) =>
             {
                 btnConfirm.IsSelected = false;
+                action?.Invoke();
                 dialog.Close();
             };
 

--
Gitblit v1.8.0