IndexAllCell.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. //
  2. // IndexAllCell.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/9/17.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "IndexAllModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface IndexAllCell : UITableViewCell
  12. @property (weak, nonatomic) IBOutlet UITableView *subTableV;
  13. @property (weak, nonatomic) IBOutlet UILabel *nameL;
  14. @property (weak, nonatomic) IBOutlet UILabel *countL;
  15. @property (weak, nonatomic) IBOutlet UIButton *moreBtn;
  16. @property (weak, nonatomic) IBOutlet UIButton *topBtn;
  17. @property (weak, nonatomic) IBOutlet UIView *bgView;
  18. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *contant;
  19. @property (copy, nonatomic) void(^ClickRowBlock)(CollectModelType type, NSInteger Id);
  20. + (IndexAllCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  21. + (IndexAllCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  22. - (void)setDataWithModel:(IndexAllModel *)model;
  23. - (void)setDataWithModel:(IndexAllModel *)model searchText:(NSString *)text;
  24. @end
  25. NS_ASSUME_NONNULL_END