{ "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": "让访客知道谁在出餐、在哪里可以找到你。", "target": "brand", "fields": [ { "key": "founder", "binding": "brand.config.founder", "label": "主理人姓名", "input": "text", "required": true, "placeholder": "例如:阿成" }, { "key": "portrait", "binding": "brand.config.avatarUrl", "label": "主理人照片", "help": "使用清晰、真实的照片,让顾客知道是谁在认真做餐。", "input": "image" }, { "key": "title", "binding": "brand.config.title", "label": "你的身份", "help": "例如:校园餐饮主理人。", "input": "text", "required": true }, { "key": "slogan", "binding": "brand.config.slogan", "label": "想对顾客说的一句话", "input": "textarea", "maxLength": 80 }, { "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" } ] }, { "key": "home", "title": "首页出摊信息", "description": "说明今天在哪里、何时营业,以及餐品有什么特点。", "target": "brand", "fields": [ { "key": "stallTitle", "binding": "brand.config.visualPresentation.home.stallTitle", "label": "出摊信息标题", "input": "text", "placeholder": "例如:今日出摊点" }, { "key": "heroImage", "binding": "brand.config.heroImage", "label": "出摊现场主图", "help": "展示真实摊位、餐品或取餐场景,建议使用横向图片。", "input": "image", "required": true }, { "key": "stallTime", "binding": "brand.config.visualPresentation.home.stallTime", "label": "营业时间说明", "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", "label": "餐品区域小标题", "input": "text" }, { "key": "worksTitle", "binding": "brand.config.visualPresentation.home.worksTitle", "label": "招牌餐品标题", "input": "text" }, { "key": "manifestoTitle", "binding": "brand.config.visualPresentation.home.manifestoTitle", "label": "出餐承诺标题", "input": "text" } ] }, { "key": "service", "title": "出摊服务页说明", "description": "设置出摊服务页的区块标题和咨询入口文字;具体时间、范围和流程内容在信任内容中维护。", "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", "label": "流程咨询按钮", "input": "text", "placeholder": "例如:立即预订" } ] }, { "key": "menu", "title": "菜单页说明", "description": "帮助顾客理解日常餐品和团体定制的选择方式。", "target": "brand", "fields": [ { "key": "title", "binding": "brand.config.visualPresentation.offerings.title", "label": "菜单页标题", "input": "text" }, { "key": "subtitle", "binding": "brand.config.visualPresentation.offerings.subtitle", "label": "菜单页说明", "input": "textarea", "maxLength": 120 }, { "key": "menuTip", "binding": "brand.config.visualPresentation.offerings.menuTip", "label": "菜单提示", "help": "只填写当前实际提供的取餐、加菜或定制服务。", "input": "textarea" } ] }, { "key": "booking", "title": "预订与定制", "description": "告诉顾客提交信息后会如何确认餐品和时间。", "target": "inquiry", "fields": [ { "key": "title", "binding": "brand.config.visualPresentation.inquiry.title", "label": "预订页面标题", "input": "text" }, { "key": "subtitle", "binding": "brand.config.visualPresentation.inquiry.subtitle", "label": "预订说明", "input": "textarea", "maxLength": 120 }, { "key": "submitLabel", "binding": "brand.config.visualPresentation.inquiry.submitLabel", "label": "提交按钮文字", "input": "text", "placeholder": "例如:提交预订需求" }, { "key": "promise", "binding": "brand.config.visualPresentation.inquiry.promise", "label": "真实服务承诺", "help": "仅填写能兑现的回复时间、订金和联系规则;留空则不显示。", "input": "textarea" } ] }, { "key": "dishDetail", "title": "餐品与服务详情", "description": "每项餐品或服务单独填写;没有内容的详情区块不会展示。", "target": "offering", "fields": [ { "key": "categoryLabel", "binding": "offering.config.categoryLabel", "label": "餐品类别", "input": "text" }, { "key": "detailHero", "binding": "offering.config.detailHero", "label": "详情主图", "input": "image" }, { "key": "area", "binding": "offering.config.area", "label": "供应地点", "input": "text" }, { "key": "series", "binding": "offering.config.series", "label": "套餐或系列说明", "input": "text" }, { "key": "spaceType", "binding": "offering.config.spaceType", "label": "适合场景", "input": "text" }, { "key": "background", "binding": "offering.config.details.background", "label": "餐品介绍", "input": "textarea" }, { "key": "designConcept", "binding": "offering.config.details.designConcept", "label": "口味与分量", "input": "textarea" }, { "key": "keywords", "binding": "offering.config.keywords", "label": "餐品特色", "input": "list", "itemValueKey": "value", "itemFields": [{ "key": "value", "label": "特色" }] }, { "key": "crafts", "binding": "offering.config.details.crafts", "label": "制作方式", "input": "list", "itemValueKey": "value", "itemFields": [{ "key": "value", "label": "制作说明" }] }, { "key": "materialsList", "binding": "offering.config.details.materialsList", "label": "食材与搭配", "input": "list", "itemFields": [ { "key": "name", "label": "食材或搭配" }, { "key": "spec", "label": "说明" } ] } ] }, { "key": "detailCopy", "title": "详情页说明", "description": "解释价格、餐品内容和咨询后会怎样处理。", "target": "brand", "fields": [ { "key": "priceLabel", "binding": "brand.config.visualPresentation.detail.priceLabel", "label": "价格说明标题", "input": "text" }, { "key": "spaceLabel", "binding": "brand.config.visualPresentation.detail.spaceLabel", "label": "适合场景标题", "input": "text" }, { "key": "backgroundTitle", "binding": "brand.config.visualPresentation.detail.backgroundTitle", "label": "餐品介绍标题", "input": "text" }, { "key": "conceptTitle", "binding": "brand.config.visualPresentation.detail.conceptTitle", "label": "口味与分量标题", "input": "text" }, { "key": "craftsTitle", "binding": "brand.config.visualPresentation.detail.craftsTitle", "label": "制作方式标题", "input": "text" }, { "key": "materialsTitle", "binding": "brand.config.visualPresentation.detail.materialsTitle", "label": "食材与搭配标题", "input": "text" }, { "key": "inquiryAction", "binding": "brand.config.visualPresentation.detail.inquiryAction", "label": "咨询按钮文字", "input": "text" }, { "key": "inquiryHint", "binding": "brand.config.visualPresentation.detail.inquiryHint", "label": "咨询后的处理说明", "help": "只写能够兑现的联系和确认方式。", "input": "textarea" } ] }, { "key": "successCopy", "title": "提交成功页", "description": "顾客提交后看到的确认信息与后续预期。", "target": "brand", "fields": [ { "key": "eyebrow", "binding": "brand.config.visualPresentation.success.eyebrow", "label": "页面小标题", "input": "text" }, { "key": "title", "binding": "brand.config.visualPresentation.success.title", "label": "确认标题", "input": "text" }, { "key": "intro", "binding": "brand.config.visualPresentation.success.intro", "label": "后续联系说明", "help": "若写回复时间,请确认日常能兑现。", "input": "textarea" }, { "key": "recordsAction", "binding": "brand.config.visualPresentation.success.recordsAction", "label": "查看记录按钮", "input": "text" }, { "key": "homeAction", "binding": "brand.config.visualPresentation.success.homeAction", "label": "返回首页按钮", "input": "text" } ] }, { "key": "recordsCopy", "title": "咨询记录页", "description": "顾客查看预订与咨询处理进度时看到的内容。", "target": "brand", "fields": [ { "key": "title", "binding": "brand.config.visualPresentation.records.title", "label": "记录页标题", "input": "text" }, { "key": "createAction", "binding": "brand.config.visualPresentation.records.createAction", "label": "新增咨询按钮", "input": "text" }, { "key": "emptyTitle", "binding": "brand.config.visualPresentation.records.emptyTitle", "label": "暂无记录标题", "input": "text" }, { "key": "emptyDescription", "binding": "brand.config.visualPresentation.records.emptyDescription", "label": "暂无记录说明", "input": "textarea" }, { "key": "emptyAction", "binding": "brand.config.visualPresentation.records.emptyAction", "label": "空状态按钮", "input": "text" } ] } ] }, "trustContentTypes": [ { "type": "schedule", "label": "出摊与营业安排", "help": "说明固定出摊时间、临时营业安排或接受预订的时段。", "placeholder": "例如:周一至周五 17:00 - 22:30", "required": true }, { "type": "coverage", "label": "取餐与配送范围", "help": "说明服务地点、取餐方式和可配送范围。", "placeholder": "例如:支持校内宿舍楼下配送", "required": true }, { "type": "process", "label": "定制餐品流程", "help": "每行写一步,从提出需求到完成交付。", "placeholder": "例如:提交需求\n确认菜单\n制作交付", "required": true }, { "type": "credential", "label": "食品安全与制作标准", "help": "填写让顾客放心的资质、卫生或制作标准。" }, { "type": "case", "label": "客户案例与反馈", "help": "填写代表性订单、活动案例或客户评价。" }, { "type": "promise", "label": "回复与服务承诺", "help": "说明回复时间、退改规则或服务承诺。" } ], "sampleContent": { "food": { "templateKey": "food", "offerings": [ { "kind": "package", "name": "示例·今日套餐", "summary": "现做家常套餐示例内容。", "categoryKey": "set-meal" }, { "kind": "service", "name": "示例·聚餐定制", "summary": "按人数和口味沟通定制餐品。", "categoryKey": "private-chef" } ], "trustContent": [ { "type": "credential", "title": "关于主理人", "content": "示例内容,待品牌主理人完善。" }, { "type": "process", "title": "从预订到取餐", "content": "示例内容,待品牌主理人完善。" } ], "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"] }