fix: 收敛模板编辑发布契约并还原餐饮页面视觉

This commit is contained in:
que01 committed 2026-10-08 13:36:59 +08:00
1 parent 20bcb43534
commit f4061a24bd
102 files changed
+4510 -870

No files matched your search

+505 -102
View File
@@ -141,7 +141,8 @@ export const generatedTemplatePackageRegistry = [
{
"key": "identity",
"title": "摊位与主理人",
"description": "让访客知道谁在出餐、在哪里可以找到你。",
"description": "配置主理人姓名与身份,介绍、头像和联系方式在品牌资料中编辑。",
"page": "profile",
"target": "brand",
"fields": [
{
@@ -152,13 +153,6 @@ export const generatedTemplatePackageRegistry = [
"required": true,
"placeholder": "例如:阿成"
},
{
"key": "portrait",
"binding": "brand.config.avatarUrl",
"label": "主理人照片",
"help": "使用清晰、真实的照片,让顾客知道是谁在认真做餐。",
"input": "image"
},
{
"key": "title",
"binding": "brand.config.title",
@@ -168,29 +162,29 @@ export const generatedTemplatePackageRegistry = [
"required": true
},
{
"key": "slogan",
"binding": "brand.config.slogan",
"label": "想对顾客说的一句话",
"input": "textarea",
"maxLength": 80
},
{
"key": "studioAddress",
"binding": "brand.config.studioAddress",
"label": "出摊地点或服务范围",
"key": "badge",
"binding": "brand.config.visualPresentation.profile.badge",
"label": "写真角标",
"input": "text",
"required": true
"help": "显示在主理人写真上,可填写经验或服务定位。"
},
{
"key": "phone",
"binding": "brand.config.phone",
"label": "公开联系电话",
"input": "phone"
"key": "storyLead",
"binding": "brand.config.visualPresentation.profile.storyLead",
"label": "故事引言",
"input": "textarea",
"help": "故事开头的强调段落,下面的正文使用品牌简介。"
},
{
"key": "wechat",
"binding": "brand.config.wechat",
"label": "公开微信号",
"key": "recordsTitle",
"binding": "brand.config.visualPresentation.profile.recordsTitle",
"label": "记录入口文案",
"input": "text"
},
{
"key": "recordsCountUnit",
"binding": "brand.config.visualPresentation.profile.recordsCountUnit",
"label": "记录数量单位",
"input": "text"
}
]
@@ -199,6 +193,7 @@ export const generatedTemplatePackageRegistry = [
"key": "home",
"title": "首页出摊信息",
"description": "说明今天在哪里、何时营业,以及餐品有什么特点。",
"page": "home",
"target": "brand",
"fields": [
{
@@ -223,18 +218,6 @@ export const generatedTemplatePackageRegistry = [
"input": "text",
"placeholder": "例如:17:00 - 22:30 · 今日营业中"
},
{
"key": "coverageContent",
"binding": "brand.config.visualPresentation.profile.coverageContent",
"label": "取餐与配送说明",
"input": "textarea"
},
{
"key": "coverageTitle",
"binding": "brand.config.visualPresentation.profile.coverageTitle",
"label": "服务方式标题",
"input": "text"
},
{
"key": "worksEyebrow",
"binding": "brand.config.visualPresentation.home.worksEyebrow",
@@ -258,23 +241,10 @@ export const generatedTemplatePackageRegistry = [
{
"key": "service",
"title": "出摊服务页说明",
"description": "设置出摊服务页的区块标题和咨询入口文字;具体时间、范围和流程内容在信任内容中维护。",
"description": "设置出摊服务页的咨询按钮;日程、取餐配送和流程在对应内容编辑器中维护。",
"page": "service",
"target": "brand",
"fields": [
{
"key": "coverageLabel",
"binding": "brand.config.visualPresentation.service.coverageLabel",
"label": "服务范围标签",
"input": "text",
"placeholder": "例如:取餐与配送"
},
{
"key": "stepLabel",
"binding": "brand.config.visualPresentation.service.stepLabel",
"label": "流程步骤标签",
"input": "text",
"placeholder": "例如:第"
},
{
"key": "processAction",
"binding": "brand.config.visualPresentation.service.processAction",
@@ -288,6 +258,7 @@ export const generatedTemplatePackageRegistry = [
"key": "menu",
"title": "菜单页说明",
"description": "帮助顾客理解日常餐品和团体定制的选择方式。",
"page": "offerings",
"target": "brand",
"fields": [
{
@@ -316,6 +287,7 @@ export const generatedTemplatePackageRegistry = [
"key": "booking",
"title": "预订与定制",
"description": "告诉顾客提交信息后会如何确认餐品和时间。",
"page": "inquiry",
"target": "inquiry",
"fields": [
{
@@ -351,6 +323,7 @@ export const generatedTemplatePackageRegistry = [
"key": "dishDetail",
"title": "餐品与服务详情",
"description": "每项餐品或服务单独填写;没有内容的详情区块不会展示。",
"page": "detail",
"target": "offering",
"fields": [
{
@@ -443,6 +416,7 @@ export const generatedTemplatePackageRegistry = [
"key": "detailCopy",
"title": "详情页说明",
"description": "解释价格、餐品内容和咨询后会怎样处理。",
"page": "detail",
"target": "brand",
"fields": [
{
@@ -500,6 +474,7 @@ export const generatedTemplatePackageRegistry = [
"key": "successCopy",
"title": "提交成功页",
"description": "顾客提交后看到的确认信息与后续预期。",
"page": "success",
"target": "brand",
"fields": [
{
@@ -539,6 +514,7 @@ export const generatedTemplatePackageRegistry = [
"key": "recordsCopy",
"title": "咨询记录页",
"description": "顾客查看预订与咨询处理进度时看到的内容。",
"page": "records",
"target": "brand",
"fields": [
{
@@ -578,44 +554,320 @@ export const generatedTemplatePackageRegistry = [
"trustContentTypes": [
{
"type": "schedule",
"label": "出摊与营业安排",
"help": "说明固定出摊时间、临时营业安排或接受预订的时段。",
"placeholder": "例如:周一至周五 17:00 - 22:30",
"required": true
"label": "每周出摊安排",
"adminFields": {
"title": "安排标题",
"summary": "主要时段(周一至周五)",
"content": "其他时段与补充安排(周末等)",
"summaryHelp": "此摘要作为出摊服务页的主要时段展示。",
"summaryPlaceholder": "周一至周五 17:00 - 22:30"
},
"configFields": [
{
"key": "status",
"binding": "trust.config.status",
"label": "状态标签",
"input": "text",
"required": false
},
{
"key": "weekdayLabel",
"binding": "trust.config.weekdayLabel",
"label": "工作日标题",
"input": "text",
"required": true
},
{
"key": "weekdayTag",
"binding": "trust.config.weekdayTag",
"label": "工作日标签",
"input": "text",
"required": false
},
{
"key": "weekdayDetail",
"binding": "trust.config.weekdayDetail",
"label": "工作日地点",
"input": "textarea",
"required": true
},
{
"key": "weekdayHours",
"binding": "trust.config.weekdayHours",
"label": "工作日营业时间",
"input": "text",
"required": false
},
{
"key": "weekendLabel",
"binding": "trust.config.weekendLabel",
"label": "周末标题",
"input": "text",
"required": true
},
{
"key": "weekendTag",
"binding": "trust.config.weekendTag",
"label": "周末标签",
"input": "text",
"required": false
},
{
"key": "weekendDetail",
"binding": "trust.config.weekendDetail",
"label": "周末白天安排",
"input": "textarea",
"required": true
},
{
"key": "weekendHours",
"binding": "trust.config.weekendHours",
"label": "周末晚间安排",
"input": "text",
"required": false
}
],
"hideStandardFields": [
"summary",
"content"
],
"pages": [
"service"
],
"help": "分别编辑工作日和周末两张日程小卡,不再使用摘要或正文拼接时间。",
"placeholder": "例如:\n周一至周五 17:00 - 22:30\n周六、周日承接团体单与夜市流动出摊",
"required": true,
"maxPublishedItems": 1
},
{
"type": "coverage",
"label": "取餐与配送范围",
"adminFields": {
"title": "范围标题",
"summary": "方式摘要",
"content": "取餐与配送说明"
},
"configFields": [
{
"key": "pickupTitle",
"binding": "trust.config.pickupTitle",
"label": "现场自取标题",
"input": "text",
"required": true
},
{
"key": "pickupDetail",
"binding": "trust.config.pickupDetail",
"label": "现场自取说明",
"input": "textarea",
"required": true
},
{
"key": "deliveryTitle",
"binding": "trust.config.deliveryTitle",
"label": "校内配送标题",
"input": "text",
"required": true
},
{
"key": "deliveryDetail",
"binding": "trust.config.deliveryDetail",
"label": "校内配送说明",
"input": "textarea",
"required": true
}
],
"hideStandardFields": [
"summary",
"content"
],
"pages": [
"service"
],
"help": "说明服务地点、取餐方式和可配送范围。",
"placeholder": "例如:支持校内宿舍楼下配送",
"required": true
"required": true,
"maxPublishedItems": 1
},
{
"type": "process",
"label": "定制餐品流程",
"help": "每行写一步,从提出需求到完成交付。",
"adminFields": {
"title": "流程标题",
"summary": "流程摘要",
"content": "流程步骤"
},
"configFields": [
{
"key": "steps",
"binding": "trust.config.steps",
"label": "流程步骤",
"input": "list",
"itemFields": [
{
"key": "title",
"label": "步骤标题",
"input": "text",
"required": true
},
{
"key": "detail",
"label": "步骤说明",
"input": "textarea",
"required": true
}
],
"required": true
},
{
"key": "intro",
"binding": "trust.config.intro",
"label": "流程介绍",
"input": "text"
},
{
"key": "minimumNote",
"binding": "trust.config.minimumNote",
"label": "起订说明",
"input": "text"
},
{
"key": "refundNote",
"binding": "trust.config.refundNote",
"label": "退改说明",
"input": "text"
}
],
"hideStandardFields": [
"summary",
"content"
],
"pages": [
"service"
],
"help": "每个步骤分别填写标题和说明,按列表顺序展示。",
"placeholder": "例如:提交需求\n确认菜单\n制作交付",
"required": true
"required": true,
"maxPublishedItems": 1
},
{
"type": "credential",
"label": "食品安全与制作标准",
"help": "填写让顾客放心的资质、卫生或制作标准。"
"adminFields": {
"title": "证明标题",
"summary": "标准摘要",
"content": "资质与制作说明"
},
"pages": [
"profile"
],
"help": "填写让顾客放心的资质、卫生或制作标准。",
"configFields": [
{
"key": "standards",
"binding": "trust.config.standards",
"label": "资质与卫生小卡",
"input": "list",
"itemFields": [
{
"key": "title",
"label": "小卡标题",
"required": true
},
{
"key": "detail",
"label": "小卡说明",
"required": true
}
]
}
]
},
{
"type": "case",
"label": "客户案例与反馈",
"help": "填写代表性订单、活动案例或客户评价。"
"adminFields": {
"title": "案例标题",
"summary": "案例摘要",
"content": "案例与客户反馈"
},
"pages": [
"home",
"profile"
],
"help": "填写代表性订单、活动案例或客户评价。",
"configFields": [
{
"key": "entries",
"binding": "trust.config.entries",
"label": "合作案例条目",
"input": "list",
"itemFields": [
{
"key": "badge",
"label": "左侧简称",
"required": true
},
{
"key": "title",
"label": "案例名称",
"required": true
},
{
"key": "detail",
"label": "交付说明"
},
{
"key": "result",
"label": "右侧结果标签"
}
]
}
]
},
{
"type": "promise",
"label": "回复与服务承诺",
"help": "说明回复时间、退改规则或服务承诺。"
"adminFields": {
"title": "承诺标题",
"summary": "承诺摘要",
"content": "服务承诺详情"
},
"pages": [
"home",
"profile"
],
"help": "说明回复时间、退改规则或服务承诺。",
"configFields": [
{
"key": "commitments",
"binding": "trust.config.commitments",
"label": "回复承诺条目",
"input": "list",
"itemFields": [
{
"key": "label",
"label": "情境或时段",
"required": true
},
{
"key": "detail",
"label": "承诺说明",
"required": true
},
{
"key": "highlight",
"label": "强调文字"
}
]
}
]
}
],
"sampleContent": {
"food": {
"templateKey": "food",
"inquiryFormName": "餐品预订与定制表单",
"offerings": [
{
"kind": "package",
@@ -632,14 +884,127 @@ export const generatedTemplatePackageRegistry = [
],
"trustContent": [
{
"type": "credential",
"title": "关于主理人",
"content": "示例内容,待品牌主理人完善。"
"type": "schedule",
"title": "每周出摊固定日程",
"content": "",
"config": {
"status": "准时出摊",
"weekdayLabel": "周一至周五(晚餐 + 夜宵档)",
"weekdayTag": "常规固定点",
"weekdayDetail": "地点:二号校门外小吃商业街 #07 号铺位",
"weekdayHours": "营业:17:00 - 22:30(下雨搭防雨防风棚正常营业)",
"weekendLabel": "周六、周日(全天接团体单 + 夜市流动)",
"weekendTag": "活动专车",
"weekendDetail": "白天专供:球赛、班级春游、社团集训、答辩餐",
"weekendHours": "晚间:18:00 - 23:00 体育馆南侧流动出摊"
}
},
{
"type": "coverage",
"title": "取餐与配送范围",
"content": "",
"config": {
"pickupTitle": "摊位现场自取",
"pickupDetail": "小程序提前留餐,报手机尾号即拿,附赠特制加厚保温袋,不用排长龙。",
"deliveryTitle": "校内楼下配送",
"deliveryDetail": "满 3 份即可送至宿舍楼栋或实验楼门前,阿成骑专用恒温保温箱电动车直送。"
}
},
{
"type": "process",
"title": "从预订到取餐",
"content": "示例内容,待品牌主理人完善。"
"title": "定制餐品 4 步流程",
"content": "",
"config": {
"intro": "专为班长、社长、活动干事设计的极简排菜流程",
"steps": [
{
"title": "提交基本需求",
"detail": "选择活动类型(如生日会、社团换届、答辩加餐)、预估人数与预算。"
},
{
"title": "15 分钟内核算菜单",
"detail": "阿成微信直接联系,提供荤素搭配明细与个性化需求(免辣、清真配料等)。"
},
{
"title": "当日新鲜烹饪打包",
"detail": "提前 2 小时生鲜采买,铁锅现炒,独立封盒并标注姓名 / 楼栋。"
},
{
"title": "保温直达交付",
"detail": "约定时间准时送抵指定场地,确认菜品温度与数量无误后结算。"
}
],
"minimumNote": "起订门槛:6 份起",
"refundNote": "退改:出餐前 2 小时全退"
}
},
{
"type": "credential",
"title": "食品安全与制作标准",
"content": "示例内容,请根据实际资质和制作标准完善。",
"config": {
"standards": [
{
"title": "当天采购",
"detail": "按当天需求采买"
},
{
"title": "现做现出餐",
"detail": "按约定时间制作"
},
{
"title": "食具清洁消毒",
"detail": "每日清洁与消毒"
}
]
}
},
{
"type": "case",
"title": "他们都在阿成这订过餐",
"summary": "感谢大学城各学院与社团伙伴的信任",
"content": "校街舞社年度专场 · 52 人份\n信息学院科创竞赛 · 连签 5 天\n7 号楼庆功宴 · 8 人定制",
"config": {
"entries": [
{
"badge": "舞",
"title": "校街舞社年度专场(52 人份)",
"detail": "保温箱直达大礼堂后台,贴名分装",
"result": "零延误签收"
},
{
"badge": "科",
"title": "信息学院科创竞赛封闭备赛",
"detail": "每日荤素轮换,附赠每日滋补老汤",
"result": "连签 5 天"
},
{
"badge": "寝",
"title": "7 号楼庆功宴(8 人定制)",
"detail": "定制双拼厚肉饭",
"result": "定制餐品"
}
]
}
},
{
"type": "promise",
"title": "阿成的真实回复承诺",
"content": "备料期 15 分钟内联系,出摊高峰 1 小时内回复。",
"config": {
"commitments": [
{
"label": "非出摊备料期",
"detail": "提交咨询后通过微信或电话沟通。",
"highlight": "15 分钟内"
},
{
"label": "出摊晚高峰",
"detail": "正在出餐,稍有延迟,会抽空回复。",
"highlight": "1 小时内"
}
]
}
}
],
"fields": [
@@ -870,6 +1235,17 @@ export const generatedTemplatePackageRegistry = [
"description": "访客自己的咨询记录"
}
],
"templateFields": [
{
"key": "designPhilosophy",
"page": "home",
"label": "设计理念",
"help": "用一两句话说明你的设计方法。",
"input": "textarea",
"maxLength": 160,
"placeholder": "例如:克制、自然、长期主义"
}
],
"assetSlots": [
{
"key": "brand.portrait",
@@ -908,6 +1284,7 @@ export const generatedTemplatePackageRegistry = [
"key": "identity",
"title": "主理人与联系方式",
"description": "让业主清楚谁负责项目,以及如何联系你。",
"page": "profile",
"target": "brand",
"fields": [
{
@@ -917,13 +1294,6 @@ export const generatedTemplatePackageRegistry = [
"input": "text",
"required": true
},
{
"key": "portrait",
"binding": "brand.config.avatarUrl",
"label": "主理人肖像",
"help": "建议使用正式、清晰的个人照片。",
"input": "image"
},
{
"key": "title",
"binding": "brand.config.title",
@@ -931,32 +1301,6 @@ export const generatedTemplatePackageRegistry = [
"input": "text",
"required": true,
"placeholder": "例如:别墅门系统主理人"
},
{
"key": "slogan",
"binding": "brand.config.slogan",
"label": "主理人主张",
"input": "textarea",
"maxLength": 100
},
{
"key": "studioAddress",
"binding": "brand.config.studioAddress",
"label": "服务区域或工作室地址",
"input": "text",
"required": true
},
{
"key": "phone",
"binding": "brand.config.phone",
"label": "公开联系电话",
"input": "phone"
},
{
"key": "wechat",
"binding": "brand.config.wechat",
"label": "公开微信号",
"input": "text"
}
]
},
@@ -964,6 +1308,7 @@ export const generatedTemplatePackageRegistry = [
"key": "home",
"title": "首页品牌表达",
"description": "用简洁的语言解释你的项目方法、代表作品和合作流程。",
"page": "home",
"target": "brand",
"fields": [
{
@@ -1065,6 +1410,7 @@ export const generatedTemplatePackageRegistry = [
"key": "profileDetails",
"title": "服务区域与履约说明",
"description": "在主理人与我页面说明可服务的地区和真实履约承诺。",
"page": "profile",
"target": "brand",
"fields": [
{
@@ -1164,6 +1510,7 @@ export const generatedTemplatePackageRegistry = [
"key": "cases",
"title": "案例与体系",
"description": "说明案例页展示的内容,让业主能快速找到相近项目。",
"page": "offerings",
"target": "offering",
"fields": [
{
@@ -1203,6 +1550,7 @@ export const generatedTemplatePackageRegistry = [
"key": "consultation",
"title": "咨询说明",
"description": "明确访客提交后会得到怎样的回应,减少无效咨询。",
"page": "inquiry",
"target": "inquiry",
"fields": [
{
@@ -1242,6 +1590,7 @@ export const generatedTemplatePackageRegistry = [
"key": "projectDetail",
"title": "案例详情",
"description": "以下内容分别填写在每个案例中,空白内容不会展示。",
"page": "detail",
"target": "offering",
"fields": [
{
@@ -1334,6 +1683,7 @@ export const generatedTemplatePackageRegistry = [
"key": "detailCopy",
"title": "详情页说明",
"description": "说明案例内容、价格与咨询后的真实处理方式。",
"page": "detail",
"target": "brand",
"fields": [
{
@@ -1391,6 +1741,7 @@ export const generatedTemplatePackageRegistry = [
"key": "successCopy",
"title": "提交成功页",
"description": "访客提交后看到的确认信息与后续预期。",
"page": "success",
"target": "brand",
"fields": [
{
@@ -1430,6 +1781,7 @@ export const generatedTemplatePackageRegistry = [
"key": "recordsCopy",
"title": "咨询记录页",
"description": "访客查看咨询状态时看到的内容。",
"page": "records",
"target": "brand",
"fields": [
{
@@ -1470,16 +1822,40 @@ export const generatedTemplatePackageRegistry = [
{
"type": "schedule",
"label": "服务与合作安排",
"adminFields": {
"title": "安排标题",
"summary": "安排摘要",
"content": "时间与排期详情"
},
"pages": [
"profile"
],
"help": "说明可预约时间、服务周期或项目排期。"
},
{
"type": "coverage",
"label": "服务范围与适用对象",
"adminFields": {
"title": "范围标题",
"summary": "范围摘要",
"content": "服务范围说明"
},
"pages": [
"profile"
],
"help": "说明服务地区、项目类型或合作边界。"
},
{
"type": "process",
"label": "合作流程",
"adminFields": {
"title": "流程标题",
"summary": "流程摘要",
"content": "流程步骤"
},
"pages": [
"profile"
],
"help": "每行写一步,从初次沟通到交付完成。",
"placeholder": "例如:需求沟通\n方案确认\n落地交付",
"required": true
@@ -1487,6 +1863,15 @@ export const generatedTemplatePackageRegistry = [
{
"type": "credential",
"label": "专业资历与方法",
"adminFields": {
"title": "证明标题",
"summary": "专业摘要",
"content": "资历与方法说明"
},
"pages": [
"home",
"profile"
],
"help": "填写经验、资质、专业标准或工作方法。",
"configFields": [
{
@@ -1552,17 +1937,34 @@ export const generatedTemplatePackageRegistry = [
{
"type": "case",
"label": "项目案例与客户反馈",
"adminFields": {
"title": "案例标题",
"summary": "案例摘要",
"content": "项目成果与客户反馈"
},
"pages": [
"profile"
],
"help": "填写代表性项目、成果或客户评价。"
},
{
"type": "promise",
"label": "合作预期与响应承诺",
"adminFields": {
"title": "承诺标题",
"summary": "承诺摘要",
"content": "合作与响应说明"
},
"pages": [
"profile"
],
"help": "说明回复时间、合作边界和后续跟进方式。"
}
],
"sampleContent": {
"doors": {
"templateKey": "doors",
"inquiryFormName": "门系统咨询表单",
"offerings": [
{
"kind": "product",
@@ -1733,6 +2135,7 @@ export const generatedTemplatePackageRegistry = [
},
"personal": {
"templateKey": "personal",
"inquiryFormName": "合作咨询表单",
"offerings": [
{
"kind": "service",
@@ -1791,4 +2194,4 @@ export const generatedTemplatePackageRegistry = [
}
];
export const generatedTemplatePackageRegistryHash =
"4004c3102fdf693432f8309809ee91bae8f6aba32c6b01247c288308fa7ce65a";
"17a54a9f2e4a95cfa16941d1ecf37abeb88f463046a1da0bdc8767a56d4a4cc1";
+35 -1
View File
@@ -208,6 +208,20 @@ export interface TemplatePackageManifest {
required: boolean;
description: string;
}[];
templateFields?: readonly {
key: string;
page?: string;
binding?: string;
label: string;
help?: string;
input: string;
itemFields?: readonly { key: string; label: string; input?: string; required?: boolean }[];
itemValueKey?: string;
required?: boolean;
maxLength?: number;
placeholder?: string;
options?: readonly { value: string; label: string }[];
}[];
assetSlots: readonly {
key: string;
binding: string;
@@ -236,9 +250,18 @@ export interface TemplatePackageManifest {
trustContentTypes?: readonly {
type: string;
label: string;
adminFields: {
title: string;
summary: string;
content: string;
summaryHelp?: string;
summaryPlaceholder?: string;
};
help?: string;
placeholder?: string;
required?: boolean;
maxPublishedItems?: number;
hideStandardFields?: readonly ("summary" | "content")[];
configFields?: readonly {
key: string;
binding: string;
@@ -246,6 +269,7 @@ export interface TemplatePackageManifest {
input: string;
itemFields?: readonly { key: string; label: string; input?: string; required?: boolean }[];
itemValueKey?: string;
required?: boolean;
}[];
}[];
sampleContent?: Partial<Record<BrandTemplateKey, TemplateSampleContent>>;
@@ -287,13 +311,20 @@ export function validateTemplatePackageManifest(manifest: TemplatePackageManifes
export interface TemplateSampleContent {
templateKey: BrandTemplateKey;
inquiryFormName: string;
offerings: Array<{
kind: "service" | "product" | "package" | "subscription";
name: string;
summary: string;
categoryKey: string;
}>;
trustContent: Array<{ type: string; title: string; content: string; summary?: string }>;
trustContent: Array<{
type: string;
title: string;
content: string;
summary?: string;
config?: Record<string, unknown>;
}>;
fields: Array<{
key: string;
label: string;
@@ -306,6 +337,7 @@ export interface TemplateSampleContent {
const doorsSampleContent: TemplateSampleContent = {
templateKey: "doors",
inquiryFormName: "门系统咨询表单",
offerings: [
{
kind: "product",
@@ -349,6 +381,7 @@ const doorsSampleContent: TemplateSampleContent = {
const foodSampleContent: TemplateSampleContent = {
templateKey: "food",
inquiryFormName: "餐品预订与定制表单",
offerings: [
{
kind: "package",
@@ -377,6 +410,7 @@ const foodSampleContent: TemplateSampleContent = {
const personalSampleContent: TemplateSampleContent = {
templateKey: "personal",
inquiryFormName: "合作咨询表单",
offerings: [
{
kind: "service",