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
@@ -7,12 +7,22 @@
//
#import "GIGaUserInfoAvatorCell.h"
#import "UIImageView+WebCache.h"
@implementation GIGaUserInfoAvatorCell
- (void)awakeFromNib {
[super awakeFromNib];
// Initialization code
self.userAvator.layer.masksToBounds = YES;
self.userAvator.layer.cornerRadius = self.userAvator.frame.size.height /2 ;
}
- (void)loadCellData:(NSIndexPath *)indexPath user:(GiGaUser *)user{
if (user.headImgUrl && ![user.headImgUrl isKindOfClass:[NSNull class]]) {
[self.userAvator sd_setImageWithURL:[NSURL URLWithString:user.headImgUrl]];
}
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {