From efad979b6fae76fb37a4de7e94e6bac0a85cb72c Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 30 十一月 2021 13:14:28 +0800
Subject: [PATCH] 2021-11-30 1.修复乐橙Android,没调用拒接接口问题。

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

diff --git a/HDL_ON/UI/UI0-Public/Widget/ConfirmButton.cs b/HDL_ON/UI/UI0-Public/Widget/ConfirmButton.cs
new file mode 100644
index 0000000..585e366
--- /dev/null
+++ b/HDL_ON/UI/UI0-Public/Widget/ConfirmButton.cs
@@ -0,0 +1,62 @@
+锘縰sing System;
+using HDL_ON.UI.CSS;
+using Shared;
+
+namespace HDL_ON.UI
+{
+    /// <summary>
+    /// 閫氱敤纭鎸夐挳
+    /// </summary>
+    public class ConfirmButton : Button
+    {
+        public ConfirmButton()
+        {
+            Gravity = Gravity.CenterHorizontal;
+            Width = Application.GetRealWidth(220);
+            Height = Application.GetRealWidth(44);
+            BackgroundColor = CSS_Color.MainColor;
+            TextAlignment = TextAlignment.Center;
+            TextColor = CSS_Color.MainBackgroundColor;
+            TextSize = CSS_FontSize.SubheadingFontSize;
+            IsBold = true;
+            Radius = (uint)Application.GetRealWidth(22);
+            BorderColor = 0x00000000;
+            BorderWidth = 0;
+
+        }
+    }
+
+    public class BottomViewConfirmButton
+    {
+        public void LoadView(FrameLayout bodyView,EventHandler<MouseEventArgs> eventHandler,string confirmText)
+        {
+            var bottomView = new FrameLayout()
+            {
+                Y = Application.GetRealHeight(591),
+                Height = Application.GetRealHeight(76) + Application.GetRealWidth(44),
+                Radius = (uint)Application.GetRealWidth(22),
+                BackgroundColor = CSS_Color.MainBackgroundColor,
+            };
+            bodyView.AddChidren(bottomView);
+
+            var btnConfrim = new Button()
+            {
+                Gravity = Gravity.CenterHorizontal,
+                Y = Application.GetRealHeight(12),
+                Width = Application.GetRealWidth(220),
+                Height = Application.GetRealWidth(44),
+                Radius = (uint)Application.GetRealWidth(22),
+                BackgroundColor = CSS_Color.MainColor,
+                TextColor = CSS_Color.MainBackgroundColor,
+                TextSize = CSS_FontSize.SubheadingFontSize,
+                TextAlignment = TextAlignment.Center,
+                IsBold = true,
+                Text = confirmText,
+            };
+            bottomView.AddChidren(btnConfrim);
+
+            btnConfrim.MouseUpEventHandler = eventHandler;
+        }
+
+    }
+}

--
Gitblit v1.8.0