| | |
| | | /// 用户头像 |
| | | /// </summary> |
| | | ImageView userHeadImageView; |
| | | Button btnUserHeadPortrait; |
| | | /// <summary> |
| | | /// 住宅信息区域 |
| | | /// </summary> |
| | |
| | | Width = Application.GetMinRealAverage(84), |
| | | Height = Application.GetMinRealAverage(84), |
| | | Radius = (uint)Application.GetMinRealAverage(42), |
| | | //UnSelectedImagePath = MainPage.LoginUser.headImagePagePath |
| | | ImagePath = MainPage.LoginUser.headImagePagePath |
| | | }; |
| | | bodyView.AddChidren(userHeadImageView); |
| | | if ( MainPage.LoginUser.headImagePageBytes==null) |
| | | { |
| | | userHeadImageView.ImagePath = MainPage.LoginUser.headImagePagePath; |
| | | }else |
| | | { |
| | | userHeadImageView.ImageBytes = MainPage.LoginUser.headImagePageBytes; |
| | | } |
| | | //if ( MainPage.LoginUser.headImagePageBytes==null) |
| | | //{ |
| | | // userHeadImageView.ImagePath = MainPage.LoginUser.headImagePagePath; |
| | | //}else |
| | | //{ |
| | | // userHeadImageView.ImageBytes = MainPage.LoginUser.headImagePageBytes; |
| | | //} |
| | | |
| | | #endregion |
| | | |