//
//  CoinCenterHeaderView.h
//  Open
//
//  Created by 雷俊博 on 2021/3/1.
//  Copyright © 2021 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import <UICountingLabel.h>
#import "KKBubbleTaskModel.h"
#import "SignInCollectionViewCell.h"
#import <JDFTooltips.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,BtnType)
{
    BtnTypeBack,
    BtnTypeSign,
    BtnTypePackage1,
    BtnTypeLuckyCoins,
    BtnTypePackage2,
    BtnTypeGiftBox,
    BtnTypeSignRuler,
    BtnTypeSignShare,
};

@protocol CoinCenterSignTableViewCellDelegate <NSObject>

- (void)clickWithBtn:(UIButton *)btn type:(BtnType)type;

- (void)clickWithCell:(SignInCollectionViewCell *)cell model:(NSDictionary *)model tipView:(JDFTooltipView *)tipView;

@end

@interface CoinCenterHeaderView : UIView

@property (nonatomic, strong)UICountingLabel* lb_coinsNum;

@property (nonatomic, strong) UIViewController *rootVC;

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

- (void)reloadDataWithData:(NSArray *)dataArray currentIndex:(NSInteger)currentIndex view:(UIView *)supView;

- (void)refreshBtnStateWithArray:(NSArray *)dataArray;

#pragma mark - 设置签到按钮状态
- (void)setSignBtnInterace:(BOOL)Interace;

#pragma mark - 设置签到提醒按钮状态
- (void)setSignRemindBtnInterace:(BOOL)Interace;

#pragma mark - 更新分享用户
- (void)setshareUser:(NSArray *)shareArr;
@end

NS_ASSUME_NONNULL_END
