From 42fad29b1e280b512452f5552d1e9ce98474252e Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 17 五月 2021 09:40:14 +0800
Subject: [PATCH] 2021-05-17 1.在阿廖分支基础上增加iOS乐橙可视对讲功能,目前呼叫还有一点问题,偶尔会闪退,目前还没定位到原因

---
 HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs b/HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs
new file mode 100644
index 0000000..c0ac00b
--- /dev/null
+++ b/HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs
@@ -0,0 +1,59 @@
+锘縰sing System;
+using HDL_ON.UI.CSS;
+using Shared;
+
+namespace HDL_ON.UI
+{
+    /// <summary>
+    /// 閫氱敤鎻愮ずView--鍐呭涓虹┖
+    /// 绌虹┖濡備篃
+    /// </summary>
+    public class EmptyTipView : FrameLayout
+    {
+        /// <summary>
+        /// 鎻愮ず鏂囧瓧
+        /// </summary>
+        public Button BtnTipNotText;
+
+        /// <summary>
+        /// 鎻愮ず鍥剧墖
+        /// </summary>
+        public Button BtnTipNot;
+
+        /// <summary>
+        /// 
+        /// </summary>
+        public EmptyTipView(string tipMsg ="")
+        {
+            if(tipMsg == "")
+            {
+                tipMsg = Language.StringByID(StringId.ContentIsEmpty);
+            }
+            int tipHeight = Application.GetRealWidth(180);
+
+            this.Height = tipHeight + Application.GetRealHeight(17);
+
+            BtnTipNot = new Button()
+            {
+                Gravity = Gravity.CenterHorizontal,
+                Width = tipHeight,
+                Height = tipHeight,
+                UnSelectedImagePath = "TipNot.png",
+            };
+            this.AddChidren(BtnTipNot);
+
+            //绌虹┖濡備篃
+            Button btnTipNotText = new Button()
+            {
+                Y = tipHeight,
+                Height = Application.GetRealHeight(17),
+                Text = tipMsg,
+                TextAlignment = TextAlignment.Center,
+                TextColor = CSS_Color.TextualColor,
+                TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+            };
+            this.AddChidren(btnTipNotText);
+        }
+
+    }
+}

--
Gitblit v1.8.0