//
//  HomeCollectionCell.h
//  Open
//
//  Created by 雷俊博 on 2020/8/4.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DHCWNativeAdView.h"
#import "KKRedPackageClickEventModel.h"
NS_ASSUME_NONNULL_BEGIN
/*
认证查询 登记进度  就业采集 保计算器 智能客服
AI照相管 万年历 菜谱 快递查询 周边游
诸葛找房 看视频 抢红包 酒店 更多功能
 */


@class HomeCollectionCell;
@protocol HomeCollectionCellDelegate <NSObject>

- (void)HomeCollectionCell:(HomeCollectionCell *)collectionCell didSelectItemAtIndexPath:(NSIndexPath *)indexPath;

@end
@protocol HomeItemDelegate <NSObject>

- (void)HomeItemCell:(KKRedPackageClickEventModel *)model;

@end
@interface HomeCollectionCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIView *BaseView;

@property (nonatomic, weak)id<HomeCollectionCellDelegate>delegate;

@property (nonatomic, weak)id<HomeItemDelegate>Itemdelegate;

@property (nonatomic, strong) NSArray *dataArray;

@property (nonatomic, assign)BOOL hiddenButton;
//
//@property (nonatomic, assign)BOOL  showJYCaijil;

//@property (nonatomic, assign)BOOL targetLocation;

@property (nonatomic, strong)DHCWNativeAdDataObject *model;

@property (nonatomic, weak)id<DHCWNativeAdViewDelegate>dhcDelegate;

@property (nonatomic, weak)id<DHCWNativeLocaVideoAdDelegate>dhcLocaDelegate;


@property (nonatomic, strong)UIViewController *rootViewController;

- (void)setupCellWithModel:(DHCWNativeAdDataObject *)model
                  delegate:(id<DHCWNativeAdViewDelegate>)delegate loca:(id<DHCWNativeLocaVideoAdDelegate>)localDelegate
        rootViewController:(UIViewController *)rootViewController;

- (void)reloadData;


//@property (nonatomic, strong)NSArray* titleArray3;
//
//@property (nonatomic, strong)NSArray*imageNames3;

@end

NS_ASSUME_NONNULL_END
