feat: 增加可视化模板页面编辑器
This commit is contained in:
1 parent
9d2038cc93
commit
c5af790554
24 files changed
+773
-129
No files matched your search
@@ -188,9 +188,16 @@
|
||||
"description": "说明今天在哪里、何时营业,以及餐品有什么特点。",
|
||||
"page": "home",
|
||||
"target": "brand",
|
||||
"previewTargets": [
|
||||
{ "key": "food.home.location", "label": "服务地点" },
|
||||
{ "key": "food.home.hero", "label": "出摊现场图片" },
|
||||
{ "key": "food.home.offerings-heading", "label": "餐品区域标题" },
|
||||
{ "key": "food.home.promise-heading", "label": "出餐承诺标题" }
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"key": "stallTitle",
|
||||
"previewTarget": "food.home.location",
|
||||
"binding": "brand.config.visualPresentation.home.stallTitle",
|
||||
"label": "出摊信息标题",
|
||||
"input": "text",
|
||||
@@ -198,6 +205,7 @@
|
||||
},
|
||||
{
|
||||
"key": "heroImage",
|
||||
"previewTarget": "food.home.hero",
|
||||
"binding": "brand.config.heroImage",
|
||||
"label": "出摊现场主图",
|
||||
"help": "展示真实摊位、餐品或取餐场景,建议使用横向图片。",
|
||||
@@ -206,6 +214,7 @@
|
||||
},
|
||||
{
|
||||
"key": "stallTime",
|
||||
"previewTarget": "food.home.location",
|
||||
"binding": "brand.config.visualPresentation.home.stallTime",
|
||||
"label": "营业时间说明",
|
||||
"input": "text",
|
||||
@@ -213,18 +222,21 @@
|
||||
},
|
||||
{
|
||||
"key": "worksEyebrow",
|
||||
"previewTarget": "food.home.offerings-heading",
|
||||
"binding": "brand.config.visualPresentation.home.worksEyebrow",
|
||||
"label": "餐品区域小标题",
|
||||
"input": "text"
|
||||
},
|
||||
{
|
||||
"key": "worksTitle",
|
||||
"previewTarget": "food.home.offerings-heading",
|
||||
"binding": "brand.config.visualPresentation.home.worksTitle",
|
||||
"label": "招牌餐品标题",
|
||||
"input": "text"
|
||||
},
|
||||
{
|
||||
"key": "manifestoTitle",
|
||||
"previewTarget": "food.home.promise-heading",
|
||||
"binding": "brand.config.visualPresentation.home.manifestoTitle",
|
||||
"label": "出餐承诺标题",
|
||||
"input": "text"
|
||||
|
||||
Reference in new issue
Block a user