♻️ 剔除WIKI JSON冗余数据,添加材料数据

#139
This commit is contained in:
目棃
2024-12-31 11:50:11 +08:00
parent f0d48e866c
commit 70615dd79b
13 changed files with 6608 additions and 33056 deletions

View File

@@ -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

View File

@@ -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[];
}
};
}