|
@@ -59,7 +59,6 @@ function FlieBox(props: Props) {
|
|
const [moveId, setMoveId] = useState<any>('')//移动的素材ID
|
|
const [moveId, setMoveId] = useState<any>('')//移动的素材ID
|
|
const [treeEl, item, folderId, setActionId, setHoverId] = TreeBox({ data: get_folder_tree.data, belongUser })
|
|
const [treeEl, item, folderId, setActionId, setHoverId] = TreeBox({ data: get_folder_tree.data, belongUser })
|
|
const [listData, setListData] = useState<any>({})
|
|
const [listData, setListData] = useState<any>({})
|
|
- const [imgVisible, setImgVisible] = useState<boolean>(false)
|
|
|
|
|
|
|
|
// 获取数据
|
|
// 获取数据
|
|
useEffect(() => {
|
|
useEffect(() => {
|
|
@@ -184,7 +183,7 @@ function FlieBox(props: Props) {
|
|
},
|
|
},
|
|
}
|
|
}
|
|
}, [folderId, moveId, mediaType])
|
|
}, [folderId, moveId, mediaType])
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
return <div style={{ display: 'flex', flexFlow: 'row' }}>
|
|
return <div style={{ display: 'flex', flexFlow: 'row' }}>
|
|
{get_folder_tree?.data?.length > 0 && <div style={{ flexShrink: 0 }}>
|
|
{get_folder_tree?.data?.length > 0 && <div style={{ flexShrink: 0 }}>
|
|
@@ -194,7 +193,7 @@ function FlieBox(props: Props) {
|
|
<div className={style.files} onContextMenu={rightMenu} style={height ? { height } : {}}>
|
|
<div className={style.files} onContextMenu={rightMenu} style={height ? { height } : {}}>
|
|
{/* 关联公众号筛选 */}
|
|
{/* 关联公众号筛选 */}
|
|
<div className={style.wxSelect}>
|
|
<div className={style.wxSelect}>
|
|
-
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
{/* 层级路径 */}
|
|
{/* 层级路径 */}
|
|
<div className={style.path} >
|
|
<div className={style.path} >
|
|
@@ -296,7 +295,7 @@ function FlieBox(props: Props) {
|
|
topName = "顶部视频"
|
|
topName = "顶部视频"
|
|
El = <div className={style.pageVideo}>
|
|
El = <div className={style.pageVideo}>
|
|
<span className={style.pagePreview} onClick={(e) => { e.stopPropagation(); setPage && setPage(1, item.id) }}><EyeOutlined /> 预览</span>
|
|
<span className={style.pagePreview} onClick={(e) => { e.stopPropagation(); setPage && setPage(1, item.id) }}><EyeOutlined /> 预览</span>
|
|
- <video src={topPageElements?.topVideoSpec?.videoUrl} style={{ width: 130, height: 100 }} controls/>
|
|
|
|
|
|
+ <video src={topPageElements?.topVideoSpec?.videoUrl} style={{ width: 130, height: 100 }} controls />
|
|
</div>
|
|
</div>
|
|
break
|
|
break
|
|
}
|
|
}
|