|
|
@@ -15,7 +15,6 @@ import {
|
|
|
Tabs,
|
|
|
Popover,
|
|
|
Descriptions,
|
|
|
- Tooltip,
|
|
|
} from 'antd';
|
|
|
import { CheckCircleFilled, CaretRightFilled, HeartOutlined, HistoryOutlined, FireOutlined } from '@ant-design/icons';
|
|
|
import { VideoItem, VideoListResponse } from '../types';
|
|
|
@@ -33,8 +32,8 @@ type LoadMode = 'replace' | 'append' | 'jump';
|
|
|
|
|
|
const SOURCE_TABS: { key: string; label: string; disabled?: boolean }[] = [
|
|
|
{ key: '', label: '全部' },
|
|
|
- { key: 'prior', label: '粉丝喜欢', disabled: true },
|
|
|
- { key: 'posterior', label: '已发优质相似', disabled: true },
|
|
|
+ { key: 'prior', label: '粉丝喜欢' },
|
|
|
+ { key: 'posterior', label: '已发优质相似' },
|
|
|
{ key: 'hot', label: '票圈热门' },
|
|
|
];
|
|
|
const SOURCE_LABEL: Record<string, string> = { prior: '粉丝喜欢', posterior: '已发优质相似', hot: '票圈热门' };
|
|
|
@@ -394,13 +393,7 @@ const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ planType, visible,
|
|
|
<Tabs
|
|
|
activeKey={source}
|
|
|
onChange={handleChangeSource}
|
|
|
- items={SOURCE_TABS.map(t => ({
|
|
|
- key: t.key,
|
|
|
- disabled: t.disabled,
|
|
|
- label: t.disabled
|
|
|
- ? <Tooltip title="功能正在完善中"><span>{t.label}</span></Tooltip>
|
|
|
- : t.label,
|
|
|
- }))}
|
|
|
+ items={SOURCE_TABS.map(t => ({ key: t.key, label: t.label }))}
|
|
|
className="!mb-3"
|
|
|
/>
|
|
|
<div className="flex flex-wrap gap-2 mb-6">
|