fix: 调整工坊模板第三个Tab为我的
This commit is contained in:
1 parent
18eb8bb9b0
commit
0862a4c01d
7 files changed
+152
-31
No files matched your search
@@ -1547,7 +1547,7 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
|
||||
},
|
||||
{
|
||||
key: "profile",
|
||||
label: "咨询",
|
||||
label: "我的",
|
||||
page: "profile",
|
||||
iconPath: "assets/tab/profile.png",
|
||||
selectedIconPath: "assets/tab/profile-selected.png",
|
||||
@@ -1946,7 +1946,7 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
|
||||
},
|
||||
{
|
||||
key: "profile_intro",
|
||||
title: "咨询页介绍",
|
||||
title: "我的页介绍",
|
||||
description: "修改后保存为草稿,发布后对访客生效。",
|
||||
page: "profile",
|
||||
target: "brand",
|
||||
@@ -1982,7 +1982,7 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
|
||||
},
|
||||
{
|
||||
key: "profile_contact",
|
||||
title: "联系与响应说明",
|
||||
title: "我的页联系入口",
|
||||
description: "修改后保存为草稿,发布后对访客生效。",
|
||||
page: "profile",
|
||||
target: "brand",
|
||||
@@ -2109,6 +2109,42 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: "profile_records",
|
||||
title: "我的页记录入口",
|
||||
description: "修改后保存为草稿,发布后对访客生效。",
|
||||
page: "profile",
|
||||
target: "brand",
|
||||
previewTargets: [
|
||||
{
|
||||
key: "atelier.profile.records",
|
||||
label: "我的咨询记录卡片",
|
||||
},
|
||||
],
|
||||
fields: [
|
||||
{
|
||||
key: "recordsTitle",
|
||||
binding: "brand.config.visualPresentation.profile.recordsTitle",
|
||||
label: "记录标题",
|
||||
input: "text",
|
||||
previewTarget: "atelier.profile.records",
|
||||
},
|
||||
{
|
||||
key: "recordsDescription",
|
||||
binding: "brand.config.visualPresentation.profile.recordsDescription",
|
||||
label: "记录说明",
|
||||
input: "textarea",
|
||||
previewTarget: "atelier.profile.records",
|
||||
},
|
||||
{
|
||||
key: "recordsAction",
|
||||
binding: "brand.config.visualPresentation.profile.recordsAction",
|
||||
label: "记录按钮",
|
||||
input: "text",
|
||||
previewTarget: "atelier.profile.records",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: "profile_identity",
|
||||
title: "主理人介绍",
|
||||
@@ -3072,20 +3108,22 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
|
||||
ctaAction: "预约需求沟通",
|
||||
},
|
||||
profile: {
|
||||
eyebrow: "开放需求沟通 · 排期以实际确认为准",
|
||||
title: "聊聊你的品牌小程序",
|
||||
subtitle: "描述你的当前业务、目标用户和遇到的挑战,一起梳理适合的结构与上线路径。",
|
||||
inquiryAction: "预约需求沟通 · 填写意向单",
|
||||
eyebrow: "个人中心 · 状态与沟通",
|
||||
title: "我的",
|
||||
subtitle: "查看咨询记录、发起新咨询,或直接联系主理人。",
|
||||
inquiryAction: "新增咨询",
|
||||
timeHint: "约 3 分钟",
|
||||
wechatLabel: "微信直聊",
|
||||
copyAction: "复制微信",
|
||||
contactHint: "尚未配置微信号,可先填写意向单",
|
||||
promise: "先梳理可行性与时间节点,再确认合作范围",
|
||||
recordsAction: "查看我的咨询记录 →",
|
||||
recordsAction: "查看咨询记录 →",
|
||||
faqTitle: "常见疑问解答",
|
||||
faqSubtitle: "把透明与确定性放在第一位,说明合作的常见顾虑与流程。",
|
||||
footerQuote: "Bespoke digital architecture for clear minds.",
|
||||
footerNote: "用心打磨每一处体验 · 期待与你的灵感交汇",
|
||||
recordsTitle: "我的咨询记录",
|
||||
recordsDescription: "查看提交过的意向和主理人回复状态。",
|
||||
},
|
||||
inquiry: {
|
||||
eyebrow: "Atelier Note · 品牌意向梳理",
|
||||
@@ -4846,4 +4884,4 @@ export const generatedTemplatePackageRegistry: readonly TemplatePackageManifest[
|
||||
},
|
||||
];
|
||||
export const generatedTemplatePackageRegistryHash =
|
||||
"6adc3c65f086733a419417b1dd2c5b9241a22aa90bd178e0b5f8144c3737595f";
|
||||
"e135c8d9587003db4353e43d4fcce7fa31dafe12f7385742262a7c840a42e29e";
|
||||
@@ -16,8 +16,8 @@ pnpm --filter @personal-brand/api exec node --env-file=.env scripts/create-ateli
|
||||
|
||||
- 首页:价值定位、差异化卡片、试点案例、目标客户和咨询入口。
|
||||
- 服务:交付体系、协作流程、信任基础与合作边界。
|
||||
- 咨询:主理人、微信复制、FAQ 和咨询记录。
|
||||
- 共享详情、意向表单、成功页和记录页复用 Runtime 能力。
|
||||
- 我的:咨询记录入口、新增咨询、主理人联系和 FAQ。
|
||||
- 咨询表单是内页,不再占用主 Tab;共享详情、成功页和记录页复用 Runtime 能力。
|
||||
|
||||
在品牌配置中选择本模板,再从后台显式导入示例。`template.json.sampleContent.personal` 是唯一示例来源,不需要改 Prisma seed。导入不会覆盖已有配置和启用表单。信任内容需确认并发布,品牌基本资料与联系方式需填写真实信息。
|
||||
|
||||
|
||||
@@ -205,6 +205,13 @@ function Profile({ workspace }: Props) {
|
||||
<Text className="atelier-title">{p.title}</Text>
|
||||
<Text className="atelier-body">{p.subtitle}</Text>
|
||||
</View>
|
||||
<View className="atelier-card" data-editor-target="atelier.profile.records">
|
||||
<Text className="atelier-card-title">{p.recordsTitle}</Text>
|
||||
<Text className="atelier-body">{p.recordsDescription}</Text>
|
||||
<Button className="atelier-records" onClick={() => navigate("records")}>
|
||||
{p.recordsAction}
|
||||
</Button>
|
||||
</View>
|
||||
<View className="atelier-card">
|
||||
<View data-editor-target="atelier.profile.identity">
|
||||
<View className="atelier-identity">
|
||||
@@ -232,9 +239,6 @@ function Profile({ workspace }: Props) {
|
||||
</Button>
|
||||
</View>
|
||||
<Text className="atelier-contact-note">✓ {p.promise}</Text>
|
||||
<Button className="atelier-records" onClick={() => navigate("records")}>
|
||||
{p.recordsAction}
|
||||
</Button>
|
||||
</View>
|
||||
</View>
|
||||
<View className="atelier-faq-heading" data-editor-target="atelier.profile.faqHeading">
|
||||
|
||||
@@ -92,6 +92,9 @@
|
||||
border-radius: 30px;
|
||||
border: 1px solid #f0eeea;
|
||||
}
|
||||
.atelier-card + .atelier-card {
|
||||
margin-top: 24px;
|
||||
}
|
||||
.atelier-card-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
},
|
||||
{
|
||||
"key": "profile",
|
||||
"label": "咨询",
|
||||
"label": "我的",
|
||||
"page": "profile",
|
||||
"iconPath": "assets/tab/profile.png",
|
||||
"selectedIconPath": "assets/tab/profile-selected.png"
|
||||
@@ -430,7 +430,7 @@
|
||||
},
|
||||
{
|
||||
"key": "profile_intro",
|
||||
"title": "咨询页介绍",
|
||||
"title": "我的页介绍",
|
||||
"description": "修改后保存为草稿,发布后对访客生效。",
|
||||
"page": "profile",
|
||||
"target": "brand",
|
||||
@@ -466,7 +466,7 @@
|
||||
},
|
||||
{
|
||||
"key": "profile_contact",
|
||||
"title": "联系与响应说明",
|
||||
"title": "我的页联系入口",
|
||||
"description": "修改后保存为草稿,发布后对访客生效。",
|
||||
"page": "profile",
|
||||
"target": "brand",
|
||||
@@ -593,6 +593,42 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "profile_records",
|
||||
"title": "我的页记录入口",
|
||||
"description": "修改后保存为草稿,发布后对访客生效。",
|
||||
"page": "profile",
|
||||
"target": "brand",
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "atelier.profile.records",
|
||||
"label": "我的咨询记录卡片"
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"key": "recordsTitle",
|
||||
"binding": "brand.config.visualPresentation.profile.recordsTitle",
|
||||
"label": "记录标题",
|
||||
"input": "text",
|
||||
"previewTarget": "atelier.profile.records"
|
||||
},
|
||||
{
|
||||
"key": "recordsDescription",
|
||||
"binding": "brand.config.visualPresentation.profile.recordsDescription",
|
||||
"label": "记录说明",
|
||||
"input": "textarea",
|
||||
"previewTarget": "atelier.profile.records"
|
||||
},
|
||||
{
|
||||
"key": "recordsAction",
|
||||
"binding": "brand.config.visualPresentation.profile.recordsAction",
|
||||
"label": "记录按钮",
|
||||
"input": "text",
|
||||
"previewTarget": "atelier.profile.records"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "profile_identity",
|
||||
"title": "主理人介绍",
|
||||
@@ -1550,20 +1586,22 @@
|
||||
"ctaAction": "预约需求沟通"
|
||||
},
|
||||
"profile": {
|
||||
"eyebrow": "开放需求沟通 · 排期以实际确认为准",
|
||||
"title": "聊聊你的品牌小程序",
|
||||
"subtitle": "描述你的当前业务、目标用户和遇到的挑战,一起梳理适合的结构与上线路径。",
|
||||
"inquiryAction": "预约需求沟通 · 填写意向单",
|
||||
"eyebrow": "个人中心 · 状态与沟通",
|
||||
"title": "我的",
|
||||
"subtitle": "查看咨询记录、发起新咨询,或直接联系主理人。",
|
||||
"inquiryAction": "新增咨询",
|
||||
"timeHint": "约 3 分钟",
|
||||
"wechatLabel": "微信直聊",
|
||||
"copyAction": "复制微信",
|
||||
"contactHint": "尚未配置微信号,可先填写意向单",
|
||||
"promise": "先梳理可行性与时间节点,再确认合作范围",
|
||||
"recordsAction": "查看我的咨询记录 →",
|
||||
"recordsAction": "查看咨询记录 →",
|
||||
"faqTitle": "常见疑问解答",
|
||||
"faqSubtitle": "把透明与确定性放在第一位,说明合作的常见顾虑与流程。",
|
||||
"footerQuote": "Bespoke digital architecture for clear minds.",
|
||||
"footerNote": "用心打磨每一处体验 · 期待与你的灵感交汇"
|
||||
"footerNote": "用心打磨每一处体验 · 期待与你的灵感交汇",
|
||||
"recordsTitle": "我的咨询记录",
|
||||
"recordsDescription": "查看提交过的意向和主理人回复状态。"
|
||||
},
|
||||
"inquiry": {
|
||||
"eyebrow": "Atelier Note · 品牌意向梳理",
|
||||
|
||||
Reference in new issue
Block a user