videocard直播不显示详情

This commit is contained in:
mtvpls
2026-02-27 17:55:39 +08:00
parent 6bd618e76c
commit 19251c8f17

View File

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