From b68cdc7e103a00d5df73e4b75603be8da1815b4a Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 29 四月 2020 13:59:52 +0800 Subject: [PATCH] 上传版本 --- ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs index cd409ea..658ee39 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs @@ -114,11 +114,11 @@ bodyFrameLayout.AddChidren(frame); //鐢ㄦ埛鍥炬爣 - string iconPath = System.IO.Path.Combine(UserCenterResourse.Option.UserPictruePath, memberInfo.DistributedMark + ".png"); + string iconPath = System.IO.Path.Combine(UserCenterResourse.AccountOption.UserPictruePath, memberInfo.DistributedMark + ".png"); var btnUserIcon = new ImageView(); - btnUserIcon.Height = Application.GetMinRealAverage(207); - btnUserIcon.Width = Application.GetMinRealAverage(207); - btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2; + btnUserIcon.Height = this.GetPictrueRealSize(207); + btnUserIcon.Width = this.GetPictrueRealSize(207); + btnUserIcon.Radius = (uint)this.GetPictrueRealSize(207) / 2; if (System.IO.File.Exists(iconPath) == true) { btnUserIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(iconPath); @@ -139,7 +139,7 @@ btnAuthority.TextSize = 12; btnAuthority.Y = btnUserIcon.Bottom + Application.GetRealHeight(23); btnAuthority.Gravity = Gravity.CenterHorizontal; - btnAuthority.TextColor = UserCenterColor.Current.TextGrayColor; + btnAuthority.TextColor = UserCenterColor.Current.TextGrayColor1; btnAuthority.TextID = R.MyInternationalizationString.uMember; if (memberInfo.AccountType == 1) { @@ -159,7 +159,7 @@ private void InitInfoList() { //鏍囬:鎴愬憳鏉冮檺 - var btnMenberTile = new DetailTitleControl(800, 60, true); + var btnMenberTile = new NormalViewControl(800, 60, true); btnMenberTile.X = ControlCommonResourse.XXLeft; btnMenberTile.Y = Application.GetRealHeight(418); btnMenberTile.TextColor = UserCenterColor.Current.TextColor2; @@ -430,7 +430,7 @@ if (infoResult.HeadImage != null) { //鍐欏叆澶村儚鍐呭 - string iconPath = System.IO.Path.Combine(UserCenterResourse.Option.UserPictruePath, memberInfo.DistributedMark + ".png"); + string iconPath = System.IO.Path.Combine(UserCenterResourse.AccountOption.UserPictruePath, memberInfo.DistributedMark + ".png"); Shared.IO.FileUtils.WriteFileByBytes(iconPath, infoResult.HeadImage); HdlThreadLogic.Current.RunMain(() => { -- Gitblit v1.8.0