123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // HomeWeiCousreCell.h
- // smartRhino
- //
- // Created by niuzhen on 2020/5/16.
- // Copyright © 2020 tederen. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "HomeSubItemModel.h"
- #import "BookChanelRightModel.h"
- #import "BookListenModel.h"
- #import "BookRecommendModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface HomeWeiCousreCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
- @property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
- @property (weak, nonatomic) IBOutlet UIImageView *imgV;
- @property (weak, nonatomic) IBOutlet UILabel *titleL;
- @property (weak, nonatomic) IBOutlet UILabel *subTitleL;
- @property (weak, nonatomic) IBOutlet UILabel *nameL;
- @property (weak, nonatomic) IBOutlet UILabel *timeL;
- @property (weak, nonatomic) IBOutlet UIImageView *yunV;
- @property (weak, nonatomic) IBOutlet UILabel *numL;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *nameContant;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *timeContant;
- @property (weak, nonatomic) IBOutlet UIView *lineV;
- @property (weak, nonatomic) IBOutlet UILabel *jianjieL;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *lineLeft;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *lineRight;
- @property (weak, nonatomic) IBOutlet UILabel *playTimeL;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *height;
- @property (strong, nonatomic) NSMutableArray *dataArray;
- @property (copy, nonatomic) void(^ClickItemBlock)(BookListenSubModel * model);
- + (HomeWeiCousreCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
- + (HomeWeiCousreCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
- + (HomeWeiCousreCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
- + (HomeWeiCousreCell *)configCell3:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
- + (HomeWeiCousreCell *)configCell4:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;
- - (void)setCollData;
- - (void)setCollDataArray:(NSArray *)array;
- - (void)setDataWithDetailModel:(BookListenModel *)model;
- - (void)setDataWithSubModel:(BookListenSubModel *)model;
- - (void)setDataWithRecommendModel:(BookRecommendModel *)model;
- - (void)setDataVideoModel:(BookChanelRightModel *)model;
- - (void)setDataRightModel:(BookChanelRightModel *)model;
- - (void)setDataWithModel:(HomeSubItemModel *)model;
- - (void)setDataWithIndexModel:(HomeSubItemModel *)model searchText:(NSString *)text;
- @end
- NS_ASSUME_NONNULL_END
|