feat: 全精油椰子油按实际295mL(2.57瓶)计算成本和可用量
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 12s
Test / e2e-test (push) Failing after 3m40s

套装配置支持 bottleCount 字段指定某种油的瓶数倍率

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-14 00:00:45 +00:00
parent 2d8670bc1a
commit 9fe6eeaf29
2 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
// doTERRA 套装配置
// 价格和内容更新频率低,手动维护即可
// bottleCount: 某种油在套装中的瓶数用于成本分摊和可做次数计算默认1
export const KITS = [
{
id: 'aroma',
@@ -52,5 +53,7 @@ export const KITS = [
'柑橘清新', '顺畅呼吸', '净化清新', '赋活呼吸', '天然防护',
'椰子油',
],
// 115mL×1 + 30mL×6 = 295mL, 标准瓶115mL, 约2.57瓶
bottleCount: { '椰子油': 2.57 },
},
]