83 lines
2.2 KiB
JSON
83 lines
2.2 KiB
JSON
{
|
|
"packageKey": "drill-consultant",
|
|
"version": "0.1.0",
|
|
"displayName": "咨询师演练模板",
|
|
"visualTemplateKey": "drill-consultant",
|
|
"defaultBrandSlug": "drill-consultant",
|
|
"runtimeContract": "1.0",
|
|
"supportedIndustryTemplates": ["consulting"],
|
|
"entrypoints": {
|
|
"home": "pages/index/index",
|
|
"offerings": "pages/services/index",
|
|
"detail": "pages/offering/detail",
|
|
"inquiry": "pages/inquiry/index",
|
|
"success": "pages/inquiry-success/index",
|
|
"records": "pages/records/index",
|
|
"profile": "pages/profile/index"
|
|
},
|
|
"navigation": [
|
|
{ "key": "home", "label": "首页", "page": "home" },
|
|
{ "key": "offerings", "label": "服务", "page": "offerings" },
|
|
{ "key": "profile", "label": "关于我", "page": "profile" }
|
|
],
|
|
"requiredCapabilities": ["offerings", "inquiry"],
|
|
"pages": ["pages/index/index", "pages/services/index", "pages/profile/index"],
|
|
"dataSlots": [
|
|
{
|
|
"key": "brand.identity",
|
|
"source": "brand",
|
|
"required": true,
|
|
"description": "顾问姓名、定位和联系方式"
|
|
},
|
|
{
|
|
"key": "offering.list",
|
|
"source": "offering",
|
|
"required": true,
|
|
"description": "咨询服务项目"
|
|
}
|
|
],
|
|
"assetSlots": [],
|
|
"admin": {
|
|
"sections": [
|
|
{
|
|
"key": "identity",
|
|
"title": "顾问介绍",
|
|
"description": "客户在首页看到的姓名和定位",
|
|
"page": "home",
|
|
"fields": [
|
|
{
|
|
"key": "name",
|
|
"binding": "brand.name",
|
|
"label": "姓名",
|
|
"input": "text",
|
|
"required": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"previewFixture": {
|
|
"consulting": {
|
|
"schemaVersion": "1",
|
|
"brand": {
|
|
"name": "咨询师演练",
|
|
"tagline": "用于编译器测试的虚构品牌",
|
|
"description": "此内容仅用于模板编译器测试。"
|
|
},
|
|
"content": {
|
|
"templateKey": "consulting",
|
|
"inquiryFormName": "演练咨询表单",
|
|
"capabilityKey": "inquiry",
|
|
"offerings": [],
|
|
"trustContent": [],
|
|
"fields": []
|
|
},
|
|
"safety": {
|
|
"submissions": "disabled",
|
|
"customerRecords": "disabled",
|
|
"contactActions": "disabled"
|
|
}
|
|
}
|
|
}
|
|
}
|