feat(CharacterDetail): 添加神器使用占比展示

- 在角色详情页面增加神器使用占比模块
- 新增 ArtifactPercent 和 HeroDetailResp 接口用于处理神器数据
- 实
This commit is contained in:
hu xiaotong
2025-05-29 17:30:51 +08:00
parent 8dfa2f5e48
commit e16eb8e027

View File

@@ -53,8 +53,18 @@ export interface Hero {
headImgUrl: string;
}
interface ArtifactPercent {
artifactCode: string;
artifactName: string;
rarity: string;
role: string;
imageUrl: string;
percent: number;
}
// 角色详情接口类型
export interface HeroDetailResp {
heroArtifactPercentVOS: ArtifactPercent[];
heroRespSimpleVO: {
id: string;
heroCode: string;