BBAMultiTabItemView.h 1.49 KB
//
//  BBAMultiTabItemView.h
//  BBAUIKit
//
//  Created by liyongrui on 2018/12/14.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

/**********************************************************************
 *                       BBAMultiTabItem
 **********************************************************************/

@interface BBAMultiTabItemView: UIView
@property (nonatomic, strong) UIButton *clickButton;
@property (nonatomic, strong) UIImageView *iconImageView; // icon图标
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, copy, nullable) NSString *iconUrl; // tab活动配置
@property (nonatomic, assign) BOOL showIcon; // 是否满足显示icon条件
@property (nonatomic, assign, getter=isSelected) BOOL selected;
@property (nonatomic, copy) NSString *text;
@property (nonatomic, assign) CGFloat textFontSize;
@property (nonatomic, assign) CGFloat selectScale;
@property (nonatomic, strong) UIColor *normalColor;
@property (nonatomic, strong) UIColor *selectColor;
@property (nonatomic, assign, getter=isSelectedBold) BOOL selectedBold; //是否选中态粗体
@property (nonatomic, strong) UIFont *normalfont;
@property (nonatomic, strong) UIFont *selectedfont;

@property (nonatomic, assign) CGFloat picWidth;
@property (nonatomic, copy, nullable) NSString *picUrl;
/// 默认值0 负值标题向上移动 正值标题向下移动
@property (nonatomic, assign) CGFloat titleTopMargin;

- (void)showSmartSortAnimationComplete:(void (^)(BOOL))completion;

@end


NS_ASSUME_NONNULL_END