mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
@@ -7,8 +7,12 @@
|
||||
@click="checkData(item, index)"
|
||||
>
|
||||
<div class="twc-material-left">
|
||||
<div class="twc-material-bg"><img :src="item.bg" alt="bg" /></div>
|
||||
<div class="twc-material-icon"><img :src="item.icon" alt="icon" /></div>
|
||||
<div class="twc-material-bg">
|
||||
<img :src="`/icon/bg/${item.star}-Star.webp`" alt="bg" />
|
||||
</div>
|
||||
<div class="twc-material-icon">
|
||||
<img :src="`/icon/material/${item.id}.webp`" alt="icon" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="twc-material-right">{{ item.name }}</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
11
src/types/App/Character.d.ts
vendored
11
src/types/App/Character.d.ts
vendored
@@ -78,7 +78,7 @@ declare namespace TGApp.App.Character {
|
||||
* @property {TGApp.Plugins.Hutao.Character.RhiFetter[]} stories 故事
|
||||
* @return WikiItem
|
||||
*/
|
||||
interface WikiItem {
|
||||
type WikiItem = {
|
||||
id: number;
|
||||
name: string;
|
||||
title: string;
|
||||
@@ -88,12 +88,7 @@ declare namespace TGApp.App.Character {
|
||||
camp: string;
|
||||
constellation: string;
|
||||
birth: string;
|
||||
cv: {
|
||||
cn: string;
|
||||
jp: string;
|
||||
en: string;
|
||||
kr: string;
|
||||
};
|
||||
cv: { cn: string; jp: string; en: string; kr: string };
|
||||
};
|
||||
star: number;
|
||||
element: string;
|
||||
@@ -103,5 +98,5 @@ declare namespace TGApp.App.Character {
|
||||
constellation: TGApp.Plugins.Hutao.Character.RhisdTalent[];
|
||||
talks: TGApp.Plugins.Hutao.Character.RhiFetter[];
|
||||
stories: TGApp.Plugins.Hutao.Character.RhiFetter[];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user