3
This commit is contained in:
@@ -6,16 +6,20 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "KBCharacter.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// 首页排行榜卡片 Cell(两列)
|
||||
@interface HomeRankCardCell : UICollectionViewCell
|
||||
|
||||
/// 当前展示的角色模型
|
||||
@property (nonatomic, strong, nullable) KBCharacter *character;
|
||||
|
||||
/// 点击加号/勾选按钮回调
|
||||
@property (nonatomic, copy, nullable) void (^onTapAction)(void);
|
||||
|
||||
/// 统一配置数据
|
||||
/// 旧的配置方法(兼容用,不推荐继续使用)
|
||||
- (void)configureWithTitle:(NSString *)title
|
||||
desc:(NSString *)desc
|
||||
people:(NSString *)people
|
||||
@@ -24,4 +28,3 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user