添加弹窗

This commit is contained in:
2025-11-11 14:38:38 +08:00
parent e4ba237a00
commit 57bd4ba109
8 changed files with 338 additions and 8 deletions

View File

@@ -0,0 +1,29 @@
//
// HomeRankDetailPopView.h
// keyBoard
//
// Created by Codex on 2025/11/11.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/// 排行榜详情弹窗的自定义内容视图(给 LSTPopView 使用)
@interface HomeRankDetailPopView : UIView
/// 保存按钮点击回调
@property (nonatomic, copy, nullable) void (^saveHandler)(void);
/// 关闭按钮点击回调(底部圆形 X
@property (nonatomic, copy, nullable) void (^closeHandler)(void);
/// 配置数据
- (void)configWithAvatar:(UIImage *_Nullable)avatar
title:(NSString *)title
download:(NSString *)download
desc:(NSString *)desc;
@end
NS_ASSUME_NONNULL_END