refactor: 将模板示例内容移入模板包

This commit is contained in:
que01 committed 2026-09-25 08:32:57 +08:00
1 parent dd55af8d73
commit 6218ed395b
7 files changed
+517 -18

No files matched your search

@@ -281,6 +281,35 @@
}
]
},
"sampleContent": {
"food": {
"templateKey": "food",
"offerings": [
{
"kind": "package",
"name": "示例·今日套餐",
"summary": "现做家常套餐示例内容。",
"categoryKey": "set-meal"
},
{
"kind": "service",
"name": "示例·聚餐定制",
"summary": "按人数和口味沟通定制餐品。",
"categoryKey": "private-chef"
}
],
"trustContent": [
{ "type": "profile", "title": "关于主理人", "content": "示例内容,待品牌主理人完善。" },
{ "type": "process", "title": "从预订到取餐", "content": "示例内容,待品牌主理人完善。" }
],
"fields": [
{ "key": "date", "label": "用餐日期", "type": "date", "required": true },
{ "key": "number", "label": "用餐人数", "type": "number", "required": true },
{ "key": "phone", "label": "联系方式", "type": "phone", "required": true }
],
"capabilityKey": "booking"
}
},
"renderers": {
"home": "acheng-home",
"offerings": "acheng-offerings",