新增 MedalsDetailView 和 MedalsLevelIndicatorView 组件,更新 MedalsCollectionViewCell 以支持 MP4 播放控制和可见性管理,优化相关逻辑以提升用户体验,保持代码结构一致性。

This commit is contained in:
edwinQQQ
2025-06-18 18:31:13 +08:00
parent 413b2c6944
commit 887bb19056
8 changed files with 704 additions and 273 deletions

View File

@@ -0,0 +1,21 @@
//
// MedalsLevelIndicatorView.h
// YuMi
//
// Created by P on 2025/6/18.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MedalsLevelIndicatorView : UIView
@property (nonatomic, copy) void (^levelSelectedBlock)(NSInteger level);
- (void)setupWithMaxLevel:(NSInteger)maxLevel;
- (void)setSelectedLevel:(NSInteger)level animated:(BOOL)animated;
@end
NS_ASSUME_NONNULL_END