You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
948 B
35 lines
948 B
// |
|
// AddVideoMomberCell.m |
|
// watch |
|
// |
|
// Created by Apple on 2019/1/25. |
|
// Copyright © 2019年 xTT. All rights reserved. |
|
// |
|
|
|
#import "AddVideoMomberCell.h" |
|
#import "User.h" |
|
#import "Device.h" |
|
|
|
@implementation AddVideoMomberCell |
|
|
|
- (void)awakeFromNib { |
|
[super awakeFromNib]; |
|
// Initialization code |
|
self.selectionStyle = UITableViewCellSelectionStyleNone; |
|
// self.memberHeadView.layer.cornerRadius = 3; |
|
// self.memberHeadView.layer.masksToBounds = YES; |
|
} |
|
|
|
-(void)setModel:(VideoUserModel *)model{ |
|
self.memberHeadView.image = [myHelper getClickRelationshipImageWithCodeID:model.relationship_image_id deviceType:cUser.cDevice.deviceType.integerValue]; |
|
self.relationshipNameLabel.text = model.relationship; |
|
|
|
if(model.ifSelect){ |
|
self.selectImageView.image = [myHelper getImageWithName:@"选中"]; |
|
}else{ |
|
self.selectImageView.image = [myHelper getImageWithName:@"未选中"]; |
|
} |
|
|
|
} |
|
|
|
@end
|
|
|