HomeUserPrivilegeCell.h 1.1 KB

123456789101112131415161718192021222324252627282930
  1. //
  2. // HomeUserPrivilegeCell.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 "HomeSubModel.h"
  10. #import "HomeSubItemModel.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface HomeUserPrivilegeCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
  13. @property (weak, nonatomic) IBOutlet UILabel *TitleL;
  14. @property (weak, nonatomic) IBOutlet UIButton *lookBtn;
  15. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  16. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *collectH;
  17. @property (weak, nonatomic) IBOutlet UIView *ShowView;
  18. @property (weak, nonatomic) IBOutlet UILabel *showTitleL;
  19. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *height;
  20. @property (strong, nonatomic) HomeSubModel * model;
  21. @property (nonatomic, copy) void(^ClickItemBlock)(HomeSubItemModel *pmodel);
  22. + (HomeUserPrivilegeCell *)configCell:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  23. - (void)setDataWithItem:(NSInteger)Item isUnUser:(BOOL)isUser model:(HomeSubModel *)model;
  24. @end
  25. NS_ASSUME_NONNULL_END