From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28

---
 ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs
index 4f643e6..ef86018 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs
@@ -25,7 +25,7 @@
         /// </summary>
         private void InitMiddleFrame()
         {
-            uint roundHeigth = (uint)Application.GetMinRealAverage(6);
+            uint roundHeigth = (uint)Application.GetRealHeight(17);
 
             //鑳屾櫙妗�
             var frameBack = new FrameLayout();
@@ -69,10 +69,11 @@
             btnIcon.Radius = (uint)Application.GetMinRealAverage(294) / 2;
             btnIcon.Y = Application.GetRealHeight(121);
             btnIcon.Gravity = Gravity.CenterHorizontal;
-            btnIcon.ImagePath = UserCenterResourse.UserInfo.UserIconFile;
+            btnIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(UserCenterResourse.UserInfo.UserIconFile);
             frameBack.AddChidren(btnIcon);
             //鐢ㄦ埛鍚�
             var btnUser = new NormalViewControl(frameBack.Width, Application.GetRealHeight(46), false);
+            btnUser.IsBold = true;
             btnUser.Y = Application.GetRealHeight(147);
             btnUser.Text = UserCenterResourse.UserInfo.UserName;
             btnUser.TextAlignment = TextAlignment.Center;
@@ -80,7 +81,7 @@
             frameDetail.AddChidren(btnUser);
             //浜岀淮鐮�
             var btnQrCode = new PicViewControl(236, 236);
-            btnQrCode.BackgroundColor = UserCenterColor.Current.Green;
+            btnQrCode.ImageBytes = QRCode.BytesFromText(UserCenterResourse.UserInfo.Account, Application.GetMinRealAverage(236), Application.GetMinRealAverage(236));
             btnQrCode.Gravity = Gravity.CenterHorizontal;
             btnQrCode.Y = Application.GetRealHeight(262);
             frameDetail.AddChidren(btnQrCode);

--
Gitblit v1.8.0