From a85935c79da4215686d6ed961232c9a77866ff7f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 01 七月 2021 15:50:34 +0800
Subject: [PATCH] Revert "1"
---
HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs | 32 ++++++++++++++++++++------------
1 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs
index e8ff3d9..35e4071 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs
@@ -7,31 +7,38 @@
{
public class ReplicationView
{
- public Dialog dialog = new Dialog()
+ FrameLayout fLayout = new FrameLayout
{
+ Height = Application.GetRealHeight(667),
BackgroundColor = CSS.CSS_Color.viewMiddle,
};
- public void GuideShow()
+ /// <summary>
+ ///
+ /// </summary>
+ public void Show(FrameLayout frame)
{
#region 鐣岄潰甯冨眬
+ frame.AddChidren(fLayout);
PirDevice.View.TopView topView = new View.TopView();
topView.topNameBtn.TextID = StringId.fuzhiyaokonggongnneg;
- dialog.AddChidren(topView.FLayoutView());
- topView.clickBackBtn.MouseUpEventHandler += (sender, e) => { dialog.Close(); };
+ fLayout.AddChidren(topView.FLayoutView());
+ topView.clickBackBtn.MouseUpEventHandler += (sender, e) => { RemView(); };
FrameLayout frameLayout = new FrameLayout();
frameLayout.Height = Application.GetRealHeight(667 - 64);
frameLayout.Y = Application.GetRealHeight(64);
- dialog.AddChidren(frameLayout);
+ // frameLayout.BackgroundColor = CSS.CSS_Color.textWhiteColor;
+ fLayout.AddChidren(frameLayout);
var textBtn = new Button
{
Y = Application.GetRealHeight(24),
X = Application.GetRealWidth(10),
Width = Application.GetRealWidth(375 - 20),
- Height = Application.GetRealHeight(20),
+ Height = Application.GetRealHeight(28),//
TextSize = TextSize.text14,
TextColor = CSS.CSS_Color.textColor,
TextAlignment = TextAlignment.Center,
TextID = StringId.duizhunanxiaanniu,
+ IsMoreLines=true,
};
frameLayout.AddChidren(textBtn);
@@ -53,14 +60,15 @@
UnSelectedImagePath = "PirIcon/icon2.png",
};
frameLayout.AddChidren(icon2Btn);
- dialog.Show();
#endregion
-
-
-
-
}
-
+ /// <summary>
+ /// 绉婚櫎褰撳墠鐣岄潰
+ /// </summary>
+ public void RemView()
+ {
+ fLayout.RemoveFromParent();
+ }
}
}
--
Gitblit v1.8.0