diff --git a/public/pic/eqset/setprotection.png b/public/pic/eqset/setprotection.png new file mode 100644 index 0000000..89bdc48 Binary files /dev/null and b/public/pic/eqset/setprotection.png differ diff --git a/src/api/index.ts b/src/api/index.ts index d84a6e7..a40dd32 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -115,6 +115,8 @@ export interface HeroDetailResp { efr: number; hds: string; ctr: string; + arfName: string; + arfPic: string; }[]; } diff --git a/src/pages/CharacterDetail.tsx b/src/pages/CharacterDetail.tsx index ae98c12..822c94a 100644 --- a/src/pages/CharacterDetail.tsx +++ b/src/pages/CharacterDetail.tsx @@ -215,6 +215,7 @@ const setIconMap: Record = { '破灭': '/pic/eqset/setdestruction.png', '暴击': '/pic/eqset/setcritical.png', '伤口': '/pic/eqset/setinjury.png', + '护盾': '/pic/eqset/setprotection.png', }; // 神器图片映射 @@ -581,10 +582,20 @@ const CharacterDetail: React.FC = () => { {/* 神器图片 */}
-
?
+ {build.arfPic ? ( + {build.arfName + ) : ( +
?
+ )}
{/* 神器名称 */} - 暂无神器数据 + + {build.arfName || '暂无神器数据'} +