fix: 收口模板预览状态与媒体矩阵

This commit is contained in:
que01 committed 2026-10-16 22:53:05 +08:00
1 parent 5bf54096be
commit b1e8012ded
28 files changed
+1015 -56

No files matched your search

@@ -4,7 +4,7 @@ import type { TemplatePackageManifest } from "./index.js";
export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[] = [
{
packageKey: "acheng-campus-food",
version: "1.0.0",
version: "1.0.1",
displayName: "阿成校园餐",
defaultBrandSlug: "default-brand",
runtimeContract: "1.0",
@@ -1246,12 +1246,34 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
name: "示例·今日套餐",
summary: "现做家常套餐示例内容。",
categoryKey: "set-meal",
coverUrl: "/assets/content/package-01.jpg",
priceText: "¥28 起 / 份",
config: {
media: [
{
url: "/assets/content/package-01.jpg",
alt: "",
type: "image",
},
],
},
},
{
kind: "service",
name: "示例·聚餐定制",
summary: "按人数和口味沟通定制餐品。",
categoryKey: "private-chef",
coverUrl: "/assets/content/private-chef.jpg",
priceText: "按人数和菜单确认",
config: {
media: [
{
url: "/assets/content/private-chef.jpg",
alt: "",
type: "image",
},
],
},
},
],
trustContent: [
@@ -1503,6 +1525,75 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
},
],
capabilityKey: "booking",
brandConfig: {
visualTemplateKey: "acheng-campus-food",
founder: "阿成",
title: "私房菜主理人",
slogan: "认真做好每一顿家常饭。",
phone: "",
wechat: "",
studioAddress: "大学城生活区东门附近",
avatarUrl: "/assets/owner/portrait.jpg",
heroImage: "/assets/content/package-01.jpg",
visualPresentation: {
home: {
stallTitle: "服务地点",
primaryAction: "咨询 / 预订",
secondaryAction: "查看菜单",
worksEyebrow: "今日推荐",
worksTitle: "热门套餐",
worksAction: "查看全部 →",
manifestoTitle: "我们的服务承诺",
},
offerings: {
title: "餐品与定制",
subtitle: "现做家常餐、团体餐和活动定制",
materialLabel: "包含:",
hardwareLabel: "定制说明:",
detailAction: "查看详情 →",
inquiryAction: "预订 / 咨询",
},
detail: {
priceLabel: "价格参考",
spaceLabel: "适合场景",
backgroundTitle: "餐品说明",
conceptTitle: "备餐方式",
craftsTitle: "服务内容",
materialsTitle: "交付说明",
inquiryAction: "预订 / 咨询",
inquiryHint: "提交后会由主理人与你确认时间、数量和地点。",
},
profile: {
phoneLabel: "联系电话",
wechatLabel: "微信",
addressLabel: "服务地点",
callAction: "呼叫",
copyAction: "复制",
recordsTitle: "我的订单与咨询",
recordsCountUnit: "条记录",
},
inquiry: {
eyebrow: "ORDER",
title: "餐品预订",
subtitle: "留下用餐时间和人数,我会尽快确认。",
submitLabel: "提交预订需求",
},
success: {
eyebrow: "ORDER",
title: "已收到你的需求",
intro: "确认备餐时间和数量后,我会尽快回复。",
recordsAction: "查看咨询记录",
homeAction: "返回首页",
},
records: {
title: "我的咨询记录",
createAction: "新增咨询",
emptyTitle: "还没有咨询记录",
emptyDescription: "提交一次需求,开始与主理人沟通。",
emptyAction: "开始咨询",
},
},
},
},
},
pages: [
@@ -1516,7 +1607,7 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
},
{
packageKey: "atelier-solopreneur",
version: "1.2.0",
version: "1.3.0",
displayName: "独立工坊 · 品牌小程序",
defaultBrandSlug: "atelier-studio",
runtimeContract: "1.0",
@@ -3363,6 +3454,7 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
hours: "工作日 10:00–18:00",
address: "远程协作 · 全国",
deliveryNote: "演示内容不接受真实咨询。",
avatarUrl: "/assets/avatar.jpg",
},
content: {
templateKey: "personal",
@@ -3812,7 +3904,7 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
},
{
packageKey: "linjing-editorial",
version: "1.0.1",
version: "1.0.3",
displayName: "林境建筑画册",
defaultBrandSlug: "linjing-doors",
runtimeContract: "1.0",
@@ -5141,24 +5233,68 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
name: "序章·入户门",
summary: "为别墅入口定制的整樘门系统",
categoryKey: "entrance-door",
coverUrl: "/assets/content/doors-hero.jpg",
priceText: "按项目确认",
config: {
media: [
{
url: "/assets/content/doors-hero.jpg",
alt: "",
type: "image",
},
],
},
},
{
kind: "product",
name: "庭院·边界门",
summary: "连接建筑与庭院的定制门",
categoryKey: "garden-door",
coverUrl: "/assets/content/doors-yard-gate.jpg",
priceText: "按项目确认",
config: {
media: [
{
url: "/assets/content/doors-yard-gate.jpg",
alt: "",
type: "image",
},
],
},
},
{
kind: "product",
name: "室内·静谧门",
summary: "统一室内空间秩序的户内门",
categoryKey: "interior-door",
coverUrl: "/assets/content/doors-room-door.jpg",
priceText: "按项目确认",
config: {
media: [
{
url: "/assets/content/doors-room-door.jpg",
alt: "",
type: "image",
},
],
},
},
{
kind: "service",
name: "一对一门系统设计咨询",
summary: "从现场到方案的完整设计沟通",
categoryKey: "custom",
coverUrl: "/assets/content/personal-consulting.jpg",
priceText: "按项目确认",
config: {
media: [
{
url: "/assets/content/personal-consulting.jpg",
alt: "",
type: "image",
},
],
},
},
],
trustContent: [
@@ -5302,6 +5438,79 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
},
],
capabilityKey: "inquiry",
brandConfig: {
visualTemplateKey: "linjing-editorial",
templateData: {
designPhilosophy: "先厘清问题,再设计表达",
},
title: "门系统设计师",
slogan: "让门成为空间秩序的一部分。",
phone: "",
wechat: "",
studioAddress: "上海·设计工作室",
avatarUrl: "/assets/content/personal-avatar.jpg",
heroImage: "/assets/content/doors-hero.jpg",
visualPresentation: {
home: {
founderBadge: "接受项目沟通",
proofEyebrow: "专业经验与合作成果",
proofTitle: "经验与方法",
manifestoEyebrow: "工作原则",
manifestoTitle: "先厘清问题,再设计表达",
worksEyebrow: "项目案例",
worksTitle: "门系统项目",
worksAction: "查看全部 →",
},
offerings: {
title: "门系统项目",
subtitle: "从入户门到室内门的一体化设计",
materialLabel: "包含:",
hardwareLabel: "定制说明:",
detailAction: "查看详情 →",
inquiryAction: "发起咨询",
},
detail: {
priceLabel: "价格参考",
spaceLabel: "适合场景",
backgroundTitle: "项目背景",
conceptTitle: "设计思路",
craftsTitle: "交付要点",
materialsTitle: "材料与说明",
inquiryAction: "发起咨询",
inquiryHint: "提交信息后由主理人与您沟通。",
},
profile: {
phoneLabel: "联系电话",
wechatLabel: "微信",
addressLabel: "工作地点",
callAction: "呼叫",
copyAction: "复制",
recordsTitle: "我的咨询记录",
recordsCountUnit: "条记录",
},
inquiry: {
eyebrow: "COLLABORATION",
title: "合作咨询",
subtitle: "留下你的需求与目标,主理人会尽快联系。",
submitLabel: "提交咨询",
},
success: {
eyebrow: "COLLABORATION",
title: "已收到你的咨询",
intro: "主理人会尽快与你联系。",
recordsAction: "查看咨询记录",
homeAction: "返回首页",
},
records: {
title: "我的咨询记录",
createAction: "新增咨询",
emptyTitle: "还没有咨询记录",
emptyDescription: "提交一次咨询,开始与你的主理人沟通。",
emptyAction: "开始咨询",
},
},
founder: "示例主理人",
},
},
personal: {
templateKey: "personal",
@@ -5312,12 +5521,34 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
name: "示例·品牌定位咨询",
summary: "梳理品牌定位与下一步行动。",
categoryKey: "consulting",
coverUrl: "/assets/content/personal-consulting.jpg",
priceText: "按需求确认",
config: {
media: [
{
url: "/assets/content/personal-consulting.jpg",
alt: "",
type: "image",
},
],
},
},
{
kind: "service",
name: "示例·长期顾问支持",
summary: "围绕表达和转化提供持续支持。",
categoryKey: "advisory",
coverUrl: "/assets/content/personal-advisory.jpg",
priceText: "按服务周期确认",
config: {
media: [
{
url: "/assets/content/personal-advisory.jpg",
alt: "",
type: "image",
},
],
},
},
],
trustContent: [
@@ -5353,6 +5584,79 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
},
],
capabilityKey: "inquiry",
brandConfig: {
visualTemplateKey: "linjing-editorial",
templateData: {
designPhilosophy: "先厘清问题,再设计表达",
},
title: "品牌策略顾问",
slogan: "用清晰的定位与可执行的表达,让专业被看见。",
phone: "",
wechat: "",
studioAddress: "上海市徐汇区创意园区",
avatarUrl: "/assets/content/personal-avatar.jpg",
heroImage: "/assets/content/personal-consulting.jpg",
visualPresentation: {
home: {
founderBadge: "接受项目沟通",
proofEyebrow: "专业经验与合作成果",
proofTitle: "经验与方法",
manifestoEyebrow: "工作原则",
manifestoTitle: "先厘清问题,再设计表达",
worksEyebrow: "合作方式",
worksTitle: "品牌策略与顾问服务",
worksAction: "查看全部 →",
},
offerings: {
title: "合作方式",
subtitle: "围绕定位、表达与业务转化,选择适合当前阶段的支持。",
materialLabel: "包含:",
hardwareLabel: "定制说明:",
detailAction: "查看详情 →",
inquiryAction: "发起咨询",
},
detail: {
priceLabel: "价格参考",
spaceLabel: "适合场景",
backgroundTitle: "项目背景",
conceptTitle: "设计思路",
craftsTitle: "交付要点",
materialsTitle: "材料与说明",
inquiryAction: "发起咨询",
inquiryHint: "提交信息后由主理人与您沟通。",
},
profile: {
phoneLabel: "联系电话",
wechatLabel: "微信",
addressLabel: "工作地点",
callAction: "呼叫",
copyAction: "复制",
recordsTitle: "我的咨询记录",
recordsCountUnit: "条记录",
},
inquiry: {
eyebrow: "COLLABORATION",
title: "合作咨询",
subtitle: "留下你的需求与目标,主理人会尽快联系。",
submitLabel: "提交咨询",
},
success: {
eyebrow: "COLLABORATION",
title: "已收到你的咨询",
intro: "主理人会尽快与你联系。",
recordsAction: "查看咨询记录",
homeAction: "返回首页",
},
records: {
title: "我的咨询记录",
createAction: "新增咨询",
emptyTitle: "还没有咨询记录",
emptyDescription: "提交一次咨询,开始与你的主理人沟通。",
emptyAction: "开始咨询",
},
},
founder: "示例主理人",
},
},
},
pages: ["pages/index/index", "pages/services/index", "pages/bookings/index"],
@@ -5360,4 +5664,4 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
},
];
export const generatedTemplatePackageRegistryHash =
"57108a2e3263a9776cd2ec26d76a401eb66bed16ee250bef11464cffcc874d89";
"1248f6a1ba4525e9d4c72d3d45523ad30b21ad5878c956457e4040630300dbd4";