HDL Home App 第二版本 旧平台金堂用 正在使用
hxb
2022-08-30 25429f085093d89d543a0b90e30d0d62d1b7dac9
ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs
@@ -21,35 +21,13 @@
        /// </summary>
        private void InitMiddleFrame()
        {
            bodyFrameLayout.BackgroundColor = ZigbeeColor.Current.GXCGrayBackgroundColor;
            var btnControl = new WebView();
            btnControl.Width = bodyFrameLayout.Width;
            btnControl.Height = bodyFrameLayout.Height;
            bodyFrameLayout.AddChidren(btnControl);
            var title = new Button
            {
                X = Application.GetRealWidth(58),
                Y = Application.GetRealHeight(58),
                Width = Application.GetRealWidth(600),
                Height = Application.GetRealHeight(58),
                TextID = R.MyInternationalizationString.SLA_Title,
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = ZigbeeColor.Current.GXCTextBlackColor,
                TextSize = 14
            };
            title.IsBold = true;
            bodyFrameLayout.AddChidren(title);
            var detail=new Button
            {
                X = Application.GetRealWidth(58),
                Y = Application.GetRealHeight(164),
                Width = Application.GetRealWidth(942),
                Height = Application.GetRealHeight(800),
                Text = Language.StringByID(R.MyInternationalizationString.SLA_Detail).Replace("{\\r\\n}","\r\n\r\n"),
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = ZigbeeColor.Current.GXCTextColor,
                IsMoreLines=true,
                TextSize = 12
            };
            bodyFrameLayout.AddChidren(detail);
            //加载网址
            btnControl.LoadRequest("https://developer.hdlcontrol.com/HDLEvoyoPrivacyPolicy.html");
        }
    }
}