feat: 完善模板内容后台配置能力

This commit is contained in:
que01 committed 2026-09-28 17:30:34 +08:00
1 parent 2bc2193b44
commit 9266ec824a
37 files changed
+2273 -63

No files matched your search

+9 -1
View File
@@ -70,7 +70,14 @@ export interface TemplateAdminField {
binding: string;
label: string;
help?: string;
input: "text" | "textarea" | "phone" | "image" | "number";
input: "text" | "textarea" | "phone" | "image" | "number" | "list";
itemFields?: Array<{
key: string;
label: string;
input?: "text" | "textarea";
required?: boolean;
}>;
itemValueKey?: string;
required?: boolean;
maxLength?: number;
placeholder?: string;
@@ -93,6 +100,7 @@ export interface AdminTemplateContent {
help?: string;
placeholder?: string;
required?: boolean;
configFields?: TemplateAdminField[];
}>;
assetSlots: Array<{
key: string;