BIN
public/icon/material/113068.webp
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
public/icon/material/113069.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/icon/material/113070.webp
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
public/icon/material/113071.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
public/icon/material/129002.webp
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
public/icon/material/220110.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
public/icon/material/220111.webp
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
public/icon/material/220112.webp
Normal file
|
After Width: | Height: | Size: 10 KiB |
@@ -7,8 +7,12 @@
|
|||||||
@click="checkData(item, index)"
|
@click="checkData(item, index)"
|
||||||
>
|
>
|
||||||
<div class="twc-material-left">
|
<div class="twc-material-left">
|
||||||
<div class="twc-material-bg"><img :src="item.bg" alt="bg" /></div>
|
<div class="twc-material-bg">
|
||||||
<div class="twc-material-icon"><img :src="item.icon" alt="icon" /></div>
|
<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>
|
||||||
<div class="twc-material-right">{{ item.name }}</div>
|
<div class="twc-material-right">{{ item.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
11
src/types/App/Character.d.ts
vendored
@@ -78,7 +78,7 @@ declare namespace TGApp.App.Character {
|
|||||||
* @property {TGApp.Plugins.Hutao.Character.RhiFetter[]} stories 故事
|
* @property {TGApp.Plugins.Hutao.Character.RhiFetter[]} stories 故事
|
||||||
* @return WikiItem
|
* @return WikiItem
|
||||||
*/
|
*/
|
||||||
interface WikiItem {
|
type WikiItem = {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
title: string;
|
title: string;
|
||||||
@@ -88,12 +88,7 @@ declare namespace TGApp.App.Character {
|
|||||||
camp: string;
|
camp: string;
|
||||||
constellation: string;
|
constellation: string;
|
||||||
birth: string;
|
birth: string;
|
||||||
cv: {
|
cv: { cn: string; jp: string; en: string; kr: string };
|
||||||
cn: string;
|
|
||||||
jp: string;
|
|
||||||
en: string;
|
|
||||||
kr: string;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
star: number;
|
star: number;
|
||||||
element: string;
|
element: string;
|
||||||
@@ -103,5 +98,5 @@ declare namespace TGApp.App.Character {
|
|||||||
constellation: TGApp.Plugins.Hutao.Character.RhisdTalent[];
|
constellation: TGApp.Plugins.Hutao.Character.RhisdTalent[];
|
||||||
talks: TGApp.Plugins.Hutao.Character.RhiFetter[];
|
talks: TGApp.Plugins.Hutao.Character.RhiFetter[];
|
||||||
stories: TGApp.Plugins.Hutao.Character.RhiFetter[];
|
stories: TGApp.Plugins.Hutao.Character.RhiFetter[];
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|||||||