UI: 预览环境显示构建时间 + 售价默认299
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 6s
PR Preview / deploy-preview (pull_request) Successful in 9s
Test / e2e-test (push) Has been cancelled

- 预览栏显示部署时间(如 04/11 10:05)
- 售价默认299
- vite构建时注入__BUILD_TIME__

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-11 09:56:16 +00:00
parent b7315219c7
commit d3e3b89701
3 changed files with 10 additions and 4 deletions

View File

@@ -304,7 +304,7 @@ function selectDemoProject() {
packaging_cost: p.packaging_cost || 0,
labor_cost: p.labor_cost || 0,
other_cost: p.other_cost || 0,
selling_price: p.selling_price || 0,
selling_price: p.selling_price || 299,
quantity: p.quantity || 1,
notes: p.notes || '',
}
@@ -330,7 +330,7 @@ async function createProject() {
packaging_cost: 0,
labor_cost: 0,
other_cost: 0,
selling_price: 0,
selling_price: 299,
quantity: 1,
notes: '',
}),
@@ -357,7 +357,7 @@ function selectProject(p) {
packaging_cost: p.packaging_cost || 0,
labor_cost: p.labor_cost || 0,
other_cost: p.other_cost || 0,
selling_price: p.selling_price || 0,
selling_price: p.selling_price || 299,
quantity: p.quantity || 1,
notes: p.notes || '',
}