新增 MedalsDetailView 和 MedalsLevelIndicatorView 组件,更新 MedalsCollectionViewCell 以支持 MP4 播放控制和可见性管理,优化相关逻辑以提升用户体验,保持代码结构一致性。
This commit is contained in:
21
YuMi/Modules/YMMine/View/Medals/MedalsLevelIndicatorView.h
Normal file
21
YuMi/Modules/YMMine/View/Medals/MedalsLevelIndicatorView.h
Normal 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
|
Reference in New Issue
Block a user