// prettier-ignore import type { TemplatePackageManifest } from "./index.js"; export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[] = [ { packageKey: "acheng-campus-food", version: "1.0.0", displayName: "阿成校园餐", defaultBrandSlug: "default-brand", runtimeContract: "1.0", supportedIndustryTemplates: ["food"], entrypoints: { home: "pages/index/index", offerings: "pages/services/index", service: "pages/stall-service/index", detail: "pages/offering/detail", inquiry: "pages/inquiry/index", success: "pages/inquiry-success/index", records: "pages/records/index", profile: "pages/bookings/index", }, navigation: [ { key: "home", label: "首页/摊位", page: "home", iconPath: "assets/tab/home.png", selectedIconPath: "assets/tab/home-selected.png", }, { key: "dishes", label: "套餐餐品", page: "offerings", iconPath: "assets/tab/dishes.png", selectedIconPath: "assets/tab/dishes-selected.png", }, { key: "service", label: "出摊服务", page: "service", iconPath: "assets/tab/service.png", selectedIconPath: "assets/tab/service-selected.png", }, { key: "owner", label: "主理人", page: "profile", iconPath: "assets/tab/owner.png", selectedIconPath: "assets/tab/owner-selected.png", }, { key: "booking", label: "定制/咨询", page: "inquiry", iconPath: "assets/tab/booking.png", selectedIconPath: "assets/tab/booking-selected.png", }, ], requiredCapabilities: ["offerings", "inquiry"], dataSlots: [ { key: "brand.identity", source: "brand", required: true, description: "摊位名称、主理人和公开联系方式", }, { key: "brand.hero", source: "brand", required: true, description: "出摊现场和首页营业信息", }, { key: "trust.proof", source: "trust", required: true, description: "卫生、履约和订餐信任内容", }, { key: "offerings.list", source: "offering", required: true, description: "今日餐品、套餐和定制服务", }, { key: "offering.detail", source: "offering", required: true, description: "单个餐品或定制服务详情", }, { key: "inquiry.form", source: "inquiry", required: true, description: "预订和定制咨询问题", }, { key: "records.items", source: "records", required: true, description: "访客自己的预订记录", }, ], assetSlots: [ { key: "brand.portrait", binding: "brand.avatarUrl", target: "brand", label: "主理人照片", help: "用于首页和主理人页,建议使用清晰正面照片。", required: false, kind: "portrait", aspectRatio: "1:1", }, { key: "brand.stallHero", binding: "brand.config.heroImage", target: "brand", label: "出摊现场主图", help: "展示真实摊位、餐品或取餐场景,避免使用无关的通用图片。", required: true, kind: "image", aspectRatio: "16:9", }, { key: "offering.cover", binding: "offering.coverUrl", target: "offering", label: "餐品或服务封面", help: "每项餐品或服务使用一张清晰图片,方便访客快速选择。", required: true, kind: "image", aspectRatio: "1:1", }, ], admin: { sections: [ { key: "identity", title: "摊位与主理人", description: "配置主理人姓名与身份,介绍、头像和联系方式在品牌资料中编辑。", page: "profile", target: "brand", fields: [ { key: "founder", binding: "brand.config.founder", label: "主理人姓名", input: "text", required: true, placeholder: "例如:阿成", previewTarget: "acheng-campus-food.profile.identity", }, { key: "title", binding: "brand.config.title", label: "你的身份", help: "例如:校园餐饮主理人。", input: "text", required: true, previewTarget: "acheng-campus-food.profile.identity", }, { key: "badge", binding: "brand.config.visualPresentation.profile.badge", label: "写真角标", input: "text", help: "显示在主理人写真上,可填写经验或服务定位。", previewTarget: "acheng-campus-food.profile.identity", }, { key: "storyLead", binding: "brand.config.visualPresentation.profile.storyLead", label: "故事引言", input: "textarea", help: "故事开头的强调段落,下面的正文使用品牌简介。", previewTarget: "acheng-campus-food.profile.identity", }, { key: "recordsTitle", binding: "brand.config.visualPresentation.profile.recordsTitle", label: "记录入口文案", input: "text", previewTarget: "acheng-campus-food.profile.identity", }, { key: "recordsCountUnit", binding: "brand.config.visualPresentation.profile.recordsCountUnit", label: "记录数量单位", input: "text", previewTarget: "acheng-campus-food.profile.identity", }, { key: "acheng-campus-food_profile_identity_avatarUrl", binding: "brand.avatarUrl", label: "主理人头像", input: "image", previewTarget: "acheng-campus-food.profile.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "acheng-campus-food_profile_identity_name", binding: "brand.name", label: "品牌名称", input: "text", previewTarget: "acheng-campus-food.profile.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "acheng-campus-food_profile_identity_description", binding: "brand.description", label: "主理人简介", input: "textarea", previewTarget: "acheng-campus-food.profile.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, ], previewTargets: [ { key: "acheng-campus-food.profile.identity", label: "摊位与主理人", }, ], }, { key: "homeOffering", title: "首页业务卡片", description: "点选预览中的单条内容,修改对应业务记录。", page: "home", target: "offering", fields: [ { key: "name", binding: "offering.name", label: "名称", input: "text", previewTarget: "acheng-campus-food.home.offering", }, { key: "summary", binding: "offering.summary", label: "简介", input: "textarea", previewTarget: "acheng-campus-food.home.offering", }, { key: "priceText", binding: "offering.priceText", label: "价格说明", input: "text", previewTarget: "acheng-campus-food.home.offering", }, { key: "coverUrl", binding: "offering.coverUrl", label: "封面图片", input: "image", previewTarget: "acheng-campus-food.home.offering", }, { key: "detailHero", binding: "offering.config.detailHero", label: "详情主图", input: "image", previewTarget: "acheng-campus-food.home.offering", help: "此图优先用于卡片和详情;未填写时使用封面图片。", }, ], previewTargets: [ { key: "acheng-campus-food.home.offering", label: "首页业务卡片", }, ], }, { key: "home", title: "首页出摊信息", description: "说明今天在哪里、何时营业,以及餐品有什么特点。", page: "home", target: "brand", previewTargets: [ { key: "food.home.brand-card", label: "品牌信息区", composite: true, children: ["food.home.identity", "food.home.location", "food.home.actions"], }, { key: "food.home.identity", label: "主理人身份", }, { key: "food.home.location", label: "服务地点", }, { key: "food.home.hero", label: "出摊现场图片", }, { key: "food.home.offerings-heading", label: "餐品区域标题", }, { key: "food.home.actions", label: "首页操作按钮", }, { key: "food.home.promise-heading", label: "出餐承诺标题", }, ], fields: [ { key: "founder", binding: "brand.config.founder", label: "主理人姓名", input: "text", previewTarget: "food.home.identity", }, { key: "title", binding: "brand.config.title", label: "身份说明", input: "text", previewTarget: "food.home.identity", }, { key: "stallTitle", previewTarget: "food.home.location", binding: "brand.config.visualPresentation.home.stallTitle", label: "出摊信息标题", input: "text", placeholder: "例如:今日出摊点", }, { key: "heroImage", previewTarget: "food.home.hero", binding: "brand.config.heroImage", label: "出摊现场主图", help: "展示真实摊位、餐品或取餐场景,建议使用横向图片。", input: "image", required: true, }, { key: "stallTime", previewTarget: "food.home.location", binding: "brand.config.visualPresentation.home.stallTime", label: "营业时间说明", input: "text", placeholder: "例如:17:00 - 22:30 · 今日营业中", }, { 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: "moreAction", previewTarget: "food.home.offerings-heading", binding: "brand.config.visualPresentation.home.moreAction", label: "查看全部按钮", input: "text", }, { key: "primaryAction", previewTarget: "food.home.actions", binding: "brand.config.visualPresentation.home.primaryAction", label: "咨询按钮", input: "text", }, { key: "secondaryAction", previewTarget: "food.home.actions", binding: "brand.config.visualPresentation.home.secondaryAction", label: "餐品按钮", input: "text", }, { key: "manifestoTitle", previewTarget: "food.home.promise-heading", binding: "brand.config.visualPresentation.home.manifestoTitle", label: "出餐承诺标题", input: "text", }, { key: "food_home_identity_avatarUrl", binding: "brand.avatarUrl", label: "主理人头像", input: "image", previewTarget: "food.home.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "food_home_identity_description", binding: "brand.description", label: "主理人简介", input: "textarea", previewTarget: "food.home.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "food_home_location_address", binding: "brand.address", label: "服务地址", input: "text", previewTarget: "food.home.location", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "food_home_hero_name", binding: "brand.name", label: "品牌名称", input: "text", previewTarget: "food.home.hero", help: "共享品牌资料,修改后同步影响其他展示位置。", }, ], }, { key: "service", title: "出摊服务页说明", description: "设置出摊服务页的咨询按钮;日程、取餐配送和流程在对应内容编辑器中维护。", page: "service", target: "brand", fields: [ { key: "processAction", binding: "brand.config.visualPresentation.service.processAction", label: "咨询按钮文字", input: "text", previewTarget: "food.service.process-action", }, ], previewTargets: [ { key: "acheng-campus-food.service.service", label: "出摊服务页说明", composite: true, children: ["food.service.process-action"], }, { key: "food.service.process-action", label: "咨询按钮文字", }, ], }, { key: "offeringsOffering", title: "业务卡片", description: "点选预览中的单条内容,修改对应业务记录。", page: "offerings", target: "offering", fields: [ { key: "name", binding: "offering.name", label: "名称", input: "text", previewTarget: "acheng-campus-food.offerings.item", }, { key: "summary", binding: "offering.summary", label: "简介", input: "textarea", previewTarget: "acheng-campus-food.offerings.item", }, { key: "priceText", binding: "offering.priceText", label: "价格说明", input: "text", previewTarget: "acheng-campus-food.offerings.item", }, { key: "coverUrl", binding: "offering.coverUrl", label: "封面图片", input: "image", previewTarget: "acheng-campus-food.offerings.item", }, { key: "detailHero", binding: "offering.config.detailHero", label: "详情主图", input: "image", previewTarget: "acheng-campus-food.offerings.item", help: "此图优先用于卡片和详情;未填写时使用封面图片。", }, { key: "categoryLabel", binding: "offering.config.categoryKey", label: "餐品类别", input: "select", options: [ { value: "set-meal", label: "套餐", }, { value: "private-chef", label: "私厨", }, { value: "custom", label: "定制餐品", }, ], previewTarget: "acheng-campus-food.offerings.item", }, ], previewTargets: [ { key: "acheng-campus-food.offerings.item", label: "业务卡片", }, ], }, { key: "menu", title: "菜单页说明", description: "帮助顾客理解日常餐品和团体定制的选择方式。", page: "offerings", target: "brand", fields: [ { key: "title", binding: "brand.config.visualPresentation.offerings.title", label: "菜单页标题", input: "text", previewTarget: "acheng-campus-food.offerings.menu", }, { key: "subtitle", binding: "brand.config.visualPresentation.offerings.subtitle", label: "菜单页说明", input: "textarea", maxLength: 120, previewTarget: "acheng-campus-food.offerings.menu", }, { key: "menuTip", binding: "brand.config.visualPresentation.offerings.menuTip", label: "菜单提示", help: "只填写当前实际提供的取餐、加菜或定制服务。", input: "textarea", previewTarget: "acheng-campus-food.offerings.menu", }, ], previewTargets: [ { key: "acheng-campus-food.offerings.menu", label: "菜单页说明", }, ], }, { key: "booking", title: "预订与定制", description: "告诉顾客提交信息后会如何确认餐品和时间。", page: "inquiry", target: "inquiry", fields: [ { key: "title", binding: "brand.config.visualPresentation.inquiry.title", label: "预订页面标题", input: "text", previewTarget: "acheng-campus-food.inquiry.booking", }, { key: "subtitle", binding: "brand.config.visualPresentation.inquiry.subtitle", label: "预订说明", input: "textarea", maxLength: 120, previewTarget: "acheng-campus-food.inquiry.booking", }, { key: "submitLabel", binding: "brand.config.visualPresentation.inquiry.submitLabel", label: "提交按钮文字", input: "text", placeholder: "例如:提交预订需求", previewTarget: "acheng-campus-food.inquiry.booking", }, { key: "promise", binding: "brand.config.visualPresentation.inquiry.promise", label: "真实服务承诺", help: "仅填写能兑现的回复时间、订金和联系规则;留空则不显示。", input: "textarea", previewTarget: "acheng-campus-food.inquiry.booking", }, ], previewTargets: [ { key: "acheng-campus-food.inquiry.booking", label: "预订与定制", }, ], }, { key: "dishDetail", title: "餐品与服务详情", description: "每项餐品或服务单独填写;没有内容的详情区块不会展示。", page: "detail", target: "offering", fields: [ { key: "categoryLabel", binding: "offering.config.categoryKey", label: "餐品类别", input: "select", options: [ { value: "set-meal", label: "套餐", }, { value: "private-chef", label: "私厨", }, { value: "custom", label: "定制餐品", }, ], previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "detailHero", binding: "offering.config.detailHero", label: "详情主图", input: "image", previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "area", binding: "offering.config.area", label: "供应地点", input: "text", previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "series", binding: "offering.config.series", label: "套餐或系列说明", input: "text", previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "spaceType", binding: "offering.config.spaceType", label: "适合场景", input: "text", previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "background", binding: "offering.config.details.background", label: "餐品介绍", input: "textarea", previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "designConcept", binding: "offering.config.details.designConcept", label: "口味与分量", input: "textarea", previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "keywords", binding: "offering.config.keywords", label: "餐品特色", input: "list", itemValueKey: "value", itemFields: [ { key: "value", label: "特色", }, ], previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "crafts", binding: "offering.config.details.crafts", label: "制作方式", input: "list", itemValueKey: "value", itemFields: [ { key: "value", label: "制作说明", }, ], previewTarget: "acheng-campus-food.detail.dishDetail", }, { key: "materialsList", binding: "offering.config.details.materialsList", label: "食材与搭配", input: "list", itemFields: [ { key: "name", label: "食材或搭配", }, { key: "spec", label: "说明", }, ], previewTarget: "acheng-campus-food.detail.dishDetail", }, ], previewTargets: [ { key: "acheng-campus-food.detail.dishDetail", label: "餐品与服务详情", }, ], }, { key: "detailCopy", title: "详情页说明", description: "解释价格、餐品内容和咨询后会怎样处理。", page: "detail", target: "brand", fields: [ { key: "priceLabel", binding: "brand.config.visualPresentation.detail.priceLabel", label: "价格说明标题", input: "text", previewTarget: "acheng-campus-food.detail.detailCopy", }, { key: "spaceLabel", binding: "brand.config.visualPresentation.detail.spaceLabel", label: "适合场景标题", input: "text", previewTarget: "acheng-campus-food.detail.detailCopy", }, { key: "backgroundTitle", binding: "brand.config.visualPresentation.detail.backgroundTitle", label: "餐品介绍标题", input: "text", previewTarget: "acheng-campus-food.detail.detailCopy", }, { key: "conceptTitle", binding: "brand.config.visualPresentation.detail.conceptTitle", label: "口味与分量标题", input: "text", previewTarget: "acheng-campus-food.detail.detailCopy", }, { key: "craftsTitle", binding: "brand.config.visualPresentation.detail.craftsTitle", label: "制作方式标题", input: "text", previewTarget: "acheng-campus-food.detail.detailCopy", }, { key: "materialsTitle", binding: "brand.config.visualPresentation.detail.materialsTitle", label: "食材与搭配标题", input: "text", previewTarget: "acheng-campus-food.detail.detailCopy", }, ], previewTargets: [ { key: "acheng-campus-food.detail.detailCopy", label: "详情页说明", }, ], }, { key: "successCopy", title: "提交成功页", description: "顾客提交后看到的确认信息与后续预期。", page: "success", target: "brand", fields: [ { key: "eyebrow", binding: "brand.config.visualPresentation.success.eyebrow", label: "页面小标题", input: "text", previewTarget: "acheng-campus-food.success.successCopy", }, { key: "title", binding: "brand.config.visualPresentation.success.title", label: "确认标题", input: "text", previewTarget: "acheng-campus-food.success.successCopy", }, { key: "intro", binding: "brand.config.visualPresentation.success.intro", label: "后续联系说明", help: "若写回复时间,请确认日常能兑现。", input: "textarea", previewTarget: "acheng-campus-food.success.successCopy", }, { key: "recordsAction", binding: "brand.config.visualPresentation.success.recordsAction", label: "查看记录按钮", input: "text", previewTarget: "acheng-campus-food.success.successCopy", }, { key: "homeAction", binding: "brand.config.visualPresentation.success.homeAction", label: "返回首页按钮", input: "text", previewTarget: "acheng-campus-food.success.successCopy", }, ], previewTargets: [ { key: "acheng-campus-food.success.successCopy", label: "提交成功页", }, ], }, { key: "recordsCopy", title: "咨询记录页", description: "顾客查看预订与咨询处理进度时看到的内容。", page: "records", target: "brand", fields: [ { key: "title", binding: "brand.config.visualPresentation.records.title", label: "记录页标题", input: "text", previewTarget: "acheng-campus-food.records.recordsCopy", }, { key: "createAction", binding: "brand.config.visualPresentation.records.createAction", label: "新增咨询按钮", input: "text", previewTarget: "acheng-campus-food.records.recordsCopy", }, { key: "emptyTitle", binding: "brand.config.visualPresentation.records.emptyTitle", label: "暂无记录标题", input: "text", previewTarget: "acheng-campus-food.records.recordsCopy", }, { key: "emptyDescription", binding: "brand.config.visualPresentation.records.emptyDescription", label: "暂无记录说明", input: "textarea", previewTarget: "acheng-campus-food.records.recordsCopy", }, { key: "emptyAction", binding: "brand.config.visualPresentation.records.emptyAction", label: "空状态按钮", input: "text", previewTarget: "acheng-campus-food.records.recordsCopy", }, ], previewTargets: [ { key: "acheng-campus-food.records.recordsCopy", label: "咨询记录页", }, ], }, { key: "offerings_detailAction", title: "详情按钮文字", description: "此页同类按钮共用此文案。", page: "offerings", target: "brand", previewTargets: [ { key: "acheng-campus-food.offerings.action", label: "详情按钮文字", }, ], fields: [ { key: "detailAction", binding: "brand.config.visualPresentation.offerings.detailAction", label: "详情按钮文字", input: "text", previewTarget: "acheng-campus-food.offerings.action", }, ], }, { key: "detailAction", title: "详情页咨询入口", description: "公共按钮与提示,对所有业务详情生效。", page: "detail", target: "brand", fields: [ { key: "inquiryAction", binding: "brand.config.visualPresentation.detail.inquiryAction", label: "咨询按钮文字", input: "text", previewTarget: "acheng-campus-food.detail.action", }, { key: "inquiryHint", binding: "brand.config.visualPresentation.detail.inquiryHint", label: "咨询后的处理说明", help: "只写能够兑现的联系和确认方式。", input: "textarea", previewTarget: "acheng-campus-food.detail.action", }, ], previewTargets: [ { key: "acheng-campus-food.detail.action", label: "详情页咨询入口", }, ], }, ], }, trustContentTypes: [ { type: "schedule", 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, maxPublishedItems: 1, }, { type: "process", label: "定制餐品流程", 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, maxPublishedItems: 1, }, { type: "credential", label: "食品安全与制作标准", 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: "客户案例与反馈", 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: "回复与服务承诺", 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", name: "示例·今日套餐", summary: "现做家常套餐示例内容。", categoryKey: "set-meal", }, { kind: "service", name: "示例·聚餐定制", summary: "按人数和口味沟通定制餐品。", categoryKey: "private-chef", }, ], trustContent: [ { 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: "定制餐品 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: [ { key: "type", label: "咨询类型", type: "select", required: true, options: [ { label: "日常留餐", value: "日常留餐", }, { label: "宿舍开黑餐", value: "宿舍开黑餐", }, { label: "社团 / 班级活动", value: "社团 / 班级活动", }, { label: "生日聚会", value: "生日聚会", }, { label: "考试周加餐", value: "考试周加餐", }, { label: "其他需求", value: "其他需求", }, ], }, { key: "people", label: "用餐人数", type: "select", required: true, options: [ { label: "1 人(单点)", value: "1 人(单点)", }, { label: "2-4 人(寝室小聚)", value: "2-4 人(寝室小聚)", }, { label: "5-10 人(部门小聚)", value: "5-10 人(部门小聚)", }, { label: "10-30 人(社团活动)", value: "10-30 人(社团活动)", }, { label: "30 人以上(大型活动)", value: "30 人以上(大型活动)", }, ], }, { key: "date", label: "用餐日期", type: "date", required: true, }, { key: "budget", label: "人均预算", type: "select", required: false, options: [ { label: "15 元左右 / 人(实惠)", value: "15 元左右 / 人(实惠)", }, { label: "18-22 元 / 人(荤素双拼)", value: "18-22 元 / 人(荤素双拼)", }, { label: "25 元以上 / 人(高规格定制)", value: "25 元以上 / 人(高规格定制)", }, ], }, { key: "delivery", label: "取餐 / 配送方式", type: "select", required: false, options: [ { label: "摊位自取(报手机尾号即拿)", value: "摊位自取(报手机尾号即拿)", }, { label: "送至宿舍楼下(满 3 份)", value: "送至宿舍楼下(满 3 份)", }, { label: "送至指定教室 / 场地", value: "送至指定教室 / 场地", }, ], }, { key: "remark", label: "餐品 / 口味 / 忌口备注", type: "textarea", required: false, placeholder: "例:现炒牛肉饭 1 份,微辣多浇卤汁,不要香菜", }, { key: "phone", label: "联系手机", type: "phone", required: true, }, ], capabilityKey: "booking", }, }, pages: [ "pages/index/index", "pages/services/index", "pages/stall-service/index", "pages/bookings/index", ], overrides: ["pages/inquiry", "pages/inquiry-success", "pages/offering", "pages/records"], visualTemplateKey: "acheng-campus-food", }, { packageKey: "linjing-editorial", version: "1.0.0", displayName: "林境建筑画册", defaultBrandSlug: "linjing-doors", runtimeContract: "1.0", supportedIndustryTemplates: ["personal", "doors"], 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/bookings/index", }, navigation: [ { key: "home", label: "首页", page: "home", iconPath: "assets/tab/home.png", selectedIconPath: "assets/tab/home-selected.png", }, { key: "offerings", label: "案例与体系", page: "offerings", iconPath: "assets/tab/works.png", selectedIconPath: "assets/tab/works-selected.png", }, { key: "profile", label: "主理人与我", page: "profile", iconPath: "assets/tab/profile.png", selectedIconPath: "assets/tab/profile-selected.png", }, ], requiredCapabilities: ["offerings", "inquiry"], dataSlots: [ { key: "brand.identity", source: "brand", required: true, description: "品牌名称、主理人和公开联系方式", }, { key: "brand.hero", source: "brand", required: true, description: "建筑项目或产品系统的首页表达", }, { key: "trust.proof", source: "trust", required: true, description: "资质、方法、项目经验和履约说明", }, { key: "offerings.list", source: "offering", required: true, description: "门系统案例和服务体系", }, { key: "offering.detail", source: "offering", required: true, description: "单个项目案例的完整介绍", }, { key: "inquiry.form", source: "inquiry", required: true, description: "私宅门系统咨询问题", }, { key: "records.items", source: "records", required: true, description: "访客自己的咨询记录", }, ], templateFields: [ { key: "designPhilosophy", page: "home", binding: "brand.config.templateData.designPhilosophy", previewTarget: "editorial.home.hero", label: "设计理念", help: "用一两句话说明你的设计方法。", input: "textarea", maxLength: 160, placeholder: "例如:克制、自然、长期主义", }, ], assetSlots: [ { key: "brand.portrait", binding: "brand.avatarUrl", target: "brand", label: "主理人肖像", help: "用于主理人与我页面,建议使用正式、清晰的照片。", required: false, kind: "portrait", aspectRatio: "1:1", }, { key: "brand.projectHero", binding: "brand.config.heroImage", target: "brand", label: "首页项目主图", help: "展示真实别墅、入户门或空间细节,体现品牌审美和项目能力。", required: true, kind: "image", aspectRatio: "16:9", }, { key: "offering.cover", binding: "offering.coverUrl", target: "offering", label: "案例封面", help: "每个案例使用一张项目实拍或可信效果图。", required: true, kind: "image", aspectRatio: "4:3", }, ], admin: { sections: [ { key: "identity", title: "主理人与联系方式", description: "让业主清楚谁负责项目,以及如何联系你。", page: "profile", target: "brand", fields: [ { key: "founder", binding: "brand.config.founder", label: "主理人姓名", input: "text", required: true, previewTarget: "linjing-editorial.profile.identity", }, { key: "title", binding: "brand.config.title", label: "身份或职位", input: "text", required: true, placeholder: "例如:别墅门系统主理人", previewTarget: "linjing-editorial.profile.identity", }, { key: "avatarUrl", binding: "brand.avatarUrl", label: "主理人头像", input: "image", previewTarget: "linjing-editorial.profile.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "contactPhone", binding: "brand.contactPhone", label: "联系电话", input: "phone", previewTarget: "linjing-editorial.profile.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "contactWechat", binding: "brand.contactWechat", label: "联系微信", input: "text", previewTarget: "linjing-editorial.profile.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "address", binding: "brand.address", label: "联系地址", input: "text", previewTarget: "linjing-editorial.profile.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, ], previewTargets: [ { key: "linjing-editorial.profile.identity", label: "主理人与联系方式", }, ], }, { key: "homeOffering", title: "首页业务卡片", description: "点选预览中的单条内容,修改对应业务记录。", page: "home", target: "offering", fields: [ { key: "name", binding: "offering.name", label: "名称", input: "text", previewTarget: "linjing-editorial.home.offering", }, { key: "coverUrl", binding: "offering.coverUrl", label: "封面图片", input: "image", previewTarget: "linjing-editorial.home.offering", }, { key: "detailHero", binding: "offering.config.detailHero", label: "详情主图", input: "image", previewTarget: "linjing-editorial.home.offering", help: "此图优先用于卡片和详情;未填写时使用封面图片。", }, { key: "categoryLabel", binding: "offering.config.categoryKey", label: "案例类别", 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", }, { key: "area", binding: "offering.config.area", label: "项目地点", input: "text", previewTarget: "linjing-editorial.home.offering", }, { key: "series", binding: "offering.config.series", label: "产品系列", input: "text", previewTarget: "linjing-editorial.home.offering", }, { key: "keywords", binding: "offering.config.keywords", label: "项目关键词", input: "list", itemValueKey: "value", itemFields: [ { key: "value", label: "关键词", }, ], previewTarget: "linjing-editorial.home.offering", }, ], previewTargets: [ { key: "linjing-editorial.home.offering", label: "首页业务卡片", }, ], }, { key: "home", title: "首页品牌表达", description: "用简洁的语言解释你的项目方法、代表作品和合作流程。", page: "home", target: "brand", previewTargets: [ { key: "editorial.home.identity", label: "主理人介绍", }, { key: "editorial.home.hero", label: "首页主视觉", }, { key: "editorial.home.proof", label: "信任介绍", }, { key: "editorial.home.manifesto", label: "品牌主张", }, { key: "editorial.home.works", label: "代表案例标题", }, { key: "linjing-editorial.home.home", label: "首页品牌表达", composite: true, children: [ "editorial.home.identity", "editorial.home.hero", "editorial.home.proof", "editorial.home.manifesto", "editorial.home.works", "editorial.home.flow", "linjing-editorial.home.offering", ], }, { key: "editorial.home.flow", label: "合作流程标题", }, ], fields: [ { key: "founderBadge", previewTarget: "editorial.home.identity", binding: "brand.config.visualPresentation.home.founderBadge", label: "主理人标签", input: "text", placeholder: "例如:亲自主理 / 10 年经验", }, { key: "heroImage", previewTarget: "editorial.home.hero", binding: "brand.config.heroImage", label: "首页项目主图", help: "展示真实别墅、入户门或空间细节,体现项目能力。", input: "image", required: true, }, { key: "proofTitle", previewTarget: "editorial.home.proof", binding: "brand.config.visualPresentation.home.proofTitle", label: "信任介绍标题", input: "text", }, { key: "proofEyebrow", previewTarget: "editorial.home.proof", binding: "brand.config.visualPresentation.home.proofEyebrow", label: "信任介绍小标题", input: "text", }, { key: "manifestoEyebrow", previewTarget: "editorial.home.manifesto", binding: "brand.config.visualPresentation.home.manifestoEyebrow", label: "品牌主张小标题", input: "text", }, { key: "manifestoTitle", previewTarget: "editorial.home.manifesto", binding: "brand.config.visualPresentation.home.manifestoTitle", label: "品牌主张", input: "text", }, { key: "worksEyebrow", previewTarget: "editorial.home.works", binding: "brand.config.visualPresentation.home.worksEyebrow", label: "代表案例小标题", input: "text", }, { key: "worksTitle", previewTarget: "editorial.home.works", binding: "brand.config.visualPresentation.home.worksTitle", label: "代表案例标题", input: "text", }, { key: "worksAction", binding: "brand.config.visualPresentation.home.worksAction", label: "查看案例入口", input: "text", previewTarget: "editorial.home.works", }, { key: "flowEyebrow", binding: "brand.config.visualPresentation.home.flowEyebrow", label: "合作流程小标题", input: "text", previewTarget: "editorial.home.flow", }, { key: "flowTitle", binding: "brand.config.visualPresentation.home.flowTitle", label: "项目流程标题", input: "text", previewTarget: "editorial.home.flow", }, { key: "heroTitle", binding: "brand.config.homeHero.title", label: "首页主标题", input: "text", previewTarget: "editorial.home.hero", }, { key: "heroEyebrow", binding: "brand.config.homeHero.eyebrow", label: "主图项目标注", input: "text", previewTarget: "editorial.home.hero", }, { key: "heroDescription", binding: "brand.config.homeHero.slogan", label: "首页主图说明", input: "textarea", previewTarget: "editorial.home.hero", }, { key: "heroAction", binding: "brand.config.homeHero.cta", label: "主图行动文字", input: "text", previewTarget: "editorial.home.hero", }, { key: "avatarUrl", binding: "brand.avatarUrl", label: "主理人头像", input: "image", previewTarget: "editorial.home.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "founder", binding: "brand.config.founder", label: "主理人姓名", input: "text", previewTarget: "editorial.home.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "title", binding: "brand.config.title", label: "身份或职位", input: "text", previewTarget: "editorial.home.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "description", binding: "brand.description", label: "主理人简介", input: "textarea", previewTarget: "editorial.home.identity", help: "共享品牌资料,修改后同步影响其他展示位置。", }, { key: "heroFallback_name", binding: "brand.name", label: "备用主标题(品牌名称)", input: "text", previewTarget: "editorial.home.hero", help: "共享品牌值;对应主图文案为空时使用。", }, { key: "heroFallback_tagline", binding: "brand.tagline", label: "备用标注(品牌标语)", input: "text", previewTarget: "editorial.home.hero", help: "共享品牌值;对应主图文案为空时使用。", }, { key: "heroFallback_description", binding: "brand.description", label: "备用说明(品牌简介)", input: "text", previewTarget: "editorial.home.hero", help: "共享品牌值;对应主图文案为空时使用。", }, ], }, { key: "profileDetails", title: "服务区域与履约说明", description: "在主理人与我页面说明可服务的地区和真实履约承诺。", page: "profile", target: "brand", fields: [ { key: "coverage", binding: "brand.config.profilePresentation.coverage", label: "服务区域", input: "list", itemFields: [ { key: "title", label: "区域名称", }, { key: "content", label: "服务说明", input: "textarea", }, ], previewTarget: "linjing-editorial.profile.coverage", }, { key: "warranty", binding: "brand.config.profilePresentation.warranty", label: "履约与维护说明", input: "list", itemValueKey: "value", itemFields: [ { key: "value", label: "承诺内容", input: "textarea", }, ], previewTarget: "linjing-editorial.profile.warranty", }, { key: "recordsTitle", binding: "brand.config.visualPresentation.profile.recordsTitle", label: "咨询记录入口标题", input: "text", previewTarget: "linjing-editorial.profile.records", }, { key: "recordsSubtitle", binding: "brand.config.visualPresentation.profile.recordsSubtitle", label: "咨询记录入口说明", input: "textarea", previewTarget: "linjing-editorial.profile.records", }, { key: "coverageTitle", binding: "brand.config.visualPresentation.profile.coverageTitle", label: "服务区域标题", input: "text", previewTarget: "linjing-editorial.profile.coverage", }, { key: "warrantyTitle", binding: "brand.config.visualPresentation.profile.warrantyTitle", label: "履约说明标题", input: "text", previewTarget: "linjing-editorial.profile.warranty", }, { key: "phoneLabel", binding: "brand.config.visualPresentation.profile.phoneLabel", label: "电话标签", input: "text", previewTarget: "linjing-editorial.profile.identity", }, { key: "wechatLabel", binding: "brand.config.visualPresentation.profile.wechatLabel", label: "微信标签", input: "text", previewTarget: "linjing-editorial.profile.identity", }, { key: "addressLabel", binding: "brand.config.visualPresentation.profile.addressLabel", label: "地址标签", input: "text", previewTarget: "linjing-editorial.profile.identity", }, { key: "callAction", binding: "brand.config.visualPresentation.profile.callAction", label: "拨打电话按钮", input: "text", previewTarget: "linjing-editorial.profile.identity", }, { key: "copyAction", binding: "brand.config.visualPresentation.profile.copyAction", label: "复制微信按钮", input: "text", previewTarget: "linjing-editorial.profile.identity", }, { key: "recordsCountUnit", binding: "brand.config.visualPresentation.profile.recordsCountUnit", label: "记录数量单位", input: "text", previewTarget: "linjing-editorial.profile.identity", }, ], previewTargets: [ { key: "linjing-editorial.profile.profileDetails", label: "主理人页面", composite: true, children: [ "linjing-editorial.profile.identity", "linjing-editorial.profile.records", "linjing-editorial.profile.coverage", "linjing-editorial.profile.warranty", ], }, { key: "linjing-editorial.profile.records", label: "咨询记录入口", }, { key: "linjing-editorial.profile.coverage", label: "服务区域", }, { key: "linjing-editorial.profile.warranty", label: "履约说明", }, ], }, { key: "offeringsOffering", title: "业务卡片", description: "点选预览中的单条内容,修改对应业务记录。", page: "offerings", target: "offering", fields: [ { key: "name", binding: "offering.name", label: "名称", input: "text", previewTarget: "linjing-editorial.offerings.item", }, { key: "summary", binding: "offering.summary", label: "简介", input: "textarea", previewTarget: "linjing-editorial.offerings.item", }, { key: "priceText", binding: "offering.priceText", label: "价格说明", input: "text", previewTarget: "linjing-editorial.offerings.item", }, { key: "coverUrl", binding: "offering.coverUrl", label: "封面图片", input: "image", previewTarget: "linjing-editorial.offerings.item", }, { key: "detailHero", binding: "offering.config.detailHero", label: "详情主图", input: "image", previewTarget: "linjing-editorial.offerings.item", help: "此图优先用于卡片和详情;未填写时使用封面图片。", }, { key: "categoryLabel", binding: "offering.config.categoryKey", label: "案例类别", 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", }, { key: "area", binding: "offering.config.area", label: "项目地点", input: "text", previewTarget: "linjing-editorial.offerings.item", }, ], previewTargets: [ { key: "linjing-editorial.offerings.item", label: "业务卡片", }, ], }, { key: "cases", title: "案例与体系", description: "说明案例页展示的内容,让业主能快速找到相近项目。", page: "offerings", target: "offering", fields: [ { key: "worksEyebrow", binding: "brand.config.visualPresentation.offerings.worksEyebrow", label: "案例页辅助标题", input: "text", previewTarget: "linjing-editorial.offerings.cases", }, { key: "worksTitle", binding: "brand.config.visualPresentation.offerings.worksTitle", label: "案例页主标题", input: "text", previewTarget: "linjing-editorial.offerings.cases", }, { key: "subtitle", binding: "brand.config.visualPresentation.offerings.subtitle", label: "案例页说明", input: "textarea", maxLength: 140, previewTarget: "linjing-editorial.offerings.cases", }, { key: "closingText", binding: "brand.config.visualPresentation.offerings.closingText", label: "案例页结语", input: "textarea", previewTarget: "linjing-editorial.offerings.cases", }, { key: "closingAction", binding: "brand.config.visualPresentation.offerings.closingAction", label: "案例页咨询入口", input: "text", previewTarget: "linjing-editorial.offerings.cases", }, ], previewTargets: [ { key: "linjing-editorial.offerings.cases", label: "案例与体系", }, ], }, { key: "consultation", title: "咨询说明", description: "明确访客提交后会得到怎样的回应,减少无效咨询。", page: "inquiry", target: "inquiry", fields: [ { key: "title", binding: "brand.config.visualPresentation.inquiry.title", label: "咨询页面标题", input: "text", previewTarget: "linjing-editorial.inquiry.consultation", }, { key: "subtitle", binding: "brand.config.visualPresentation.inquiry.subtitle", label: "咨询说明", input: "textarea", maxLength: 140, previewTarget: "linjing-editorial.inquiry.consultation", }, { key: "submitLabel", binding: "brand.config.visualPresentation.inquiry.submitLabel", label: "提交按钮文字", input: "text", previewTarget: "linjing-editorial.inquiry.consultation", }, { key: "eyebrow", binding: "brand.config.visualPresentation.inquiry.eyebrow", label: "咨询页小标题", input: "text", previewTarget: "linjing-editorial.inquiry.consultation", }, { key: "note", binding: "brand.config.visualPresentation.inquiry.note", label: "咨询前提示", input: "textarea", previewTarget: "linjing-editorial.inquiry.consultation", }, ], previewTargets: [ { key: "linjing-editorial.inquiry.consultation", label: "咨询说明", }, ], }, { key: "projectDetail", title: "案例详情", description: "以下内容分别填写在每个案例中,空白内容不会展示。", page: "detail", target: "offering", fields: [ { key: "categoryLabel", binding: "offering.config.categoryKey", label: "案例类别", 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", }, { key: "detailHero", binding: "offering.config.detailHero", label: "详情主图", input: "image", previewTarget: "linjing-editorial.detail.projectDetail", }, { key: "area", binding: "offering.config.area", label: "项目地点", input: "text", previewTarget: "linjing-editorial.detail.projectDetail", }, { key: "series", binding: "offering.config.series", label: "产品系列", input: "text", previewTarget: "linjing-editorial.detail.projectDetail", }, { key: "spaceType", binding: "offering.config.spaceType", label: "适用空间", input: "text", previewTarget: "linjing-editorial.detail.projectDetail", }, { key: "background", binding: "offering.config.details.background", label: "项目背景", input: "textarea", previewTarget: "linjing-editorial.detail.projectDetail", }, { key: "designConcept", binding: "offering.config.details.designConcept", label: "设计理念", input: "textarea", previewTarget: "linjing-editorial.detail.projectDetail", }, { key: "keywords", binding: "offering.config.keywords", label: "项目关键词", input: "list", itemValueKey: "value", itemFields: [ { key: "value", label: "关键词", }, ], previewTarget: "linjing-editorial.detail.projectDetail", }, { key: "crafts", binding: "offering.config.details.crafts", label: "工艺要点", input: "list", itemValueKey: "value", itemFields: [ { key: "value", label: "工艺说明", }, ], previewTarget: "linjing-editorial.detail.projectDetail", }, { key: "materialsList", binding: "offering.config.details.materialsList", label: "材料说明", input: "list", itemFields: [ { key: "name", label: "材料名称", }, { key: "spec", label: "规格说明", }, ], previewTarget: "linjing-editorial.detail.projectDetail", }, ], previewTargets: [ { key: "linjing-editorial.detail.projectDetail", label: "案例详情", }, ], }, { key: "detailCopy", title: "详情页说明", description: "说明案例内容、价格与咨询后的真实处理方式。", page: "detail", target: "brand", fields: [ { key: "priceLabel", binding: "brand.config.visualPresentation.detail.priceLabel", label: "价格说明标题", input: "text", previewTarget: "linjing-editorial.detail.detailCopy", }, { key: "spaceLabel", binding: "brand.config.visualPresentation.detail.spaceLabel", label: "适用空间标题", input: "text", previewTarget: "linjing-editorial.detail.detailCopy", }, { key: "backgroundTitle", binding: "brand.config.visualPresentation.detail.backgroundTitle", label: "项目背景标题", input: "text", previewTarget: "linjing-editorial.detail.detailCopy", }, { key: "conceptTitle", binding: "brand.config.visualPresentation.detail.conceptTitle", label: "设计理念标题", input: "text", previewTarget: "linjing-editorial.detail.detailCopy", }, { key: "craftsTitle", binding: "brand.config.visualPresentation.detail.craftsTitle", label: "工艺要点标题", input: "text", previewTarget: "linjing-editorial.detail.detailCopy", }, { key: "materialsTitle", binding: "brand.config.visualPresentation.detail.materialsTitle", label: "材料说明标题", input: "text", previewTarget: "linjing-editorial.detail.detailCopy", }, ], previewTargets: [ { key: "linjing-editorial.detail.detailCopy", label: "详情页说明", }, ], }, { key: "successCopy", title: "提交成功页", description: "访客提交后看到的确认信息与后续预期。", page: "success", target: "brand", fields: [ { key: "eyebrow", binding: "brand.config.visualPresentation.success.eyebrow", label: "页面小标题", input: "text", previewTarget: "linjing-editorial.success.successCopy", }, { key: "title", binding: "brand.config.visualPresentation.success.title", label: "确认标题", input: "text", previewTarget: "linjing-editorial.success.successCopy", }, { key: "intro", binding: "brand.config.visualPresentation.success.intro", label: "后续联系说明", help: "回复时间必须与实际承诺一致。", input: "textarea", previewTarget: "linjing-editorial.success.successCopy", }, { key: "recordsAction", binding: "brand.config.visualPresentation.success.recordsAction", label: "查看记录按钮", input: "text", previewTarget: "linjing-editorial.success.successCopy", }, { key: "homeAction", binding: "brand.config.visualPresentation.success.homeAction", label: "返回首页按钮", input: "text", previewTarget: "linjing-editorial.success.successCopy", }, ], previewTargets: [ { key: "linjing-editorial.success.successCopy", label: "提交成功页", }, ], }, { key: "recordsCopy", title: "咨询记录页", description: "访客查看咨询状态时看到的内容。", page: "records", target: "brand", fields: [ { key: "title", binding: "brand.config.visualPresentation.records.title", label: "记录页标题", input: "text", previewTarget: "linjing-editorial.records.recordsCopy", }, { key: "createAction", binding: "brand.config.visualPresentation.records.createAction", label: "新增咨询按钮", input: "text", previewTarget: "linjing-editorial.records.recordsCopy", }, { key: "emptyTitle", binding: "brand.config.visualPresentation.records.emptyTitle", label: "暂无记录标题", input: "text", previewTarget: "linjing-editorial.records.recordsCopy", }, { key: "emptyDescription", binding: "brand.config.visualPresentation.records.emptyDescription", label: "暂无记录说明", input: "textarea", previewTarget: "linjing-editorial.records.recordsCopy", }, { key: "emptyAction", binding: "brand.config.visualPresentation.records.emptyAction", label: "空状态按钮", input: "text", previewTarget: "linjing-editorial.records.recordsCopy", }, ], previewTargets: [ { key: "linjing-editorial.records.recordsCopy", label: "咨询记录页", }, ], }, { key: "offerings_detailAction", title: "详情按钮文字", description: "此页同类按钮共用此文案。", page: "offerings", target: "brand", previewTargets: [ { key: "linjing-editorial.offerings.action", label: "详情按钮文字", }, ], fields: [ { key: "detailAction", binding: "brand.config.visualPresentation.offerings.detailAction", label: "详情按钮文字", input: "text", previewTarget: "linjing-editorial.offerings.action", }, ], }, { key: "detailAction", title: "详情页咨询入口", description: "公共按钮与提示,对所有业务详情生效。", page: "detail", target: "brand", fields: [ { key: "inquiryAction", binding: "brand.config.visualPresentation.detail.inquiryAction", label: "咨询按钮文字", input: "text", previewTarget: "linjing-editorial.detail.action", }, { key: "inquiryHint", binding: "brand.config.visualPresentation.detail.inquiryHint", label: "咨询后的处理说明", help: "只填写能兑现的服务安排。", input: "textarea", previewTarget: "linjing-editorial.detail.action", }, ], previewTargets: [ { key: "linjing-editorial.detail.action", label: "详情页咨询入口", }, ], }, ], }, trustContentTypes: [ { 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, }, { type: "credential", label: "专业资历与方法", adminFields: { title: "证明标题", summary: "专业摘要", content: "资历与方法说明", }, pages: ["home", "profile"], help: "填写经验、资质、专业标准或工作方法。", previewTargets: [ { key: "editorial.home.proof.stats", label: "信任数据", page: "home", }, { key: "editorial.home.manifesto.pillars", label: "专业方法", page: "home", }, { key: "editorial.home.flow.steps", label: "合作流程步骤", page: "home", }, ], configFields: [ { key: "stats", binding: "trust.config.stats", label: "信任数据", input: "list", previewTarget: "editorial.home.proof.stats", itemFields: [ { key: "value", label: "数字或成果", }, { key: "label", label: "说明", }, { key: "sub", label: "补充说明", required: false, }, ], }, { key: "pillars", binding: "trust.config.pillars", label: "专业方法", input: "list", previewTarget: "editorial.home.manifesto.pillars", itemFields: [ { key: "title", label: "方法名称", }, { key: "desc", label: "方法说明", }, ], }, { key: "serviceFlow", binding: "trust.config.serviceFlow", label: "合作流程", input: "list", previewTarget: "editorial.home.flow.steps", itemFields: [ { key: "step", label: "步骤编号", }, { key: "name", label: "步骤名称", }, { key: "desc", label: "步骤说明", }, ], }, ], required: true, }, { 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", name: "序章·入户门", summary: "为别墅入口定制的整樘门系统", categoryKey: "entrance-door", }, { kind: "product", name: "庭院·边界门", summary: "连接建筑与庭院的定制门", categoryKey: "garden-door", }, { kind: "product", name: "室内·静谧门", summary: "统一室内空间秩序的户内门", categoryKey: "interior-door", }, { kind: "service", name: "一对一门系统设计咨询", summary: "从现场到方案的完整设计沟通", categoryKey: "custom", }, ], trustContent: [ { type: "credential", title: "主理人的门作观", content: "示例内容,待品牌主理人完善。", }, { type: "case", title: "别墅门系统案例", content: "示例内容,待品牌主理人完善。", }, { type: "process", title: "从测量到交付", content: "示例内容,待品牌主理人完善。", }, { type: "credential", title: "材料与工艺标准", content: "示例内容,待品牌主理人完善。", }, ], fields: [ { key: "doorType", label: "期望定制的门类型", type: "select", required: true, options: [ { label: "入户大门(防暴铸铜 / 实木)", value: "入户大门(防暴铸铜 / 实木)", }, { label: "庭院围墙门(耐候格栅 / 对开)", value: "庭院围墙门(耐候格栅 / 对开)", }, { label: "全屋室内门系统(通顶隐形)", value: "全屋室内门系统(通顶隐形)", }, { label: "背景墙一体门 / 密室门", value: "背景墙一体门 / 密室门", }, { label: "整栋别墅门系统全案一体化", value: "整栋别墅门系统全案一体化", }, ], }, { key: "cityArea", label: "房屋 / 别墅所在城市与楼盘", type: "text", required: true, }, { key: "projectStage", label: "项目阶段", type: "select", required: true, options: [ { label: "土建结构阶段(适合预埋加固)", value: "土建结构阶段(适合预埋加固)", }, { label: "水电木工阶段(适合精确测距)", value: "水电木工阶段(适合精确测距)", }, { label: "硬装收尾阶段", value: "硬装收尾阶段", }, { label: "旧宅门体翻新改造", value: "旧宅门体翻新改造", }, ], }, { key: "budgetRange", label: "预估门系统投资预算", type: "select", required: false, options: [ { label: "5 万 - 10 万", value: "5 万 - 10 万", }, { label: "10 万 - 20 万", value: "10 万 - 20 万", }, { label: "20 万 - 50 万(全宅全案)", value: "20 万 - 50 万(全宅全案)", }, { label: "50 万以上(顶级孤品定制)", value: "50 万以上(顶级孤品定制)", }, ], }, { key: "needMeasure", label: "是否需要主理人上门现场量房", type: "radio", required: true, options: [ { label: "需要(预约排期现场勘测)", value: "需要(预约排期现场勘测)", }, { label: "暂不需要(先发图纸在线深化评估)", value: "暂不需要(先发图纸在线深化评估)", }, ], }, { key: "contactName", label: "贵姓称谓", type: "text", required: true, }, { key: "contactPhone", label: "联系手机号(微信同号)", type: "tel", required: true, }, { key: "specialNote", label: "空间想法或特殊需求描述", type: "textarea", required: false, }, ], capabilityKey: "doors", }, personal: { templateKey: "personal", inquiryFormName: "合作咨询表单", offerings: [ { kind: "service", name: "示例·品牌定位咨询", summary: "梳理品牌定位与下一步行动。", categoryKey: "consulting", }, { kind: "service", name: "示例·长期顾问支持", summary: "围绕表达和转化提供持续支持。", categoryKey: "advisory", }, ], trustContent: [ { type: "credential", title: "关于主理人", content: "示例内容,待品牌主理人完善。", }, { type: "process", title: "合作方法", content: "示例内容,待品牌主理人完善。", }, ], fields: [ { key: "name", label: "您的称呼", type: "text", required: true, }, { key: "phone", label: "联系方式", type: "phone", required: true, }, { key: "remark", label: "合作需求", type: "textarea", required: true, }, ], capabilityKey: "inquiry", }, }, pages: ["pages/index/index", "pages/services/index", "pages/bookings/index"], visualTemplateKey: "linjing-editorial", }, ]; export const generatedTemplatePackageRegistryHash = "56656913de9cbf7f406e705cfea33698f2404b23f3b6fe9423345a8bef57708e";