orderVideoCell.m 766 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // orderVideoCell.m
  3. // YBVideo
  4. //
  5. // Created by IOS1 on 2019/7/5.
  6. // Copyright © 2019 cat. All rights reserved.
  7. //
  8. #import "orderVideoCell.h"
  9. @implementation orderVideoCell
  10. - (void)awakeFromNib {
  11. [super awakeFromNib];
  12. // Initialization code
  13. }
  14. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  15. [super setSelected:selected animated:animated];
  16. // Configure the view for the selected state
  17. }
  18. - (void)setVideoModel:(NearbyVideoModel *)videoModel{
  19. _videoModel = videoModel;
  20. [_thumbImgV sd_setImageWithURL:[NSURL URLWithString:_videoModel.videoImage]];
  21. _titleL.text = _videoModel.videoTitle.length > 0 ? _videoModel.videoTitle : YZMsg(@"当前视频未填写视频标题");
  22. _timeL.text = _videoModel.userName;
  23. }
  24. @end