BBAGridPannelViewCell.h 1022 Bytes
//
//  BBAGridPannelViewCell.h
//  BBAPods
//
//  Created by liurui12 on 16/8/18.
//  Copyright © 2016年 Baidu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BBAPannelAction.h"

@interface BBAGridPannelViewCell : UICollectionViewCell

@property (nonatomic, strong)   NSString *text;
@property (nonatomic, strong)   UIImage  *image;
@property (nonatomic, strong)   NSURL    *imageUrl;
@property (nonatomic, strong)   UIColor  *imageBackgroundColor;
@property (nonatomic, strong)   UIColor  *textLabelColor;
@property (nonatomic, strong)   UIColor  *imagePressBackgroundColor;
@property (nonatomic)           BOOL      hasBadge;
@property (nonatomic, strong)   BBAPannelAction *pannelAction;
@property (nonatomic, assign)   BOOL clickEnabled;
@property (nonatomic,copy) NSString *badgeValue; //飘新

@property (nonatomic, copy) void(^selectionBlock)(void);
/// 长按触发事件回调
@property (nonatomic, copy) void(^longPressBlock)(void);

+ (CGFloat)cellHeight;
+ (CGFloat)cellContentImageBGSize;

@end