feat(CharacterDetail): 添加神器使用占比展示
- 在角色详情页面增加神器使用占比模块 - 新增 ArtifactPercent 和 HeroDetailResp 接口用于处理神器数据 - 实
This commit is contained in:
@@ -53,8 +53,18 @@ export interface Hero {
|
|||||||
headImgUrl: string;
|
headImgUrl: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface ArtifactPercent {
|
||||||
|
artifactCode: string;
|
||||||
|
artifactName: string;
|
||||||
|
rarity: string;
|
||||||
|
role: string;
|
||||||
|
imageUrl: string;
|
||||||
|
percent: number;
|
||||||
|
}
|
||||||
|
|
||||||
// 角色详情接口类型
|
// 角色详情接口类型
|
||||||
export interface HeroDetailResp {
|
export interface HeroDetailResp {
|
||||||
|
heroArtifactPercentVOS: ArtifactPercent[];
|
||||||
heroRespSimpleVO: {
|
heroRespSimpleVO: {
|
||||||
id: string;
|
id: string;
|
||||||
heroCode: string;
|
heroCode: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user