From a2927467ebfa938a420f392deb6882b35570fd33 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 01 十二月 2020 16:48:06 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/CJL-NEW'
---
HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs | 39 ++++++++++++++++++++-------------------
1 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
index 76e1ff8..a6eb973 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
@@ -4,8 +4,9 @@
namespace HDL_ON.UI
{
-
-
+ /// <summary>
+ /// 鎴戠殑浜岀淮鐮侀〉闈�
+ /// </summary>
public class MyQRCodePage : FrameLayout
{
FrameLayout bodyView;
@@ -78,7 +79,7 @@
TextAlignment = TextAlignment.TopLeft,
TextColor = CSS_Color.TextualColor,
TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
- Text = UserInfo.Current.accountString
+ Text = UserInfo.Current.AccountString
};
headView.AddChidren(btnEmail);
#endregion
@@ -91,25 +92,25 @@
Y = Application.GetRealHeight(104),
Height = codeWidth,
Width = codeWidth,
- ImageBytes = Scan.BytesFromText(UserInfo.Current.accountString, codeWidth, codeWidth),
+ ImageBytes = Scan.BytesFromText(UserInfo.Current.AccountString, codeWidth, codeWidth),
};
backView.AddChidren(codeImage);
- //浜岀淮鐮佷腑蹇冨ご鍍�
- int imageWidth = Application.GetMinRealAverage(60);
- int imageX = codeImage.X + (codeWidth - imageWidth) / 2;
- int imageY = codeImage.Y + (codeWidth - imageWidth) / 2;
- ImageView headImage2 = new ImageView()
- {
- X = imageX,
- Y = imageY,
- Width = imageWidth,
- Height = imageWidth,
- ImagePath = UserInfo.Current.headImagePagePath,
- BorderColor = CSS_Color.MainBackgroundColor,
- BorderWidth = (uint)Application.GetRealWidth(2),
- Radius = (uint)Application.GetMinRealAverage(30),
- };
+ ////浜岀淮鐮佷腑蹇冨ご鍍�
+ //int imageWidth = Application.GetMinRealAverage(60);
+ //int imageX = codeImage.X + (codeWidth - imageWidth) / 2;
+ //int imageY = codeImage.Y + (codeWidth - imageWidth) / 2;
+ //ImageView headImage2 = new ImageView()
+ //{
+ // X = imageX,
+ // Y = imageY,
+ // Width = imageWidth,
+ // Height = imageWidth,
+ // ImagePath = UserInfo.Current.headImagePagePath,
+ // BorderColor = CSS_Color.MainBackgroundColor,
+ // BorderWidth = (uint)Application.GetRealWidth(2),
+ // Radius = (uint)Application.GetMinRealAverage(30),
+ //};
//backView.AddChidren(headImage2);
}
}
--
Gitblit v1.8.0