37 lines
1004 B
Objective-C
37 lines
1004 B
Objective-C
//
|
|
// TFBookStoreMenuView.h
|
|
// WXReader
|
|
//
|
|
// Created by 谢腾飞 on 2020/12/2.
|
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef NS_ENUM(NSUInteger, TFMenuButtonType) {
|
|
TFMenuButtonTypeFree, // 免费
|
|
TFMenuButtonTypeComplete, // 完结
|
|
TFMenuButtonTypeSort, // 分类
|
|
TFMenuButtonTypePopularity, // 排行
|
|
TFMenuButtonTypeMember // 会员
|
|
};
|
|
|
|
typedef void(^BannerrImageClickBlock)(TFBannerModel *bannerModel);
|
|
|
|
@interface TFBookStoreMenuView : UIView
|
|
|
|
@property (nonatomic ,assign) TFProductionType productionType;
|
|
@property (nonatomic ,strong) TFBookStoreModel *mallCenterModel;
|
|
|
|
@property (nonatomic ,copy) void (^menuButtonClickBlock)(TFMenuButtonType menuButtonType, NSString *menuButtonTitle);
|
|
|
|
@property (nonatomic ,copy) void(^bannerrImageClickBlock)(TFBannerModel *bannerModel); // banner点击
|
|
|
|
- (void)createSubViews;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|