From 6828e6dffa299b6249af99ce9c1d3992963f7c18 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 28 一月 2021 17:41:23 +0800 Subject: [PATCH] 20210128:第三方品牌界面 --- HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs index 30cb186..bc6f542 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs @@ -1,4 +1,6 @@ 锘縰sing System; +using System.Collections.Generic; +using HDL_ON.Entity; using HDL_ON.UI.CSS; using Shared; namespace HDL_ON.UI @@ -8,6 +10,7 @@ FrameLayout bodyView; FrameLayout contentView; + Button btnAdd; public ThirdPartyBrandListPage() { @@ -39,7 +42,7 @@ }; bodyView.AddChidren(btnTipMsg); - Button btnAdd = new Button() + btnAdd = new Button() { Gravity = Gravity.CenterHorizontal, Y = Application.GetRealHeight(564), @@ -52,6 +55,8 @@ TextID = StringId.Add, }; bodyView.AddChidren(btnAdd); + + LoadEvent_SikpAddBrand(); } /// <summary> @@ -72,5 +77,17 @@ }; emptyTipView.AddChidren(tipView); } + /// <summary> + /// 璺宠浆缁戝畾绗笁鏂瑰搧鐗岀晫闈� + /// </summary> + void LoadEvent_SikpAddBrand() + { + btnAdd.MouseUpEventHandler = (sender, e) => { + var page = new AddThirdPartyBrandListpage(); + MainPage.BasePageView.AddChidren(page); + page.LoadPage(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }; + } } } -- Gitblit v1.8.0