wxr
2022-08-17 d6578b10542226650e263815dea75e598a7090f9
HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandListPage.cs
@@ -55,7 +55,12 @@
                TextAlignment = TextAlignment.CenterLeft,
            };
            bodyView.AddChidren(btnTipText);
            if (Language.CurrentLanguage != "Chinese")
            {
                btnTipText.Text = "Synchronize your devices on the third-party platform to on Pro for control by binding the third-party platform account to the cloud connection";
            }
            contentView = new VerticalScrolViewLayout()
            {
                Y = Application.GetRealHeight(150),
@@ -76,7 +81,7 @@
        }
        /// <summary>
        /// 获取绑定列表
        /// 获取列表
        /// </summary>
        void GetBindList()
        {
@@ -197,9 +202,8 @@
                };
                row.AddChidren(btnName);
                //下载第三方品牌icon
                ImageUtlis.Current.Load3tyBrandIconImages(brand.brandName, brand.authrBandIconUrl, btnIcon);
                btnName.MouseUpEventHandler = (sender, e) => {
                ImageUtlis.Current.Load3tyBrandIconImages(brand.brandName, brand.authBrandIconUrl, btnIcon);
                EventHandler<MouseEventArgs> eventHandler =  (sender, e) => {
                    if (brand.hasAuthorization)
                    {
                        Action unboundAction = () =>
@@ -231,6 +235,11 @@
                        MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
                    }
                };
                btnRight.MouseUpEventHandler = eventHandler;
                row.MouseUpEventHandler = eventHandler;
                btnName.MouseUpEventHandler = eventHandler;
                btnBindTip.MouseUpEventHandler = eventHandler;
            }
        }