fix: 修正发布中心标签页内容归属
This commit is contained in:
1 parent
ab1531d9b0
commit
20f880a761
1 file changed
+29
-30
@@ -327,36 +327,6 @@ export function PublicationPage({ canManageTemplate }: { canManageTemplate: bool
|
|||||||
</section>
|
</section>
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
{activeTab === "miniapp" && (
|
|
||||||
<Space direction="vertical" size={24} style={{ width: "100%" }}>
|
|
||||||
<section>
|
|
||||||
<Typography.Title level={4}>1. 核对草稿内容</Typography.Title>
|
|
||||||
<Typography.Paragraph type="secondary">
|
|
||||||
此处核对的是待发布内容,不是小程序视觉预览。
|
|
||||||
</Typography.Paragraph>
|
|
||||||
<Space direction="vertical" style={{ width: "100%" }}>
|
|
||||||
<Typography.Text strong>{brand.data?.name || "未命名品牌"}</Typography.Text>
|
|
||||||
<Typography.Text>{brand.data?.tagline || "尚未填写品牌定位"}</Typography.Text>
|
|
||||||
<Typography.Text>
|
|
||||||
已启用业务项:{draftOfferings.map((item) => item.name).join("、") || "无"}
|
|
||||||
</Typography.Text>
|
|
||||||
<Typography.Text>
|
|
||||||
已启用咨询表单:
|
|
||||||
{draftForms
|
|
||||||
.filter((item) => item.isEnabled)
|
|
||||||
.map((item) => item.name)
|
|
||||||
.join("、") || "无"}
|
|
||||||
</Typography.Text>
|
|
||||||
<Space wrap>
|
|
||||||
<Button onClick={() => navigate("/admin/brand")}>编辑小程序页面</Button>
|
|
||||||
<Button onClick={() => navigate("/admin/services")}>编辑业务展示和详情</Button>
|
|
||||||
<Button onClick={() => navigate("/admin/trust")}>编辑信任证明</Button>
|
|
||||||
</Space>
|
|
||||||
</Space>
|
|
||||||
</section>
|
|
||||||
</Space>
|
|
||||||
)}
|
|
||||||
|
|
||||||
{activeTab === "content" && (
|
{activeTab === "content" && (
|
||||||
<Space direction="vertical" size={24} style={{ width: "100%" }}>
|
<Space direction="vertical" size={24} style={{ width: "100%" }}>
|
||||||
<section>
|
<section>
|
||||||
@@ -432,6 +402,35 @@ export function PublicationPage({ canManageTemplate }: { canManageTemplate: bool
|
|||||||
)}
|
)}
|
||||||
<MutationError error={rollback.error} />
|
<MutationError error={rollback.error} />
|
||||||
</section>
|
</section>
|
||||||
|
<section>
|
||||||
|
<Typography.Title level={4}>2. 核对草稿内容</Typography.Title>
|
||||||
|
<Typography.Paragraph type="secondary">
|
||||||
|
此处核对的是待发布内容,不是小程序视觉预览。
|
||||||
|
</Typography.Paragraph>
|
||||||
|
<Space direction="vertical" style={{ width: "100%" }}>
|
||||||
|
<Typography.Text strong>{brand.data?.name || "未命名品牌"}</Typography.Text>
|
||||||
|
<Typography.Text>{brand.data?.tagline || "尚未填写品牌定位"}</Typography.Text>
|
||||||
|
<Typography.Text>
|
||||||
|
已启用业务项:{draftOfferings.map((item) => item.name).join("、") || "无"}
|
||||||
|
</Typography.Text>
|
||||||
|
<Typography.Text>
|
||||||
|
已启用咨询表单:
|
||||||
|
{draftForms
|
||||||
|
.filter((item) => item.isEnabled)
|
||||||
|
.map((item) => item.name)
|
||||||
|
.join("、") || "无"}
|
||||||
|
</Typography.Text>
|
||||||
|
<Space wrap>
|
||||||
|
<Button onClick={() => navigate("/admin/brand")}>编辑小程序页面</Button>
|
||||||
|
<Button onClick={() => navigate("/admin/services")}>编辑业务展示和详情</Button>
|
||||||
|
<Button onClick={() => navigate("/admin/trust")}>编辑信任证明</Button>
|
||||||
|
</Space>
|
||||||
|
</Space>
|
||||||
|
</section>
|
||||||
|
</Space>
|
||||||
|
)}
|
||||||
|
{activeTab === "miniapp" && (
|
||||||
|
<Space direction="vertical" size={24} style={{ width: "100%" }}>
|
||||||
<section>
|
<section>
|
||||||
<Typography.Title level={4}>小程序代码发布</Typography.Title>
|
<Typography.Title level={4}>小程序代码发布</Typography.Title>
|
||||||
<Typography.Paragraph type="secondary">
|
<Typography.Paragraph type="secondary">
|
||||||
|
|||||||
Reference in new issue
Block a user