{ "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.categoryLabel", "label": "餐品类别", "input": "text", "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.categoryLabel", "label": "餐品类别", "input": "text", "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"] }