feat(items): add dye previews support

Add item_dye_previews table to store color preview images per dyeable part
Update item detail and edit views to support managing dye previews
This commit is contained in:
2026-05-13 17:06:49 +08:00
parent c15905bafd
commit a42c8ef5c8
8 changed files with 400 additions and 14 deletions

View File

@@ -733,6 +733,13 @@ export const systemWordingMessages = {
dyeable: 'Dyeable',
dualDyeable: 'Dual dyeable',
tripleDyeable: 'Triple dyeable',
dyePart: 'Dye part',
dyePartLabel: 'Part {number}',
dyeColor: 'Dye color',
dyePreviews: 'Dye previews',
addDyePreview: 'Add preview',
dyePreviewImagePath: 'Preview image path',
dyePreviewAlt: '{name} part {part} dyed {color}',
patternEditable: 'Pattern editable',
noRecipe: 'No recipe',
eventItem: 'Event item',
@@ -2165,6 +2172,13 @@ export const systemWordingMessages = {
dyeable: '可染色',
dualDyeable: '可双区染色',
tripleDyeable: '可三区染色',
dyePart: '染色部位',
dyePartLabel: '部位 {number}',
dyeColor: '染色颜色',
dyePreviews: '染色预览',
addDyePreview: '添加预览',
dyePreviewImagePath: '预览图片路径',
dyePreviewAlt: '{name} 部位 {part} 染成 {color}',
patternEditable: '可改花纹',
noRecipe: '无材料单',
eventItem: '活动物品',