From 2bbb1b72dbce5cf9bd4ac4a5b7488e3f18eaf929 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期六, 19 十二月 2020 18:37:38 +0800
Subject: [PATCH] 2020-12-19 1.IOS和Android网络切换,远程和本地控制切换优化。  2.IOS和Android后台回到前台,搜索网关,远程和本地控制切换优化.

---
 HDL_ON/UI/UI0-Public/PublicAssmebly.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI0-Public/PublicAssmebly.cs b/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
index 248a2fd..23fc8b2 100644
--- a/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
+++ b/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
@@ -125,6 +125,21 @@
             };
             editView.AddChidren(etParater);
 
+            Button btnClear = new Button()
+            {
+                X = Application.GetRealWidth(218-25),
+                Gravity = Gravity.CenterVertical,
+                Width = Application.GetRealWidth(24),
+                Height = Application.GetRealWidth(24),
+                UnSelectedImagePath = "Public/ClearIcon.png",
+            };
+            editView.AddChidren(btnClear);
+
+            btnClear.MouseUpEventHandler = (sender, e) =>
+            {
+                etParater.Text = "";
+            };
+
             etParater.TextChangeEventHandler = (sender, e) =>
             {
                 if (etParater.Text.Length > 20)
@@ -604,7 +619,7 @@
                 TextAlignment = TextAlignment.CenterRight,
                 TextColor = CSS_Color.MainColor,
                 TextSize = CSS_FontSize.TextFontSize,
-                TextID = StringId.Complete,
+                TextID = StringId.Confirm,
             };
             topView.AddChidren(btnConfrim);
 

--
Gitblit v1.8.0