黄学彪
2019-11-25 5727cf0b9b54da0a191dd1e23cb5abf21320fbff
ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs
@@ -63,10 +63,13 @@
            frameBack.AddChidren(frameDetail);
            //用户头像
            var btnIcon = new IconViewControl(294);
            var btnIcon = new ImageView();
            btnIcon.Height = Application.GetMinRealAverage(294);
            btnIcon.Width = Application.GetMinRealAverage(294);
            btnIcon.Radius = (uint)Application.GetMinRealAverage(294) / 2;
            btnIcon.Y = Application.GetRealHeight(121);
            btnIcon.Gravity = Gravity.CenterHorizontal;
            btnIcon.UnSelectedImagePath = UserCenterResourse.UserInfo.UserIconFile;
            btnIcon.ImagePath = UserCenterResourse.UserInfo.UserIconFile;
            frameBack.AddChidren(btnIcon);
            //用户名
            var btnUser = new NormalViewControl(frameBack.Width, Application.GetRealHeight(46), false);
@@ -77,7 +80,7 @@
            frameDetail.AddChidren(btnUser);
            //二维码
            var btnQrCode = new PicViewControl(236, 236);
            btnQrCode.BackgroundColor = UserCenterColor.Current.Green;
            btnQrCode.ImageBytes = QRCode.BytesFromText(UserCenterResourse.UserInfo.Account, Application.GetMinRealAverage(236), Application.GetMinRealAverage(236));
            btnQrCode.Gravity = Gravity.CenterHorizontal;
            btnQrCode.Y = Application.GetRealHeight(262);
            frameDetail.AddChidren(btnQrCode);