feat: 优化发货凭证与字段兼容,隐藏内部积分展示并增强DLC角色解析
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user