From c1cb2d8c6034a2ee7aa8a5710bba15b14f76cebc Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 18 八月 2023 18:54:31 +0800 Subject: [PATCH] 2023年08月18日18:54:22 --- HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs index 55b8dc9..11bd0d2 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/BrandListPage.cs @@ -107,6 +107,10 @@ bool isFrist = true; foreach (var brand in brandList) { + if(brand.productPlatform == "HaiLin")//瀛愭櫞闇�瑕侀殣钘忚繖涓叆鍙o紝鐢辫皟璇曡蒋浠朵笂浼犳暟鎹� 2023-03-09 17:20:33 + { + continue; + } var row = new RowLayout() { Height = Application.GetRealHeight(87), @@ -155,7 +159,7 @@ Button btnName = new Button() { X = Application.GetRealWidth(83), - Width = Application.GetRealWidth(210), + Width = Application.GetRealWidth(310), TextAlignment = TextAlignment.CenterLeft, TextColor = CSS_Color.FirstLevelTitleColor, TextSize = CSS_FontSize.SubheadingFontSize, @@ -165,13 +169,17 @@ //涓嬭浇绗笁鏂瑰搧鐗宨con ImageUtlis.Current.Load3tyBrandIconImages(brand.brandName, brand.brandIcon, btnIcon); - btnName.MouseUpEventHandler = (sender, e) => { + EventHandler<MouseEventArgs> eventHandler = (sender, e) => { var page = new DeviceListPage(brand); MainPage.BasePageView.AddChidren(page); page.LoadPage(); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; + btnName.MouseUpEventHandler = eventHandler; + btnIcon.MouseUpEventHandler = eventHandler; + btnRight.MouseUpEventHandler = eventHandler; + row.MouseUpEventHandler = eventHandler; } } -- Gitblit v1.8.0