HomeProblemTopCell.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // HomeProblemTopCell.h
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/5/19.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "BookProblemModel.h"
  10. #import "HomeSubItemModel.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface HomeProblemTopCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
  13. @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
  14. @property (weak, nonatomic) IBOutlet UILabel *topTitleL;
  15. @property (weak, nonatomic) IBOutlet UILabel *topContentL;
  16. @property (weak, nonatomic) IBOutlet UIButton *TopBtn;
  17. @property (weak, nonatomic) IBOutlet UIImageView *imagV;
  18. @property (weak, nonatomic) IBOutlet UILabel *TitleL;
  19. @property (weak, nonatomic) IBOutlet UILabel *subTitleL;
  20. @property (weak, nonatomic) IBOutlet UILabel *nameL;
  21. @property (weak, nonatomic) IBOutlet UILabel *keL;
  22. @property (weak, nonatomic) IBOutlet UILabel *timeL;
  23. @property (weak, nonatomic) IBOutlet UIImageView *yanV;
  24. @property (weak, nonatomic) IBOutlet UILabel *numL;
  25. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *height;
  26. @property (weak, nonatomic) IBOutlet NSLayoutConstraint *collectH;
  27. + (HomeProblemTopCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  28. + (HomeProblemTopCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
  29. - (void)setDataModel:(BookProblemModel *)model;
  30. - (void)setDataListModel:(HomeSubItemModel *)model;
  31. @end
  32. NS_ASSUME_NONNULL_END