Files
beauty-miniapp-uni/common/demoOrders.js
T
2026-06-29 10:54:33 +08:00

83 lines
2.2 KiB
JavaScript

export const demoOrders = [
{
id: 'ord_demo_booking_001',
createdAt: Date.now() - 2 * 24 * 60 * 60 * 1000,
status: '待核销',
amount: 99,
projectId: 'p1',
projectName: '水氧净透体验',
durationMin: 60,
orderType: 'booking',
appointmentDate: '2026-06-22',
appointmentSlot: '14:30',
technicianName: '系统分配',
note: '敏感肌,想要补水修护',
verifyCode: 'VC20260622001'
},
{
id: 'ord_demo_coupon_001',
createdAt: Date.now() - 5 * 24 * 60 * 60 * 1000,
status: '待核销',
amount: 899,
projectId: 'p5',
projectName: '皮肤管理次卡 5 次',
durationMin: 60,
orderType: 'coupon',
couponTitle: '皮肤管理次卡 5 次',
couponPlanKey: 'times5',
couponPlanLabel: '次卡 5 次',
validText: '有效期 180 天',
remainingTimes: 5,
verifyCode: 'VC20260622002'
},
{
id: 'ord_demo_booking_002',
createdAt: Date.now() - 12 * 24 * 60 * 60 * 1000,
status: '已完成',
amount: 188,
projectId: 'p4',
projectName: '肩颈舒缓筋膜放松',
durationMin: 60,
orderType: 'booking',
appointmentDate: '2026-06-10',
appointmentSlot: '19:00',
technicianName: '周晴',
note: '',
verifyCode: 'VC20260622003',
verifiedAt: Date.now() - 12 * 24 * 60 * 60 * 1000 + 2 * 60 * 60 * 1000
},
{
id: 'ord_demo_coupon_002',
createdAt: Date.now() - 20 * 24 * 60 * 60 * 1000,
status: '已完成',
amount: 299,
projectId: 'p9',
projectName: '新客体验套餐 · 3 次',
durationMin: 60,
orderType: 'coupon',
couponTitle: '新客体验套餐 · 3 次',
couponPlanKey: 'package',
couponPlanLabel: '套餐',
validText: '有效期 90 天',
remainingTimes: 0,
verifyCode: 'VC20260622004'
},
{
id: 'ord_demo_unpaid_001',
createdAt: Date.now() - 1 * 60 * 60 * 1000,
status: '待付款',
amount: 168,
projectId: 'p2',
projectName: '深层清洁黑头管理',
durationMin: 75,
orderType: 'coupon',
couponTitle: '深层清洁黑头管理',
couponPlanKey: 'single',
couponPlanLabel: '单次券',
validText: '有效期 30 天',
remainingTimes: 1,
verifyCode: 'VC20260622005'
}
]