个人信息修改
This commit is contained in:
@@ -17,11 +17,23 @@
|
||||
}
|
||||
-(void)loadCellData:(NSIndexPath*)indexPath user:(GiGaUser*)user{
|
||||
|
||||
if (user.weixin && ![user.weixin isKindOfClass:[NSNull class]]) {
|
||||
self.weiXinCount.text = user.weixin;
|
||||
}
|
||||
if (indexPath.section == 1 && indexPath.row == 1) {
|
||||
//昵称
|
||||
self.descTitle.text = @"昵称";
|
||||
self.weiXinCount.placeholder = @"请输入用户昵称";
|
||||
if (user.nickName && ![user.nickName isKindOfClass:[NSNull class]] && ![user.nickName isEqualToString:@""]) {
|
||||
|
||||
self.weiXinCount.text= user.nickName;
|
||||
}
|
||||
|
||||
}else if (indexPath.section == 1 && indexPath.row == 2){
|
||||
//微信
|
||||
if (user.weixin && ![user.weixin isKindOfClass:[NSNull class]] && ![user.weixin isEqualToString:@""]) {
|
||||
self.weiXinCount.text = user.weixin;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user