Files
persionalBrand/packages/template-linjing-editorial/template.json
T

418 lines
13 KiB
JSON

{
"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": "访客自己的咨询记录"
}
],
"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": "让业主清楚谁负责项目,以及如何联系你。",
"target": "brand",
"fields": [
{
"key": "founder",
"binding": "brand.config.founder",
"label": "主理人姓名",
"input": "text",
"required": true
},
{
"key": "portrait",
"binding": "brand.config.avatarUrl",
"label": "主理人肖像",
"help": "建议使用正式、清晰的个人照片。",
"input": "image"
},
{
"key": "title",
"binding": "brand.config.title",
"label": "身份或职位",
"input": "text",
"required": true,
"placeholder": "例如:别墅门系统主理人"
},
{
"key": "slogan",
"binding": "brand.config.slogan",
"label": "主理人主张",
"input": "textarea",
"maxLength": 100
},
{
"key": "studioAddress",
"binding": "brand.config.studioAddress",
"label": "服务区域或工作室地址",
"input": "text",
"required": true
},
{
"key": "phone",
"binding": "brand.config.phone",
"label": "公开联系电话",
"input": "phone"
},
{
"key": "wechat",
"binding": "brand.config.wechat",
"label": "公开微信号",
"input": "text"
}
]
},
{
"key": "home",
"title": "首页品牌表达",
"description": "用简洁的语言解释你的项目方法、代表作品和合作流程。",
"target": "brand",
"fields": [
{
"key": "founderBadge",
"binding": "brand.config.visualPresentation.home.founderBadge",
"label": "主理人标签",
"input": "text",
"placeholder": "例如:亲自主理 / 10 年经验"
},
{
"key": "heroImage",
"binding": "brand.config.heroImage",
"label": "首页项目主图",
"help": "展示真实别墅、入户门或空间细节,体现项目能力。",
"input": "image",
"required": true
},
{
"key": "proofTitle",
"binding": "brand.config.visualPresentation.home.proofTitle",
"label": "信任介绍标题",
"input": "text"
},
{
"key": "worksTitle",
"binding": "brand.config.visualPresentation.home.worksTitle",
"label": "代表案例标题",
"input": "text"
},
{
"key": "flowTitle",
"binding": "brand.config.visualPresentation.home.flowTitle",
"label": "项目流程标题",
"input": "text"
}
]
},
{
"key": "cases",
"title": "案例与体系",
"description": "说明案例页展示的内容,让业主能快速找到相近项目。",
"target": "offering",
"fields": [
{
"key": "worksEyebrow",
"binding": "brand.config.visualPresentation.offerings.worksEyebrow",
"label": "案例页辅助标题",
"input": "text"
},
{
"key": "worksTitle",
"binding": "brand.config.visualPresentation.offerings.worksTitle",
"label": "案例页主标题",
"input": "text"
},
{
"key": "subtitle",
"binding": "brand.config.visualPresentation.offerings.subtitle",
"label": "案例页说明",
"input": "textarea",
"maxLength": 140
}
]
},
{
"key": "consultation",
"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": 140
},
{
"key": "submitLabel",
"binding": "brand.config.visualPresentation.inquiry.submitLabel",
"label": "提交按钮文字",
"input": "text"
}
]
}
]
},
"sampleContent": {
"doors": {
"templateKey": "doors",
"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": "profile", "title": "主理人的门作观", "content": "示例内容,待品牌主理人完善。" },
{
"type": "portfolio",
"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",
"offerings": [
{
"kind": "service",
"name": "示例·品牌定位咨询",
"summary": "梳理品牌定位与下一步行动。",
"categoryKey": "consulting"
},
{
"kind": "service",
"name": "示例·长期顾问支持",
"summary": "围绕表达和转化提供持续支持。",
"categoryKey": "advisory"
}
],
"trustContent": [
{ "type": "profile", "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"]
}