feat: 建立组件化模板预览基线并规划可视化编辑
This commit is contained in:
1 parent
c5af790554
commit
0b14b5a814
46 files changed
+1880
-427
No files matched your search
@@ -19,7 +19,7 @@ function Home({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
const credential = slot(workspace, "credential");
|
||||
const t = workspace.trustPresentation;
|
||||
return (
|
||||
<View className="editorial-home">
|
||||
<View className="editorial-home" data-editor-target="linjing-editorial.home.home">
|
||||
<View className="page">
|
||||
<View className="founder-card" data-editor-target="editorial.home.identity">
|
||||
{text(b.avatarUrl) && (
|
||||
@@ -125,9 +125,12 @@ function Profile({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
const p = presentation(workspace, "profile");
|
||||
const config = object(b.profilePresentation);
|
||||
return (
|
||||
<View className="editorial-profile">
|
||||
<View
|
||||
className="editorial-profile"
|
||||
data-editor-target="linjing-editorial.profile.profileDetails"
|
||||
>
|
||||
<View className="profile">
|
||||
<View className="founder-card">
|
||||
<View className="founder-card" data-editor-target="linjing-editorial.profile.identity">
|
||||
<View className="identity">
|
||||
{text(b.avatarUrl) && (
|
||||
<Image className="avatar" src={text(b.avatarUrl)} mode="aspectFill" />
|
||||
@@ -215,7 +218,7 @@ function Profile({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
function List({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
const p = presentation(workspace, "offerings");
|
||||
return (
|
||||
<View className="editorial-list">
|
||||
<View className="editorial-list" data-editor-target="linjing-editorial.offerings.cases">
|
||||
<View className="page">
|
||||
<Text className="eyebrow">{p.eyebrow}</Text>
|
||||
<Text className="section-title">{p.title || "作品与服务"}</Text>
|
||||
@@ -255,7 +258,7 @@ function Detail({ workspace, id }: { workspace: RuntimeWorkspace; id?: string })
|
||||
const item = offering(found);
|
||||
const p = presentation(workspace, "detail");
|
||||
return (
|
||||
<View className="editorial-detail">
|
||||
<View className="editorial-detail" data-editor-target="linjing-editorial.detail.projectDetail">
|
||||
<View className="detail">
|
||||
<View className="hero-wrap">
|
||||
<Image
|
||||
@@ -272,7 +275,7 @@ function Detail({ workspace, id }: { workspace: RuntimeWorkspace; id?: string })
|
||||
<Text>{item.series}</Text>
|
||||
</View>
|
||||
</View>
|
||||
<View className="content">
|
||||
<View className="content" data-editor-target="linjing-editorial.detail.detailCopy">
|
||||
<View className="price-card">
|
||||
<View>
|
||||
<Text>{p.priceLabel}</Text>
|
||||
@@ -333,10 +336,19 @@ function Detail({ workspace, id }: { workspace: RuntimeWorkspace; id?: string })
|
||||
</View>
|
||||
);
|
||||
}
|
||||
const formTargets: Record<string, string> = {
|
||||
inquiry: "linjing-editorial.inquiry.consultation",
|
||||
success: "linjing-editorial.success.successCopy",
|
||||
records: "linjing-editorial.records.recordsCopy",
|
||||
};
|
||||
export function TemplatePage({ workspace, page, children, offeringId }: TemplateProps) {
|
||||
if (page === "home") return <Home workspace={workspace} />;
|
||||
if (page === "offerings") return <List workspace={workspace} />;
|
||||
if (page === "profile" || page === "service") return <Profile workspace={workspace} />;
|
||||
if (page === "detail") return <Detail workspace={workspace} id={offeringId} />;
|
||||
return <View className="editorial-forms">{children}</View>;
|
||||
return (
|
||||
<View className="editorial-forms" data-editor-target={formTargets[page]}>
|
||||
{children}
|
||||
</View>
|
||||
);
|
||||
}
|
||||
@@ -86,6 +86,8 @@
|
||||
{
|
||||
"key": "designPhilosophy",
|
||||
"page": "home",
|
||||
"binding": "brand.config.templateData.designPhilosophy",
|
||||
"previewTarget": "linjing-editorial.home.home",
|
||||
"label": "设计理念",
|
||||
"help": "用一两句话说明你的设计方法。",
|
||||
"input": "textarea",
|
||||
@@ -139,7 +141,8 @@
|
||||
"binding": "brand.config.founder",
|
||||
"label": "主理人姓名",
|
||||
"input": "text",
|
||||
"required": true
|
||||
"required": true,
|
||||
"previewTarget": "linjing-editorial.profile.identity"
|
||||
},
|
||||
{
|
||||
"key": "title",
|
||||
@@ -147,7 +150,14 @@
|
||||
"label": "身份或职位",
|
||||
"input": "text",
|
||||
"required": true,
|
||||
"placeholder": "例如:别墅门系统主理人"
|
||||
"placeholder": "例如:别墅门系统主理人",
|
||||
"previewTarget": "linjing-editorial.profile.identity"
|
||||
}
|
||||
],
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "linjing-editorial.profile.identity",
|
||||
"label": "主理人与联系方式"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -158,11 +168,30 @@
|
||||
"page": "home",
|
||||
"target": "brand",
|
||||
"previewTargets": [
|
||||
{ "key": "editorial.home.identity", "label": "主理人标签" },
|
||||
{ "key": "editorial.home.hero", "label": "首页主视觉" },
|
||||
{ "key": "editorial.home.proof", "label": "信任介绍" },
|
||||
{ "key": "editorial.home.manifesto", "label": "品牌主张" },
|
||||
{ "key": "editorial.home.works", "label": "代表案例标题" }
|
||||
{
|
||||
"key": "editorial.home.identity",
|
||||
"label": "主理人标签"
|
||||
},
|
||||
{
|
||||
"key": "editorial.home.hero",
|
||||
"label": "首页主视觉"
|
||||
},
|
||||
{
|
||||
"key": "editorial.home.proof",
|
||||
"label": "信任介绍"
|
||||
},
|
||||
{
|
||||
"key": "editorial.home.manifesto",
|
||||
"label": "品牌主张"
|
||||
},
|
||||
{
|
||||
"key": "editorial.home.works",
|
||||
"label": "代表案例标题"
|
||||
},
|
||||
{
|
||||
"key": "linjing-editorial.home.home",
|
||||
"label": "首页品牌表达"
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
@@ -228,43 +257,50 @@
|
||||
"key": "worksAction",
|
||||
"binding": "brand.config.visualPresentation.home.worksAction",
|
||||
"label": "查看案例入口",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.home.home"
|
||||
},
|
||||
{
|
||||
"key": "flowEyebrow",
|
||||
"binding": "brand.config.visualPresentation.home.flowEyebrow",
|
||||
"label": "合作流程小标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.home.home"
|
||||
},
|
||||
{
|
||||
"key": "flowTitle",
|
||||
"binding": "brand.config.visualPresentation.home.flowTitle",
|
||||
"label": "项目流程标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.home.home"
|
||||
},
|
||||
{
|
||||
"key": "heroTitle",
|
||||
"binding": "brand.config.homeHero.title",
|
||||
"label": "首页主标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.home.home"
|
||||
},
|
||||
{
|
||||
"key": "heroEyebrow",
|
||||
"binding": "brand.config.homeHero.eyebrow",
|
||||
"label": "主图项目标注",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.home.home"
|
||||
},
|
||||
{
|
||||
"key": "heroDescription",
|
||||
"binding": "brand.config.homeHero.slogan",
|
||||
"label": "首页主图说明",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.home.home"
|
||||
},
|
||||
{
|
||||
"key": "heroAction",
|
||||
"binding": "brand.config.homeHero.cta",
|
||||
"label": "主图行动文字",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.home.home"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -281,9 +317,17 @@
|
||||
"label": "服务区域",
|
||||
"input": "list",
|
||||
"itemFields": [
|
||||
{ "key": "title", "label": "区域名称" },
|
||||
{ "key": "content", "label": "服务说明", "input": "textarea" }
|
||||
]
|
||||
{
|
||||
"key": "title",
|
||||
"label": "区域名称"
|
||||
},
|
||||
{
|
||||
"key": "content",
|
||||
"label": "服务说明",
|
||||
"input": "textarea"
|
||||
}
|
||||
],
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "warranty",
|
||||
@@ -291,67 +335,90 @@
|
||||
"label": "履约与维护说明",
|
||||
"input": "list",
|
||||
"itemValueKey": "value",
|
||||
"itemFields": [{ "key": "value", "label": "承诺内容", "input": "textarea" }]
|
||||
"itemFields": [
|
||||
{
|
||||
"key": "value",
|
||||
"label": "承诺内容",
|
||||
"input": "textarea"
|
||||
}
|
||||
],
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "recordsTitle",
|
||||
"binding": "brand.config.visualPresentation.profile.recordsTitle",
|
||||
"label": "咨询记录入口标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "recordsSubtitle",
|
||||
"binding": "brand.config.visualPresentation.profile.recordsSubtitle",
|
||||
"label": "咨询记录入口说明",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "coverageTitle",
|
||||
"binding": "brand.config.visualPresentation.profile.coverageTitle",
|
||||
"label": "服务区域标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "warrantyTitle",
|
||||
"binding": "brand.config.visualPresentation.profile.warrantyTitle",
|
||||
"label": "履约说明标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "phoneLabel",
|
||||
"binding": "brand.config.visualPresentation.profile.phoneLabel",
|
||||
"label": "电话标签",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "wechatLabel",
|
||||
"binding": "brand.config.visualPresentation.profile.wechatLabel",
|
||||
"label": "微信标签",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "addressLabel",
|
||||
"binding": "brand.config.visualPresentation.profile.addressLabel",
|
||||
"label": "地址标签",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "callAction",
|
||||
"binding": "brand.config.visualPresentation.profile.callAction",
|
||||
"label": "拨打电话按钮",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "copyAction",
|
||||
"binding": "brand.config.visualPresentation.profile.copyAction",
|
||||
"label": "复制微信按钮",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
},
|
||||
{
|
||||
"key": "recordsCountUnit",
|
||||
"binding": "brand.config.visualPresentation.profile.recordsCountUnit",
|
||||
"label": "记录数量单位",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.profile.profileDetails"
|
||||
}
|
||||
],
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "linjing-editorial.profile.profileDetails",
|
||||
"label": "服务区域与履约说明"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -366,32 +433,43 @@
|
||||
"key": "worksEyebrow",
|
||||
"binding": "brand.config.visualPresentation.offerings.worksEyebrow",
|
||||
"label": "案例页辅助标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.offerings.cases"
|
||||
},
|
||||
{
|
||||
"key": "worksTitle",
|
||||
"binding": "brand.config.visualPresentation.offerings.worksTitle",
|
||||
"label": "案例页主标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.offerings.cases"
|
||||
},
|
||||
{
|
||||
"key": "subtitle",
|
||||
"binding": "brand.config.visualPresentation.offerings.subtitle",
|
||||
"label": "案例页说明",
|
||||
"input": "textarea",
|
||||
"maxLength": 140
|
||||
"maxLength": 140,
|
||||
"previewTarget": "linjing-editorial.offerings.cases"
|
||||
},
|
||||
{
|
||||
"key": "closingText",
|
||||
"binding": "brand.config.visualPresentation.offerings.closingText",
|
||||
"label": "案例页结语",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.offerings.cases"
|
||||
},
|
||||
{
|
||||
"key": "closingAction",
|
||||
"binding": "brand.config.visualPresentation.offerings.closingAction",
|
||||
"label": "案例页咨询入口",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.offerings.cases"
|
||||
}
|
||||
],
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "linjing-editorial.offerings.cases",
|
||||
"label": "案例与体系"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -406,32 +484,43 @@
|
||||
"key": "title",
|
||||
"binding": "brand.config.visualPresentation.inquiry.title",
|
||||
"label": "咨询页面标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.inquiry.consultation"
|
||||
},
|
||||
{
|
||||
"key": "subtitle",
|
||||
"binding": "brand.config.visualPresentation.inquiry.subtitle",
|
||||
"label": "咨询说明",
|
||||
"input": "textarea",
|
||||
"maxLength": 140
|
||||
"maxLength": 140,
|
||||
"previewTarget": "linjing-editorial.inquiry.consultation"
|
||||
},
|
||||
{
|
||||
"key": "submitLabel",
|
||||
"binding": "brand.config.visualPresentation.inquiry.submitLabel",
|
||||
"label": "提交按钮文字",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.inquiry.consultation"
|
||||
},
|
||||
{
|
||||
"key": "eyebrow",
|
||||
"binding": "brand.config.visualPresentation.inquiry.eyebrow",
|
||||
"label": "咨询页小标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.inquiry.consultation"
|
||||
},
|
||||
{
|
||||
"key": "note",
|
||||
"binding": "brand.config.visualPresentation.inquiry.note",
|
||||
"label": "咨询前提示",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.inquiry.consultation"
|
||||
}
|
||||
],
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "linjing-editorial.inquiry.consultation",
|
||||
"label": "咨询说明"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -446,43 +535,50 @@
|
||||
"key": "categoryLabel",
|
||||
"binding": "offering.config.categoryLabel",
|
||||
"label": "案例类别",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "detailHero",
|
||||
"binding": "offering.config.detailHero",
|
||||
"label": "详情主图",
|
||||
"input": "image"
|
||||
"input": "image",
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "area",
|
||||
"binding": "offering.config.area",
|
||||
"label": "项目地点",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "series",
|
||||
"binding": "offering.config.series",
|
||||
"label": "产品系列",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "spaceType",
|
||||
"binding": "offering.config.spaceType",
|
||||
"label": "适用空间",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "background",
|
||||
"binding": "offering.config.details.background",
|
||||
"label": "项目背景",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "designConcept",
|
||||
"binding": "offering.config.details.designConcept",
|
||||
"label": "设计理念",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "keywords",
|
||||
@@ -490,7 +586,13 @@
|
||||
"label": "项目关键词",
|
||||
"input": "list",
|
||||
"itemValueKey": "value",
|
||||
"itemFields": [{ "key": "value", "label": "关键词" }]
|
||||
"itemFields": [
|
||||
{
|
||||
"key": "value",
|
||||
"label": "关键词"
|
||||
}
|
||||
],
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "crafts",
|
||||
@@ -498,7 +600,13 @@
|
||||
"label": "工艺要点",
|
||||
"input": "list",
|
||||
"itemValueKey": "value",
|
||||
"itemFields": [{ "key": "value", "label": "工艺说明" }]
|
||||
"itemFields": [
|
||||
{
|
||||
"key": "value",
|
||||
"label": "工艺说明"
|
||||
}
|
||||
],
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
},
|
||||
{
|
||||
"key": "materialsList",
|
||||
@@ -506,9 +614,22 @@
|
||||
"label": "材料说明",
|
||||
"input": "list",
|
||||
"itemFields": [
|
||||
{ "key": "name", "label": "材料名称" },
|
||||
{ "key": "spec", "label": "规格说明" }
|
||||
]
|
||||
{
|
||||
"key": "name",
|
||||
"label": "材料名称"
|
||||
},
|
||||
{
|
||||
"key": "spec",
|
||||
"label": "规格说明"
|
||||
}
|
||||
],
|
||||
"previewTarget": "linjing-editorial.detail.projectDetail"
|
||||
}
|
||||
],
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "linjing-editorial.detail.projectDetail",
|
||||
"label": "案例详情"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -523,50 +644,64 @@
|
||||
"key": "priceLabel",
|
||||
"binding": "brand.config.visualPresentation.detail.priceLabel",
|
||||
"label": "价格说明标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.detailCopy"
|
||||
},
|
||||
{
|
||||
"key": "spaceLabel",
|
||||
"binding": "brand.config.visualPresentation.detail.spaceLabel",
|
||||
"label": "适用空间标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.detailCopy"
|
||||
},
|
||||
{
|
||||
"key": "backgroundTitle",
|
||||
"binding": "brand.config.visualPresentation.detail.backgroundTitle",
|
||||
"label": "项目背景标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.detailCopy"
|
||||
},
|
||||
{
|
||||
"key": "conceptTitle",
|
||||
"binding": "brand.config.visualPresentation.detail.conceptTitle",
|
||||
"label": "设计理念标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.detailCopy"
|
||||
},
|
||||
{
|
||||
"key": "craftsTitle",
|
||||
"binding": "brand.config.visualPresentation.detail.craftsTitle",
|
||||
"label": "工艺要点标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.detailCopy"
|
||||
},
|
||||
{
|
||||
"key": "materialsTitle",
|
||||
"binding": "brand.config.visualPresentation.detail.materialsTitle",
|
||||
"label": "材料说明标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.detailCopy"
|
||||
},
|
||||
{
|
||||
"key": "inquiryAction",
|
||||
"binding": "brand.config.visualPresentation.detail.inquiryAction",
|
||||
"label": "咨询按钮文字",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.detail.detailCopy"
|
||||
},
|
||||
{
|
||||
"key": "inquiryHint",
|
||||
"binding": "brand.config.visualPresentation.detail.inquiryHint",
|
||||
"label": "咨询后的处理说明",
|
||||
"help": "只填写能兑现的服务安排。",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.detail.detailCopy"
|
||||
}
|
||||
],
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "linjing-editorial.detail.detailCopy",
|
||||
"label": "详情页说明"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -581,32 +716,43 @@
|
||||
"key": "eyebrow",
|
||||
"binding": "brand.config.visualPresentation.success.eyebrow",
|
||||
"label": "页面小标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.success.successCopy"
|
||||
},
|
||||
{
|
||||
"key": "title",
|
||||
"binding": "brand.config.visualPresentation.success.title",
|
||||
"label": "确认标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.success.successCopy"
|
||||
},
|
||||
{
|
||||
"key": "intro",
|
||||
"binding": "brand.config.visualPresentation.success.intro",
|
||||
"label": "后续联系说明",
|
||||
"help": "回复时间必须与实际承诺一致。",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.success.successCopy"
|
||||
},
|
||||
{
|
||||
"key": "recordsAction",
|
||||
"binding": "brand.config.visualPresentation.success.recordsAction",
|
||||
"label": "查看记录按钮",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.success.successCopy"
|
||||
},
|
||||
{
|
||||
"key": "homeAction",
|
||||
"binding": "brand.config.visualPresentation.success.homeAction",
|
||||
"label": "返回首页按钮",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.success.successCopy"
|
||||
}
|
||||
],
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "linjing-editorial.success.successCopy",
|
||||
"label": "提交成功页"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -621,31 +767,42 @@
|
||||
"key": "title",
|
||||
"binding": "brand.config.visualPresentation.records.title",
|
||||
"label": "记录页标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.records.recordsCopy"
|
||||
},
|
||||
{
|
||||
"key": "createAction",
|
||||
"binding": "brand.config.visualPresentation.records.createAction",
|
||||
"label": "新增咨询按钮",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.records.recordsCopy"
|
||||
},
|
||||
{
|
||||
"key": "emptyTitle",
|
||||
"binding": "brand.config.visualPresentation.records.emptyTitle",
|
||||
"label": "暂无记录标题",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.records.recordsCopy"
|
||||
},
|
||||
{
|
||||
"key": "emptyDescription",
|
||||
"binding": "brand.config.visualPresentation.records.emptyDescription",
|
||||
"label": "暂无记录说明",
|
||||
"input": "textarea"
|
||||
"input": "textarea",
|
||||
"previewTarget": "linjing-editorial.records.recordsCopy"
|
||||
},
|
||||
{
|
||||
"key": "emptyAction",
|
||||
"binding": "brand.config.visualPresentation.records.emptyAction",
|
||||
"label": "空状态按钮",
|
||||
"input": "text"
|
||||
"input": "text",
|
||||
"previewTarget": "linjing-editorial.records.recordsCopy"
|
||||
}
|
||||
],
|
||||
"previewTargets": [
|
||||
{
|
||||
"key": "linjing-editorial.records.recordsCopy",
|
||||
"label": "咨询记录页"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -655,21 +812,33 @@
|
||||
{
|
||||
"type": "schedule",
|
||||
"label": "服务与合作安排",
|
||||
"adminFields": { "title": "安排标题", "summary": "安排摘要", "content": "时间与排期详情" },
|
||||
"adminFields": {
|
||||
"title": "安排标题",
|
||||
"summary": "安排摘要",
|
||||
"content": "时间与排期详情"
|
||||
},
|
||||
"pages": ["profile"],
|
||||
"help": "说明可预约时间、服务周期或项目排期。"
|
||||
},
|
||||
{
|
||||
"type": "coverage",
|
||||
"label": "服务范围与适用对象",
|
||||
"adminFields": { "title": "范围标题", "summary": "范围摘要", "content": "服务范围说明" },
|
||||
"adminFields": {
|
||||
"title": "范围标题",
|
||||
"summary": "范围摘要",
|
||||
"content": "服务范围说明"
|
||||
},
|
||||
"pages": ["profile"],
|
||||
"help": "说明服务地区、项目类型或合作边界。"
|
||||
},
|
||||
{
|
||||
"type": "process",
|
||||
"label": "合作流程",
|
||||
"adminFields": { "title": "流程标题", "summary": "流程摘要", "content": "流程步骤" },
|
||||
"adminFields": {
|
||||
"title": "流程标题",
|
||||
"summary": "流程摘要",
|
||||
"content": "流程步骤"
|
||||
},
|
||||
"pages": ["profile"],
|
||||
"help": "每行写一步,从初次沟通到交付完成。",
|
||||
"placeholder": "例如:需求沟通\n方案确认\n落地交付",
|
||||
@@ -678,7 +847,11 @@
|
||||
{
|
||||
"type": "credential",
|
||||
"label": "专业资历与方法",
|
||||
"adminFields": { "title": "证明标题", "summary": "专业摘要", "content": "资历与方法说明" },
|
||||
"adminFields": {
|
||||
"title": "证明标题",
|
||||
"summary": "专业摘要",
|
||||
"content": "资历与方法说明"
|
||||
},
|
||||
"pages": ["home", "profile"],
|
||||
"help": "填写经验、资质、专业标准或工作方法。",
|
||||
"configFields": [
|
||||
@@ -688,9 +861,19 @@
|
||||
"label": "信任数据",
|
||||
"input": "list",
|
||||
"itemFields": [
|
||||
{ "key": "value", "label": "数字或成果" },
|
||||
{ "key": "label", "label": "说明" },
|
||||
{ "key": "sub", "label": "补充说明", "required": false }
|
||||
{
|
||||
"key": "value",
|
||||
"label": "数字或成果"
|
||||
},
|
||||
{
|
||||
"key": "label",
|
||||
"label": "说明"
|
||||
},
|
||||
{
|
||||
"key": "sub",
|
||||
"label": "补充说明",
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -699,8 +882,14 @@
|
||||
"label": "专业方法",
|
||||
"input": "list",
|
||||
"itemFields": [
|
||||
{ "key": "title", "label": "方法名称" },
|
||||
{ "key": "desc", "label": "方法说明" }
|
||||
{
|
||||
"key": "title",
|
||||
"label": "方法名称"
|
||||
},
|
||||
{
|
||||
"key": "desc",
|
||||
"label": "方法说明"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -709,9 +898,18 @@
|
||||
"label": "合作流程",
|
||||
"input": "list",
|
||||
"itemFields": [
|
||||
{ "key": "step", "label": "步骤编号" },
|
||||
{ "key": "name", "label": "步骤名称" },
|
||||
{ "key": "desc", "label": "步骤说明" }
|
||||
{
|
||||
"key": "step",
|
||||
"label": "步骤编号"
|
||||
},
|
||||
{
|
||||
"key": "name",
|
||||
"label": "步骤名称"
|
||||
},
|
||||
{
|
||||
"key": "desc",
|
||||
"label": "步骤说明"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -731,7 +929,11 @@
|
||||
{
|
||||
"type": "promise",
|
||||
"label": "合作预期与响应承诺",
|
||||
"adminFields": { "title": "承诺标题", "summary": "承诺摘要", "content": "合作与响应说明" },
|
||||
"adminFields": {
|
||||
"title": "承诺标题",
|
||||
"summary": "承诺摘要",
|
||||
"content": "合作与响应说明"
|
||||
},
|
||||
"pages": ["profile"],
|
||||
"help": "说明回复时间、合作边界和后续跟进方式。"
|
||||
}
|
||||
@@ -777,7 +979,11 @@
|
||||
"title": "别墅门系统案例",
|
||||
"content": "示例内容,待品牌主理人完善。"
|
||||
},
|
||||
{ "type": "process", "title": "从测量到交付", "content": "示例内容,待品牌主理人完善。" },
|
||||
{
|
||||
"type": "process",
|
||||
"title": "从测量到交付",
|
||||
"content": "示例内容,待品牌主理人完善。"
|
||||
},
|
||||
{
|
||||
"type": "credential",
|
||||
"title": "材料与工艺标准",
|
||||
@@ -791,11 +997,26 @@
|
||||
"type": "select",
|
||||
"required": true,
|
||||
"options": [
|
||||
{ "label": "入户大门(防暴铸铜 / 实木)", "value": "入户大门(防暴铸铜 / 实木)" },
|
||||
{ "label": "庭院围墙门(耐候格栅 / 对开)", "value": "庭院围墙门(耐候格栅 / 对开)" },
|
||||
{ "label": "全屋室内门系统(通顶隐形)", "value": "全屋室内门系统(通顶隐形)" },
|
||||
{ "label": "背景墙一体门 / 密室门", "value": "背景墙一体门 / 密室门" },
|
||||
{ "label": "整栋别墅门系统全案一体化", "value": "整栋别墅门系统全案一体化" }
|
||||
{
|
||||
"label": "入户大门(防暴铸铜 / 实木)",
|
||||
"value": "入户大门(防暴铸铜 / 实木)"
|
||||
},
|
||||
{
|
||||
"label": "庭院围墙门(耐候格栅 / 对开)",
|
||||
"value": "庭院围墙门(耐候格栅 / 对开)"
|
||||
},
|
||||
{
|
||||
"label": "全屋室内门系统(通顶隐形)",
|
||||
"value": "全屋室内门系统(通顶隐形)"
|
||||
},
|
||||
{
|
||||
"label": "背景墙一体门 / 密室门",
|
||||
"value": "背景墙一体门 / 密室门"
|
||||
},
|
||||
{
|
||||
"label": "整栋别墅门系统全案一体化",
|
||||
"value": "整栋别墅门系统全案一体化"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -810,10 +1031,22 @@
|
||||
"type": "select",
|
||||
"required": true,
|
||||
"options": [
|
||||
{ "label": "土建结构阶段(适合预埋加固)", "value": "土建结构阶段(适合预埋加固)" },
|
||||
{ "label": "水电木工阶段(适合精确测距)", "value": "水电木工阶段(适合精确测距)" },
|
||||
{ "label": "硬装收尾阶段", "value": "硬装收尾阶段" },
|
||||
{ "label": "旧宅门体翻新改造", "value": "旧宅门体翻新改造" }
|
||||
{
|
||||
"label": "土建结构阶段(适合预埋加固)",
|
||||
"value": "土建结构阶段(适合预埋加固)"
|
||||
},
|
||||
{
|
||||
"label": "水电木工阶段(适合精确测距)",
|
||||
"value": "水电木工阶段(适合精确测距)"
|
||||
},
|
||||
{
|
||||
"label": "硬装收尾阶段",
|
||||
"value": "硬装收尾阶段"
|
||||
},
|
||||
{
|
||||
"label": "旧宅门体翻新改造",
|
||||
"value": "旧宅门体翻新改造"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -822,10 +1055,22 @@
|
||||
"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 万以上(顶级孤品定制)" }
|
||||
{
|
||||
"label": "5 万 - 10 万",
|
||||
"value": "5 万 - 10 万"
|
||||
},
|
||||
{
|
||||
"label": "10 万 - 20 万",
|
||||
"value": "10 万 - 20 万"
|
||||
},
|
||||
{
|
||||
"label": "20 万 - 50 万(全宅全案)",
|
||||
"value": "20 万 - 50 万(全宅全案)"
|
||||
},
|
||||
{
|
||||
"label": "50 万以上(顶级孤品定制)",
|
||||
"value": "50 万以上(顶级孤品定制)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -834,14 +1079,22 @@
|
||||
"type": "radio",
|
||||
"required": true,
|
||||
"options": [
|
||||
{ "label": "需要(预约排期现场勘测)", "value": "需要(预约排期现场勘测)" },
|
||||
{
|
||||
"label": "需要(预约排期现场勘测)",
|
||||
"value": "需要(预约排期现场勘测)"
|
||||
},
|
||||
{
|
||||
"label": "暂不需要(先发图纸在线深化评估)",
|
||||
"value": "暂不需要(先发图纸在线深化评估)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{ "key": "contactName", "label": "贵姓称谓", "type": "text", "required": true },
|
||||
{
|
||||
"key": "contactName",
|
||||
"label": "贵姓称谓",
|
||||
"type": "text",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"key": "contactPhone",
|
||||
"label": "联系手机号(微信同号)",
|
||||
@@ -875,13 +1128,36 @@
|
||||
}
|
||||
],
|
||||
"trustContent": [
|
||||
{ "type": "credential", "title": "关于主理人", "content": "示例内容,待品牌主理人完善。" },
|
||||
{ "type": "process", "title": "合作方法", "content": "示例内容,待品牌主理人完善。" }
|
||||
{
|
||||
"type": "credential",
|
||||
"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 }
|
||||
{
|
||||
"key": "name",
|
||||
"label": "您的称呼",
|
||||
"type": "text",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"key": "phone",
|
||||
"label": "联系方式",
|
||||
"type": "phone",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"key": "remark",
|
||||
"label": "合作需求",
|
||||
"type": "textarea",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"capabilityKey": "inquiry"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user