JLChen
2020-11-27 0f8f6ad183a9595a82f3229029b16cbcf62bf8ff
HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
@@ -96,21 +96,21 @@
            };
            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);
        }
    }