From 993ecf49ae04ccea89f6bc4a32cfc0c45def1215 Mon Sep 17 00:00:00 2001
From: 温居城 <wenjucheng@wenjuchengdeMacBook-Pro.local>
Date: 星期三, 27 十月 2021 14:23:30 +0800
Subject: [PATCH] 2021-10-27-01

---
 ZigbeeApp/Shared/Phone/UserCenter/Member/SubAccountLevelUpSuccessForm.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/SubAccountLevelUpSuccessForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/SubAccountLevelUpSuccessForm.cs
index 3d0f656..06f7bcc 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Member/SubAccountLevelUpSuccessForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/SubAccountLevelUpSuccessForm.cs
@@ -47,7 +47,7 @@
             bodyFrameLayout.AddChidren(frame);
 
             //鐢ㄦ埛鍥炬爣
-            string iconPath = System.IO.Path.Combine(HdlFileNameResourse.UserPictrueDirectory, memberInfo.ChildAccountId + ".png");
+            string iconPath = System.IO.Path.Combine(UserCenterResourse.AccountOption.UserPictruePath, memberInfo.DistributedMark + ".png");
             var btnUserIcon = new ImageView();
             btnUserIcon.Height = this.GetPictrueRealSize(207);
             btnUserIcon.Width = this.GetPictrueRealSize(207);
@@ -71,7 +71,11 @@
             btnName.Y = Application.GetRealHeight(334);
             btnName.TextColor = UserCenterColor.Current.TextColor2;
             btnName.TextSize = 16;
-            btnName.Text = memberInfo.ShowName;
+            btnName.Text = memberInfo.UserName;
+            if (string.IsNullOrEmpty(memberInfo.UserName) == true)
+            {
+                btnName.Text = memberInfo.Account;
+            }
             frame.AddChidren(btnName);
 
             //鏉冮檺

--
Gitblit v1.8.0