//
//  FindTopCell.h
//  Open
//
//  Created by 雷俊博 on 2020/6/1.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DHCWNativeAdView.h"
#import "HomeCollectionItem2Cell.h"

NS_ASSUME_NONNULL_BEGIN

@interface FindTopCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *img;
@property (weak, nonatomic) IBOutlet UILabel *lb_title;
@property (weak, nonatomic) IBOutlet UIImageView *gifImageView;
@property (weak, nonatomic) IBOutlet UIImageView *gifImageView2;

@property (nonatomic, strong) NativeAdCustomView *adView;

/**
    本地视频播放配置对象
 */
@property(nonatomic,strong)DHCWNativeLocalVideoAd *localVideoAd;

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

+ (CGFloat)cellHeightForModel:(DHCWNativeAdDataObject *)model;

@end

NS_ASSUME_NONNULL_END
