fix 个人信息

This commit is contained in:
lianxiang
2018-09-16 13:42:55 +08:00
parent 9bba78987b
commit 718900a428
62 changed files with 17474 additions and 29 deletions
@@ -14,7 +14,22 @@
[super awakeFromNib];
// Initialization code
}
- (void)loadCellData:(NSIndexPath *)indexPath user:(GiGaUser*)user{
if (indexPath.section == 1 && indexPath.row == 0 ) {
self.IdLabel.text = user.userId;
self.userTitle.text = @"用户ID";
}else if (indexPath.section == 1 && indexPath.row == 1){
self.userTitle.text = @"昵称";
if (user.nickName && ![user.nickName isKindOfClass:[NSNull class]]) {
self.IdLabel.text = user.nickName;
}else{
self.IdLabel.text = @"昵称";
}
}
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];