This commit is contained in:
2025-12-03 19:38:55 +08:00
parent 716f91bdd0
commit 43e8b85656
7 changed files with 49 additions and 56 deletions

View File

@@ -13,18 +13,12 @@ NS_ASSUME_NONNULL_BEGIN
/// 首页排行榜卡片 Cell两列
@interface HomeRankCardCell : UICollectionViewCell
/// 当前展示的角色模型
/// 当前展示的角色模型设置后cell 会在 setter 中根据模型刷新 UI
@property (nonatomic, strong, nullable) KBCharacter *character;
/// 点击加号/勾选按钮回调
@property (nonatomic, copy, nullable) void (^onTapAction)(void);
/// 旧的配置方法(兼容用,不推荐继续使用)
- (void)configureWithTitle:(NSString *)title
desc:(NSString *)desc
people:(NSString *)people
added:(BOOL)added;
@end
NS_ASSUME_NONNULL_END