commDetailCell.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // commDetailCell.h
  3. // yunbaolive
  4. //
  5. // Created by Boom on 2018/12/17.
  6. // Copyright © 2018年 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "detailmodel.h"
  10. #import <YYWebImage/YYWebImage.h>
  11. @protocol detailDelegate <NSObject>
  12. -(void)warningLogin;
  13. //刷新评论的回复数据
  14. -(void)refreshDtailDataWithId:(NSString *)commectid andLikes:(NSString *)likes islike:(NSString *)islike;
  15. - (void)playVoice:(detailmodel *)model andCell:(id)comcell;
  16. -(void)endEditOfGoHome;
  17. -(void)endEnterCenter;
  18. @end
  19. NS_ASSUME_NONNULL_BEGIN
  20. @interface commDetailCell : UITableViewCell
  21. @property(nonatomic,strong)UIView *longPressView;
  22. @property(nonatomic,strong)UIImageView *iconIV;
  23. @property (strong, nonatomic) UILabel *nameL;
  24. @property(nonatomic,strong)UILabel *authorL;//作者
  25. @property(nonatomic,strong)UIButton *zanBtn;
  26. @property(nonatomic,strong)UILabel *zanL;
  27. @property (strong, nonatomic) YYLabel *contentL;
  28. @property(nonatomic,strong)NSString *authorID;//视频作者的id
  29. @property(nonatomic,strong)detailmodel *model;
  30. @property(nonatomic,assign)id<detailDelegate>delegate;
  31. @property (strong, nonatomic) UIView *voiceView;
  32. @property (strong, nonatomic) UIImageView *voiceNorImgV;
  33. @property (strong, nonatomic) UILabel *voiceTimeL;
  34. @property (strong, nonatomic) YYAnimatedImageView *animationView;
  35. @property (strong, nonatomic) NSLayoutConstraint *voiceViewHeight;
  36. @end
  37. NS_ASSUME_NONNULL_END