|
@@ -7,13 +7,13 @@ import '../../tencentAdPutIn/index.less'
|
|
import { EyeOutlined, SortAscendingOutlined } from "@ant-design/icons"
|
|
import { EyeOutlined, SortAscendingOutlined } from "@ant-design/icons"
|
|
import PlayVideo from "./playVideo"
|
|
import PlayVideo from "./playVideo"
|
|
import Lazyimg from "react-lazyimg-component"
|
|
import Lazyimg from "react-lazyimg-component"
|
|
-import SyncCloudSc from "./syncCloudSc"
|
|
|
|
import { checkAccountUnitApi } from "@/services/launchAdq/adAuthorize"
|
|
import { checkAccountUnitApi } from "@/services/launchAdq/adAuthorize"
|
|
import { getCreativeComponentDataListApi, GetCreativeComponentProps } from "@/services/adqV3/global"
|
|
import { getCreativeComponentDataListApi, GetCreativeComponentProps } from "@/services/adqV3/global"
|
|
import { COMPONENT_GENERATION_TYPE_ENUM, COMPONENT_SUB_TYPE, getComponentType } from "../../tencenTasset/manageComponent/const"
|
|
import { COMPONENT_GENERATION_TYPE_ENUM, COMPONENT_SUB_TYPE, getComponentType } from "../../tencenTasset/manageComponent/const"
|
|
import SelectComponentsUnitSearch from "./selectComponentsUnitSearch"
|
|
import SelectComponentsUnitSearch from "./selectComponentsUnitSearch"
|
|
import { addOnlyDataApi, getOnlyDataApi } from "@/services/adqV3"
|
|
import { addOnlyDataApi, getOnlyDataApi } from "@/services/adqV3"
|
|
import { showField2List } from "./const"
|
|
import { showField2List } from "./const"
|
|
|
|
+import SyncCloudComponent from "./syncCloudComponent"
|
|
|
|
|
|
const { Text, Paragraph } = Typography;
|
|
const { Text, Paragraph } = Typography;
|
|
|
|
|
|
@@ -280,8 +280,8 @@ const SelectComponentsUnit: React.FC<Props> = ({ num: count, defaultParams, chec
|
|
<span>已选 <span style={{ color: '#1890FF' }}>{checkedFolderList?.length || 0}</span>/{num} 个素材</span>
|
|
<span>已选 <span style={{ color: '#1890FF' }}>{checkedFolderList?.length || 0}</span>/{num} 个素材</span>
|
|
{checkedFolderList.length > 0 && <a style={{ color: 'red' }} onClick={() => setCheckedFolderList([])}>清除所有</a>}
|
|
{checkedFolderList.length > 0 && <a style={{ color: 'red' }} onClick={() => setCheckedFolderList([])}>清除所有</a>}
|
|
{sortData?.sortField && <Text>「排序-{showField2List.find(item => item.value === sortData.sortField)?.label}-{sortData.sortType ? '正序' : '倒序'}」</Text>}
|
|
{sortData?.sortField && <Text>「排序-{showField2List.find(item => item.value === sortData.sortField)?.label}-{sortData.sortType ? '正序' : '倒序'}」</Text>}
|
|
- {/* 同步素材 */}
|
|
|
|
- <SyncCloudSc
|
|
|
|
|
|
+ {/* 同步组件 */}
|
|
|
|
+ <SyncCloudComponent
|
|
accountId={unitAccountId}
|
|
accountId={unitAccountId}
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|