-
-
-
diff --git a/video-gen-app/src/pages/GeneratedRecord.tsx b/video-gen-app/src/pages/GeneratedRecord.tsx
index b368a5cf..f7379688 100644
--- a/video-gen-app/src/pages/GeneratedRecord.tsx
+++ b/video-gen-app/src/pages/GeneratedRecord.tsx
@@ -911,88 +911,25 @@ const GeneratedRecord: React.FC = () => {
}, [filterType, filterMedia]);
return (
- {/* 顶部:标签切换 + 批量操作按钮 */}
-
-
{
- setFilterType(key as typeof filterType);
- setIsSelectionMode(false);
- setSelectedItems(new Set());
- }}
- items={[
- { key: 'project', label: 项目记录 },
- { key: 'creation', label: 创作记录 },
- { key: 'hot_opening_replicate', label: 爆款复刻 },
- { key: 'shot_replicate', label: 拆镜复刻 },
- { key: 'private_portrait', label: 私域素材库 },
- { key: 'upload_resource', label: 历史素材 },
- ]}
- size="middle"
- />
- {filterType !== 'private_portrait' && filterType !== 'upload_resource' && (
-
- {isSelectionMode ? (
-
-
-
- }
- onClick={handleDeleteSelected}
- style={{ borderRadius: 8, fontWeight: 600, background: 'linear-gradient(135deg, #ef4444, #dc2626)', border: 'none', color: '#fff' }}
- >
- 删除 {selectedItems.size > 0 && `(${selectedItems.size})`}
-
- }
- onClick={handleDownloadSelected}
- style={{ borderRadius: 8, fontWeight: 600, background: 'linear-gradient(135deg, #6366f1, #8b5cf6)', border: 'none', color: '#fff' }}
- >
- 下载 {selectedItems.size > 0 && `(${selectedItems.size})`}
-
- }
- onClick={handleBatchUploadSelected}
- loading={uploading}
- disabled={uploading || selectedItems.size === 0}
- style={{ borderRadius: 8, fontWeight: 600, background: 'linear-gradient(135deg, #6366f1, #8b5cf6)', border: 'none', color: '#fff' }}
- >
- {uploading ? '推送中...' : `推送至账户 ${selectedItems.size > 0 ? `(${selectedItems.size})` : ''}`}
-
-
- ) : (
- }
- onClick={() => setIsSelectionMode(true)}
- style={{ borderRadius: 8, fontWeight: 600, background: 'linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)', border: 'none' }}
- >
- 批量操作
-
- )}
-
- )}
-
+ {/* 顶部:标签切换 */}
+
{
+ setFilterType(key as typeof filterType);
+ setIsSelectionMode(false);
+ setSelectedItems(new Set());
+ }}
+ items={[
+ { key: 'project', label: 项目记录 },
+ { key: 'creation', label: 创作记录 },
+ { key: 'hot_opening_replicate', label: 爆款复刻 },
+ { key: 'shot_replicate', label: 拆镜复刻 },
+ { key: 'private_portrait', label: 私域素材库 },
+ { key: 'upload_resource', label: 历史素材 },
+ ]}
+ size="middle"
+ style={{ marginBottom: 12 }}
+ />
{filterType === 'private_portrait' ? (
) : filterType === 'upload_resource' ? (
@@ -1067,6 +1004,55 @@ const GeneratedRecord: React.FC = () => {
>
推送任务历史
+ {/* 批量操作按钮 */}
+ {filterType !== 'private_portrait' && filterType !== 'upload_resource' && (
+ isSelectionMode ? (
+ <>
+
+
+
+
+
+ >
+ ) : (
+
+ )
+ )}
{/* Content area */}