This commit is contained in:
2026-07-09 18:06:35 +08:00
parent 353a5d5093
commit 8d4ed4a3d1
3 changed files with 15 additions and 11 deletions
@@ -84,7 +84,7 @@ const PrivatePortraitLibraryPanel: React.FC = () => {
};
return (
<div style={{ padding: 16 }}>
<div>
{/* <div style={{ marginBottom: 16 }}>
<Title level={4} style={{ margin: 0 }}>私域素材库</Title>
<Text type="secondary">统一管理真人素材和虚拟素材。真人素材需先完成人脸认证后才可上传素材,虚拟素材如需使用需先上传。</Text>
@@ -117,15 +117,17 @@ const RealPersonLibraryPanel: React.FC = () => {
return (
<div>
<div style={{ marginBottom: 16 }}>
<Typography.Title level={4} style={{ margin: 0 }}></Typography.Title>
<Typography.Text type="secondary"></Typography.Text>
<div style={{ marginBottom: 16, display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
<div>
<Typography.Title level={4} style={{ margin: 0 }}></Typography.Title>
<Typography.Text type="secondary"></Typography.Text>
</div>
<Button type="primary" icon={<PlusOutlined />} onClick={() => setCreateOpen(true)}></Button>
</div>
<Row gutter={16}>
<Col xs={24} lg={7}>
<Col xs={24} lg={5}>
<Card
// title="真人素材项目组"
extra={<Button type="primary" icon={<PlusOutlined />} onClick={() => setCreateOpen(true)}></Button>}
style={{ borderRadius: 16, minHeight: 520 }}
>
<Spin spinning={loading}>
@@ -137,7 +139,7 @@ const RealPersonLibraryPanel: React.FC = () => {
</Spin>
</Card>
</Col>
<Col xs={24} lg={17}>
<Col xs={24} lg={19}>
{selected ? (
<PrivatePortraitProjectDetail project={selected} onDeleted={() => { setSelected(null); loadProjects(); }} onChanged={loadProjects} />
) : (
@@ -387,15 +387,17 @@ const VirtualMaterialPanel: React.FC = () => {
return (
<div >
<div style={{ marginBottom: 16 }}>
<Typography.Title level={4} style={{ margin: 0 }}></Typography.Title>
<Typography.Text type="secondary">使</Typography.Text>
<div style={{ marginBottom: 16, display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
<div>
<Typography.Title level={4} style={{ margin: 0 }}></Typography.Title>
<Typography.Text type="secondary">使</Typography.Text>
</div>
<Button type="primary" icon={<PlusOutlined />} onClick={() => setCreateOpen(true)}></Button>
</div>
<Row gutter={[10, 10]}>
<Col xs={24} lg={5} >
<Card
// title="虚拟人像项目组"
extra={<Button type="primary" icon={<PlusOutlined />} onClick={() => setCreateOpen(true)}></Button>}
style={{ borderRadius: 16, minHeight: 520, margin: '0 auto', maxWidth: 1200}}
>
<Spin spinning={projectLoading}>