From 6e580804d74d7a6fb118b6ba381e88aa81f267c7 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 15 三月 2021 15:30:23 +0800 Subject: [PATCH] Merge branch 'temp-wxr' into dev-tzy --- HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs | 98 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 98 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs new file mode 100644 index 0000000..23348f6 --- /dev/null +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs @@ -0,0 +1,98 @@ +锘縰sing System; +using HDL_ON.UI.CSS; +using Shared; +namespace HDL_ON.UI +{ + public class BrandListPage : FrameLayout + { + FrameLayout bodyView; + + FrameLayout contentView; + + public BrandListPage() + { + bodyView = this; + } + + public void LoadPage() + { + new TopViewDiv(bodyView, Language.StringByID(StringId.FunctionBrand)).LoadTopView(); + + bodyView.BackgroundColor = CSS_Color.BackgroundColor; + + contentView = new FrameLayout() + { + Y = Application.GetRealHeight(64), + Height = Application.GetRealHeight(603), + }; + bodyView.AddChidren(contentView); + + + NotListTipView(); + + } + + + void NotListTipView() + { + + var btnTip = new Button() + { + Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealHeight(108), + Width = Application.GetRealWidth(180), + Height = Application.GetRealWidth(180), + UnSelectedImagePath = "TipNot.png", + }; + contentView.AddChidren(btnTip); + + var btnTipText = new Button() + { + Y = Application.GetRealHeight(292), + Height = Application.GetRealHeight(52), + TextSize = CSS_FontSize.TextFontSize, + TextColor = CSS_Color.FirstLevelTitleColor, + TextAlignment = TextAlignment.Center, + TextID = StringId.Not3tyBrandListTip, + }; + contentView.AddChidren(btnTipText); + + var btnTipText1 = new Button() + { + Y = Application.GetRealHeight(459), + Height = Application.GetRealHeight(41), + TextSize = CSS_FontSize.TextFontSize, + TextColor = CSS_Color.FirstLevelTitleColor, + TextAlignment = TextAlignment.Center, + TextID = StringId.Use3tyBrandListTip, + }; + contentView.AddChidren(btnTipText1); + + var btnAdd = new Button() + { + Y = Application.GetRealHeight(500), + 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, + TextID = StringId.Add, + }; + contentView.AddChidren(btnAdd); + + + btnAdd.MouseUpEventHandler = (sender, e) => { + Console.WriteLine("ddd"); + }; + + + + } + } +} -- Gitblit v1.8.0