From 07466c19110693e3e439a7d7c8ad0bc21d9b3287 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 29 四月 2020 09:14:01 +0800
Subject: [PATCH] 优化代码,更改门锁需求接口

---
 ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs
index 83e6910..04abc3d 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Guide/GuideCommonForm.cs
@@ -7,7 +7,7 @@
     /// <summary>
     /// 寮曞鐣岄潰鐨勫叡閫氱晫闈�
     /// </summary>
-    public class GuideCommonForm : FrameLayout
+    public class GuideCommonForm : FrameLayoutBase
     {
         #region 鈻� 鍙橀噺澹版槑___________________________
 
@@ -243,8 +243,8 @@
             //涓婚〉
             var btnMenuHome = new IconViewControl(10, false);
             btnMenuHome.X = Application.GetRealWidth(109);
-            btnMenuHome.Width = Application.GetMinRealAverage(138);
-            btnMenuHome.Height = Application.GetMinRealAverage(98);
+            btnMenuHome.Width = this.GetPictrueRealSize(138);
+            btnMenuHome.Height = this.GetPictrueRealSize(98);
             btnMenuHome.UnSelectedImagePath = "Navigation/HomeSelected.png";
             frameMenu.AddChidren(btnMenuHome);
             var btnMenuHomeName = new NormalViewControl(btnMenuHome.Width, Application.GetRealHeight(40), false);
@@ -259,8 +259,8 @@
             //鍒嗙被
             var btnFenlei = new IconViewControl(10, false);
             btnFenlei.X = Application.GetRealWidth(469);
-            btnFenlei.Width = Application.GetMinRealAverage(138);
-            btnFenlei.Height = Application.GetMinRealAverage(98);
+            btnFenlei.Width = this.GetPictrueRealSize(138);
+            btnFenlei.Height = this.GetPictrueRealSize(98);
             btnFenlei.UnSelectedImagePath = "Navigation/Category.png";
             frameMenu.AddChidren(btnFenlei);
             var btnFenleiName = new NormalViewControl(btnFenlei.Width, Application.GetRealHeight(40), false);
@@ -275,8 +275,8 @@
             //鎴戠殑
             var btnMy = new IconViewControl(10, false);
             btnMy.X = Application.GetRealWidth(832);
-            btnMy.Width = Application.GetMinRealAverage(138);
-            btnMy.Height = Application.GetMinRealAverage(98);
+            btnMy.Width = this.GetPictrueRealSize(138);
+            btnMy.Height = this.GetPictrueRealSize(98);
             btnMy.UnSelectedImagePath = "Navigation/Setting.png";
             frameMenu.AddChidren(btnMy);
             var btnMyName = new NormalViewControl(btnMy.Width, Application.GetRealHeight(40), false);

--
Gitblit v1.8.0