feat: 优化发货凭证与字段兼容,隐藏内部积分展示并增强DLC角色解析

This commit is contained in:
yml2213
2026-09-14 17:37:53 +08:00
parent 5f642eb7a6
commit bf9614569e
4 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -123,10 +123,10 @@ export async function generateDeliveryVoucher(order: DeliveryOrderInfo): Promise
const gameText = order.product?.game ? ` · ${order.product.game}` : ''
ctx.fillText(skuText + gameText, textLeft, prodCardY + 120)
// 金额与数量
// 交付状态与数量
ctx.fillStyle = '#16a34a'
ctx.font = 'bold 28px -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif'
ctx.fillText(`已发放: 1 件 | 价值: ${order.amount} 积分`, textLeft, prodCardY + 168)
ctx.fillText('已发放: 1 件', textLeft, prodCardY + 168)
// 6. 核心凭证字段明细表
const tableY = prodCardY + prodCardH + 32