feat(勋章): 新增多等级高亮功能并优化勋章展示逻辑
refactor(勋章排行): 重构排行榜分页加载和刷新逻辑 fix(会话): 优化官方账号判断逻辑和跳转处理 style(UI): 调整勋章排行榜和游戏菜单UI布局 chore: 更新Podfile配置和bitcode框架列表
This commit is contained in:
@@ -23,6 +23,13 @@ typedef NS_ENUM(NSInteger, MedalsLevelIndicatorType) {
|
||||
- (void)setupWithMaxLevel:(NSInteger)maxLevel;
|
||||
- (void)setSelectedLevel:(NSInteger)level animated:(BOOL)animated;
|
||||
|
||||
/**
|
||||
* 设置多个高亮等级
|
||||
* @param levels 需要高亮的等级数组
|
||||
* @param animated 是否使用动画
|
||||
*/
|
||||
- (void)setHighlightLevels:(NSArray<NSNumber *> *)levels animated:(BOOL)animated;
|
||||
|
||||
/**
|
||||
* 重置等级指示器到指定等级
|
||||
* @param level 等级(0表示重置到初始状态)
|
||||
|
Reference in New Issue
Block a user