This commit is contained in:
2025-12-03 19:19:20 +08:00
parent b00283cd96
commit 716f91bdd0
8 changed files with 147 additions and 47 deletions

View File

@@ -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