WJC
2019-12-30 f1c3921b08bb22ac6f5db22d620e01d7e8e5c49f
ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberInfoForm.cs
@@ -43,12 +43,29 @@
            //清空bodyFrame
            this.ClearBodyFrame();
            string iconPath = System.IO.Path.Combine(UserCenterResourse.Option.UserPictruePath, memberResult.DistributedMark + ".png");
            if (memberResult.HeadImage != null)
            {
                //写入头像内容
                Shared.IO.FileUtils.WriteFileByBytes(iconPath, memberResult.HeadImage);
            }
            //头像
            var btnIcon = new PicViewControl(207, 207);
            btnIcon.UnSelectedImagePath = "Center/Admin.png";
            btnIcon.Y = Application.GetRealHeight(219);
            btnIcon.Gravity = Gravity.CenterHorizontal;
            bodyFrameLayout.AddChidren(btnIcon);
            var btnUserIcon = new ImageView();
            btnUserIcon.Height = Application.GetMinRealAverage(207);
            btnUserIcon.Width = Application.GetMinRealAverage(207);
            btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2;
            if (memberResult.HeadImage != null)
            {
                btnUserIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(iconPath);
            }
            else
            {
                btnUserIcon.ImagePath = "Center/Admin.png";
            }
            btnUserIcon.Y = Application.GetRealHeight(219);
            btnUserIcon.Gravity = Gravity.CenterHorizontal;
            bodyFrameLayout.AddChidren(btnUserIcon);
            //成员ID
            var btnUserId = new NormalViewControl(800, 50, true);