feat: 完善模板字段编辑与分类治理
This commit is contained in:
1 parent
91322fa9a0
commit
26bcb2b66e
23 files changed
+631
-250
No files matched your search
@@ -509,9 +509,23 @@ export const generatedTemplatePackageRegistry = [
|
||||
},
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "餐品类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{
|
||||
"value": "set-meal",
|
||||
"label": "套餐"
|
||||
},
|
||||
{
|
||||
"value": "private-chef",
|
||||
"label": "私厨"
|
||||
},
|
||||
{
|
||||
"value": "custom",
|
||||
"label": "定制餐品"
|
||||
}
|
||||
],
|
||||
"previewTarget": "acheng-campus-food.offerings.item"
|
||||
}
|
||||
],
|
||||
@@ -615,9 +629,23 @@ export const generatedTemplatePackageRegistry = [
|
||||
"fields": [
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "餐品类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{
|
||||
"value": "set-meal",
|
||||
"label": "套餐"
|
||||
},
|
||||
{
|
||||
"value": "private-chef",
|
||||
"label": "私厨"
|
||||
},
|
||||
{
|
||||
"value": "custom",
|
||||
"label": "定制餐品"
|
||||
}
|
||||
],
|
||||
"previewTarget": "acheng-campus-food.detail.dishDetail"
|
||||
},
|
||||
{
|
||||
@@ -1753,9 +1781,31 @@ export const generatedTemplatePackageRegistry = [
|
||||
},
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "案例类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{
|
||||
"value": "entrance-door",
|
||||
"label": "入户大门"
|
||||
},
|
||||
{
|
||||
"value": "garden-door",
|
||||
"label": "庭院围墙门"
|
||||
},
|
||||
{
|
||||
"value": "interior-door",
|
||||
"label": "室内户内门"
|
||||
},
|
||||
{
|
||||
"value": "stealth-door",
|
||||
"label": "装饰隐形门"
|
||||
},
|
||||
{
|
||||
"value": "custom",
|
||||
"label": "设计咨询"
|
||||
}
|
||||
],
|
||||
"previewTarget": "linjing-editorial.home.offering"
|
||||
},
|
||||
{
|
||||
@@ -2189,9 +2239,31 @@ export const generatedTemplatePackageRegistry = [
|
||||
},
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "案例类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{
|
||||
"value": "entrance-door",
|
||||
"label": "入户大门"
|
||||
},
|
||||
{
|
||||
"value": "garden-door",
|
||||
"label": "庭院围墙门"
|
||||
},
|
||||
{
|
||||
"value": "interior-door",
|
||||
"label": "室内户内门"
|
||||
},
|
||||
{
|
||||
"value": "stealth-door",
|
||||
"label": "装饰隐形门"
|
||||
},
|
||||
{
|
||||
"value": "custom",
|
||||
"label": "设计咨询"
|
||||
}
|
||||
],
|
||||
"previewTarget": "linjing-editorial.offerings.item"
|
||||
},
|
||||
{
|
||||
@@ -2320,9 +2392,31 @@ export const generatedTemplatePackageRegistry = [
|
||||
"fields": [
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "案例类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{
|
||||
"value": "entrance-door",
|
||||
"label": "入户大门"
|
||||
},
|
||||
{
|
||||
"value": "garden-door",
|
||||
"label": "庭院围墙门"
|
||||
},
|
||||
{
|
||||
"value": "interior-door",
|
||||
"label": "室内户内门"
|
||||
},
|
||||
{
|
||||
"value": "stealth-door",
|
||||
"label": "装饰隐形门"
|
||||
},
|
||||
{
|
||||
"value": "custom",
|
||||
"label": "设计咨询"
|
||||
}
|
||||
],
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
@@ -3028,4 +3122,4 @@ export const generatedTemplatePackageRegistry = [
|
||||
}
|
||||
];
|
||||
export const generatedTemplatePackageRegistryHash =
|
||||
"dbe686adc4c4efa5a7667c08671381fb28152c688baefcc70bf52655bed3012e";
|
||||
"56656913de9cbf7f406e705cfea33698f2404b23f3b6fe9423345a8bef57708e";
|
||||
@@ -235,15 +235,27 @@ export interface TemplatePackageManifest {
|
||||
key: string;
|
||||
title: string;
|
||||
description: string;
|
||||
page: string;
|
||||
target: "brand" | "offering" | "trust" | "inquiry";
|
||||
previewTargets?: readonly {
|
||||
key: string;
|
||||
label: string;
|
||||
composite?: boolean;
|
||||
children?: readonly string[];
|
||||
}[];
|
||||
fields: readonly {
|
||||
key: string;
|
||||
binding: string;
|
||||
label: string;
|
||||
input: string;
|
||||
help?: string;
|
||||
required?: boolean;
|
||||
itemFields?: readonly { key: string; label: string; input?: string; required?: boolean }[];
|
||||
itemValueKey?: string;
|
||||
maxLength?: number;
|
||||
placeholder?: string;
|
||||
options?: readonly { value: string; label: string }[];
|
||||
previewTarget?: string;
|
||||
}[];
|
||||
}[];
|
||||
};
|
||||
|
||||
@@ -496,9 +496,14 @@
|
||||
},
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "餐品类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{ "value": "set-meal", "label": "套餐" },
|
||||
{ "value": "private-chef", "label": "私厨" },
|
||||
{ "value": "custom", "label": "定制餐品" }
|
||||
],
|
||||
"previewTarget": "acheng-campus-food.offerings.item"
|
||||
}
|
||||
],
|
||||
@@ -602,9 +607,14 @@
|
||||
"fields": [
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "餐品类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{ "value": "set-meal", "label": "套餐" },
|
||||
{ "value": "private-chef", "label": "私厨" },
|
||||
{ "value": "custom", "label": "定制餐品" }
|
||||
],
|
||||
"previewTarget": "acheng-campus-food.detail.dishDetail"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -224,9 +224,16 @@
|
||||
},
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "案例类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{ "value": "entrance-door", "label": "入户大门" },
|
||||
{ "value": "garden-door", "label": "庭院围墙门" },
|
||||
{ "value": "interior-door", "label": "室内户内门" },
|
||||
{ "value": "stealth-door", "label": "装饰隐形门" },
|
||||
{ "value": "custom", "label": "设计咨询" }
|
||||
],
|
||||
"previewTarget": "linjing-editorial.home.offering"
|
||||
},
|
||||
{
|
||||
@@ -660,9 +667,16 @@
|
||||
},
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "案例类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{ "value": "entrance-door", "label": "入户大门" },
|
||||
{ "value": "garden-door", "label": "庭院围墙门" },
|
||||
{ "value": "interior-door", "label": "室内户内门" },
|
||||
{ "value": "stealth-door", "label": "装饰隐形门" },
|
||||
{ "value": "custom", "label": "设计咨询" }
|
||||
],
|
||||
"previewTarget": "linjing-editorial.offerings.item"
|
||||
},
|
||||
{
|
||||
@@ -791,9 +805,16 @@
|
||||
"fields": [
|
||||
{
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"binding": "offering.config.categoryKey",
|
||||
"label": "案例类别",
|
||||
"input": "text",
|
||||
"input": "select",
|
||||
"options": [
|
||||
{ "value": "entrance-door", "label": "入户大门" },
|
||||
{ "value": "garden-door", "label": "庭院围墙门" },
|
||||
{ "value": "interior-door", "label": "室内户内门" },
|
||||
{ "value": "stealth-door", "label": "装饰隐形门" },
|
||||
{ "value": "custom", "label": "设计咨询" }
|
||||
],
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user