npm i yugioh-card// 可选 YugiohCard, RushDuelCard, YugiohBackCard, FieldCenterCard, YugiohSeries2Card import { YugiohCard } from 'yugioh-card'; const card = new YugiohCard({ view: 'xxx', // div 容器 data: { ... // 参数见下方 Data 属性 }, resourcePath: 'xxx', // 静态资源路径...
The only drawback of this approach is that the image is not updated if it's modified; you have to manually delete the card(s) from the "pics" folder to download the new one. If the effect text is changed, you shouldn't even notice the discrepancy in text and image; the text in ...
– start YuGiOh-World.com button code –> <!– end YuGiOh-World.com button code –> <!– start YuGiOh-World.com button code –>
0 images/background.jpg → static/images/background.jpg Show comments View file Edit file Delete file File renamed without changes 0 images/card/Dark.png → static/images/card/Dark.png Show comments View file Edit file Delete file File renamed without changes 0 images/card/Effect.p...
// 可选 YugiohCard, RushDuelCard, YugiohBackCard, FieldCenterCard, YugiohSeries2Card import { YugiohCard } from 'yugioh-card'; const card = new YugiohCard({ view: 'xxx', // div 容器 data: { ... // 参数见下方 Data 属性 }, resourcePath: 'xxx', // 静态资源路径,把 src/assets/...
cardBack 是否是卡背 boolean — — false radius 是否是圆角 boolean — — true scale 卡片缩放 number — — 1 游戏王 2 期 属性名说明类型可选值备注默认值 language 语言 enum 'jp' 日文 'jp' font 字体 enum '' / 'custom1' / 'custom2' 默认/ 华康隶书体 / 文鼎中粗隶简繁 '' name 卡名 ...