feat(order): support balance payment, dynamic marketing coupon recommendation, and quick activity picker

这个提交包含在:
xcbyy
2026-10-10 15:37:41 +08:00
父节点 872af22c20
当前提交 7ac81035b4
共有 7 个文件被更改,包括 559 次插入 和 18 次删除

查看文件

@@ -267,6 +267,8 @@ export function formatOrderData(raw) {
status: statusKey,
meetVenue: raw.location || raw.meetVenue || '北京市公开商圈',
expenseBurden: raw.expenseBurden || raw.expense_burden || 'AA制各自付',
payType: raw.payType || raw.pay_type || 'WECHAT',
couponDiscount: Number(raw.couponDiscount || raw.coupon_discount || 0),
verifyCode: raw.verifyCode || raw.verify_code || '',
remark: raw.remark || '',
createdAt: raw.createdAt || raw.created_at || '刚刚'

查看文件

@@ -16,6 +16,21 @@ export const ICONS = {
</svg>
`),
wallet: svgToUri(`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#6366F1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M20 12V8H6a2 2 0 0 1-2-2c0-1.1.9-2 2-2h12v4"></path>
<path d="M4 6v12a2 2 0 0 0 2 2h14v-4"></path>
<path d="M18 12a2 2 0 0 0-2 2c0 1.1.9 2 2 2h4v-4h-4z"></path>
</svg>
`),
wechat: svgToUri(`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#10B981" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M17 10c0-3.3-3.1-6-7-6S3 6.7 3 10c0 1.9 1 3.6 2.6 4.7L5 18l3.6-1.8c.4.1.9.1 1.4.1 3.9 0 7-2.7 7-6.3z"></path>
<path d="M17 12c2.8 0 5 1.8 5 4 0 1.1-.6 2.2-1.7 2.9L21 21l-2.4-1.2c-.5.1-1.1.2-1.6.2-2.8 0-5-1.8-5-4 0-2.2 2.2-4 5-4z"></path>
</svg>
`),
flame: svgToUri(`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#FFFFFF">
<path d="M12 2c-.6 2.7-2.6 4.7-3.9 6.2C6.5 10 5 12.3 5 15c0 3.9 3.1 7 7 7s7-3.1 7-7c0-2.3-1.2-4.4-2.8-6-1.5-1.5-3.6-3.7-4.2-7zM12 19c-2.2 0-4-1.8-4-4 0-1.5.8-2.8 1.9-3.8.3-.3.8-.1.8.3.1 1.2.9 2.2 2.1 2.5.4.1.7.5.7.9 0 2.3-1.5 4.1-1.5 4.1z"/>