videocard直播不显示详情
This commit is contained in:
@@ -611,20 +611,22 @@ const VideoCard = forwardRef<VideoCardHandle, VideoCardProps>(function VideoCard
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 详情页面按钮
|
// 详情页面按钮(直播源不显示详情)
|
||||||
actions.push({
|
if (origin !== 'live') {
|
||||||
id: 'detail',
|
actions.push({
|
||||||
label: '详情',
|
id: 'detail',
|
||||||
icon: <Info size={20} />,
|
label: '详情',
|
||||||
onClick: () => {
|
icon: <Info size={20} />,
|
||||||
setShowMobileActions(false);
|
onClick: () => {
|
||||||
// 延迟打开 DetailPanel,确保 MobileActionSheet 完全清理完成
|
setShowMobileActions(false);
|
||||||
setTimeout(() => {
|
// 延迟打开 DetailPanel,确保 MobileActionSheet 完全清理完成
|
||||||
setShowDetailPanel(true);
|
setTimeout(() => {
|
||||||
}, 250);
|
setShowDetailPanel(true);
|
||||||
},
|
}, 250);
|
||||||
color: 'default' as const,
|
},
|
||||||
});
|
color: 'default' as const,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// AI问片功能
|
// AI问片功能
|
||||||
if (aiEnabled && actualTitle) {
|
if (aiEnabled && actualTitle) {
|
||||||
|
|||||||
Reference in New Issue
Block a user