修改提交
This commit is contained in:
@@ -681,8 +681,12 @@
|
||||
[weakSelf.collectionView reloadData];
|
||||
weakSelf.idLabel.text = [NSString stringWithFormat:@"%@ ID:%@",model.sex.intValue==1?@"男":@"女",model.user_code];
|
||||
weakSelf.guildLabel.text = [NSString stringWithFormat:@"所属公会:%@",[model.guild isExist]?model.guild:@"无"];
|
||||
if (![model.guild isExist] && ![weakSelf.userId isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
||||
weakSelf.joinGuildBtn.hidden = NO;
|
||||
if ([model.guild isExist]) {
|
||||
if ([weakSelf.userId isEqualToString:QXGlobal.shareGlobal.loginModel.user_id]) {
|
||||
weakSelf.joinGuildBtn.hidden = YES;
|
||||
}else{
|
||||
weakSelf.joinGuildBtn.hidden = NO;
|
||||
}
|
||||
}else{
|
||||
weakSelf.joinGuildBtn.hidden = YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user