35 lines
799 B
Objective-C
35 lines
799 B
Objective-C
//
|
|
// KanHuGuanLi1ViewCell.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 17/2/16.
|
|
// Copyright © 2017年 lianlian. All rights reserved.
|
|
//
|
|
|
|
#import "KanHuGuanLi1ViewCell.h"
|
|
#import "UIImageView+WebCache.h"
|
|
@implementation KanHuGuanLi1ViewCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
self.UserImg.layer.masksToBounds = YES;
|
|
self.UserImg.layer.cornerRadius = 2.0;
|
|
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
-(void)loadListData:(KanHuListModel*)model
|
|
{
|
|
[self.UserImg sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetIconUrl,model.userImg]]];
|
|
self.userName.text = model.nickName;
|
|
|
|
}
|
|
|
|
@end
|