From 6fa9d69da922c8049f5acfcbb9ce9fd26811024c Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期四, 16 四月 2020 17:10:57 +0800 Subject: [PATCH] 请合并代码 --- ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs old mode 100644 new mode 100755 index c29e841..7b0dbfb --- a/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Abount/AbountForm.cs @@ -45,7 +45,7 @@ /// </summary> public AbountForm() { - + } /// <summary> /// 鐢婚潰鏄剧ず(搴曞眰浼氬浐瀹氳皟鐢ㄦ鏂规硶锛屽�熶互瀹屾垚鐢婚潰鍒涘缓) @@ -150,23 +150,25 @@ var versionFL = new FrameLayout { Y = Application.GetRealHeight(510), - Height = Application.GetRealHeight(300), + //Height = Application.GetRealHeight(300), + Height = Application.GetRealHeight(300-127-12), BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor }; bodyFrameLayout.AddChidren(versionFL); - var SLARow = new DeviceInfoRow(12); - SLARow.Init(); - SLARow.SetTipTitle(R.MyInternationalizationString.SLA); - SLARow.NameText.TextAlignment = TextAlignment.CenterRight; - versionFL.AddChidren(SLARow); - SLARow.ClickBtn.MouseUpEventHandler += (sender, e) => - { - var slaForm = new SLAForm(); - slaForm.AddForm(); - }; + //var SLARow = new DeviceInfoRow(12); + //SLARow.Init(); + //SLARow.SetTipTitle(R.MyInternationalizationString.SLA); + //SLARow.NameText.TextAlignment = TextAlignment.CenterRight; + //versionFL.AddChidren(SLARow); + //SLARow.ClickBtn.MouseUpEventHandler += (sender, e) => + //{ + // var slaForm = new SLAForm(); + // slaForm.AddForm(); + //}; - updateRow = new DeviceInfoRow(12 + 127 + 12); + //updateRow = new DeviceInfoRow(12 + 127 + 12); + updateRow = new DeviceInfoRow(12); updateRow.Init(); updateRow.SetTipTitle(R.MyInternationalizationString.UpdateVersion); updateRow.NameText.TextAlignment = TextAlignment.CenterRight; @@ -180,7 +182,7 @@ UpdateVersion(); }; - + updatingBtn = new Button() { Y = Application.GetRealHeight(994), @@ -194,7 +196,7 @@ Gravity=Gravity.CenterHorizontal }; bodyFrameLayout.AddChidren(updatingBtn); - + SetDownLoadBtnNoVisible(); CheckVersion(); } @@ -247,7 +249,6 @@ #if iOS try { - CommonPage.Loading.Start(); var versionResult = await RequestHttpsiOSAppVersionAsync(); if (versionResult == null || versionResult.Results == null) { @@ -268,10 +269,9 @@ } catch { - return false; - + return false; } - + #elif Android try { -- Gitblit v1.8.0