This commit is contained in:
2025-12-03 18:53:15 +08:00
parent 82123fc232
commit 1d6371c37e
3 changed files with 58 additions and 21 deletions

View File

@@ -6,15 +6,21 @@
//
#import "BaseCell.h"
#import "KBCharacter.h"
NS_ASSUME_NONNULL_BEGIN
@interface HomeHotCell : BaseCell
/// 配置数据
- (void)configWithRank:(NSInteger)rank title:(NSString *)title subtitle:(NSString *)sub joined:(BOOL)joined;
/// 当前展示的排行榜角色模型
@property (nonatomic, strong, nullable) KBCharacter *character;
/// 旧的配置方法(不再推荐使用),内部会转成 character 赋值
- (void)configWithRank:(NSInteger)rank
title:(NSString *)title
subtitle:(NSString *)sub
joined:(BOOL)joined;
@end
NS_ASSUME_NONNULL_END