HomeGoodBookCell.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. //
  2. // HomeGoodBookCell.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/5/20.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "HomeSubModel.h"
  10. #import "HomeSubItemModel.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface HomeGoodBookCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
  13. @property (weak, nonatomic) IBOutlet UILabel *TitleL;
  14. @property (weak, nonatomic) IBOutlet UIButton *huanBtn;
  15. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  16. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *collectH;
  17. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *height;
  18. @property (assign, nonatomic)NSInteger type;
  19. @property (strong, nonatomic) HomeSubModel * model;
  20. @property (copy, nonatomic) void(^ClickItemBlock)(HomeSubItemModel * pmodel);
  21. + (HomeGoodBookCell *)configCell:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  22. - (void)setDataWithItem:(NSInteger)Item isUnUser:(BOOL)isUser model:(HomeSubModel *)model;
  23. @end
  24. NS_ASSUME_NONNULL_END