HomeWeiCousreCell.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // HomeWeiCousreCell.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/5/16.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "HomeSubItemModel.h"
  10. #import "BookChanelRightModel.h"
  11. #import "BookListenModel.h"
  12. #import "BookRecommendModel.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface HomeWeiCousreCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
  15. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  16. @property (weak, nonatomic) IBOutlet UIImageView *imgV;
  17. @property (weak, nonatomic) IBOutlet UILabel *titleL;
  18. @property (weak, nonatomic) IBOutlet UILabel *subTitleL;
  19. @property (weak, nonatomic) IBOutlet UILabel *nameL;
  20. @property (weak, nonatomic) IBOutlet UILabel *timeL;
  21. @property (weak, nonatomic) IBOutlet UIImageView *yunV;
  22. @property (weak, nonatomic) IBOutlet UILabel *numL;
  23. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *nameContant;
  24. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *timeContant;
  25. @property (weak, nonatomic) IBOutlet UIView *lineV;
  26. @property (weak, nonatomic) IBOutlet UILabel *jianjieL;
  27. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *lineLeft;
  28. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *lineRight;
  29. @property (weak, nonatomic) IBOutlet UILabel *playTimeL;
  30. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *height;
  31. @property (strong, nonatomic) NSMutableArray *dataArray;
  32. @property (copy, nonatomic) void(^ClickItemBlock)(BookListenSubModel * model);
  33. + (HomeWeiCousreCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  34. + (HomeWeiCousreCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  35. + (HomeWeiCousreCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  36. + (HomeWeiCousreCell *)configCell3:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  37. + (HomeWeiCousreCell *)configCell4:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  38. - (void)setCollData;
  39. - (void)setCollDataArray:(NSArray *)array;
  40. - (void)setDataWithDetailModel:(BookListenModel *)model;
  41. - (void)setDataWithSubModel:(BookListenSubModel *)model;
  42. - (void)setDataWithRecommendModel:(BookRecommendModel *)model;
  43. - (void)setDataVideoModel:(BookChanelRightModel *)model;
  44. - (void)setDataRightModel:(BookChanelRightModel *)model;
  45. - (void)setDataWithModel:(HomeSubItemModel *)model;
  46. - (void)setDataWithIndexModel:(HomeSubItemModel *)model searchText:(NSString *)text;
  47. @end
  48. NS_ASSUME_NONNULL_END