This commit is contained in:
2025-12-03 20:02:37 +08:00
parent f026b9f9fd
commit eca168957d
3 changed files with 33 additions and 30 deletions

View File

@@ -6,16 +6,16 @@
//
#import <UIKit/UIKit.h>
#import "KBCharacter.h"
NS_ASSUME_NONNULL_BEGIN
/// 用于 HomeHot 顶部展示前三名的视图
@interface KBTopThreeView : UIView
/// 配置三项内容(数组元素可传 @{ @"title":NSString, @"rank":@(1/2/3) }
- (void)configWithItems:(NSArray<NSDictionary *> *)items;
/// 使用前三名角色模型进行配置(数组元素为 KBCharacter*,最多取前三个
- (void)configWithCharacters:(NSArray<KBCharacter *> *)characters;
@end
NS_ASSUME_NONNULL_END