This commit is contained in:
2025-12-04 19:12:34 +08:00
parent 8f63741d8c
commit 64887054e0
18 changed files with 331 additions and 50 deletions

View File

@@ -15,6 +15,9 @@ NS_ASSUME_NONNULL_BEGIN
/// 当前展示的排行榜角色模型
@property (nonatomic, strong, nullable) KBCharacter *character;
/// 点击右侧加号/勾选按钮的回调,由外部 VC 处理网络逻辑
@property (nonatomic, copy, nullable) void (^onTapAction)(void);
/// 旧的配置方法(不再推荐使用),内部会转成 character 赋值
- (void)configWithRank:(NSInteger)rank
title:(NSString *)title