修复即将上映需多次点击才显示,即将上映增加预告片

This commit is contained in:
mtvpls
2026-06-02 10:34:13 +08:00
parent 135466b260
commit 16e48bef8b
6 changed files with 454 additions and 7 deletions
+3 -1
View File
@@ -26,6 +26,7 @@ interface MobileActionSheetProps {
totalEpisodes?: number; // 总集数
origin?: 'vod' | 'live';
onPosterClick?: () => void; // 海报点击回调
description?: string; // 标题下方描述文案
}
const MobileActionSheet: React.FC<MobileActionSheetProps> = ({
@@ -42,6 +43,7 @@ const MobileActionSheet: React.FC<MobileActionSheetProps> = ({
totalEpisodes,
origin = 'vod',
onPosterClick,
description = '选择操作',
}) => {
const [isVisible, setIsVisible] = useState(false);
const [isAnimating, setIsAnimating] = useState(false);
@@ -322,7 +324,7 @@ const MobileActionSheet: React.FC<MobileActionSheetProps> = ({
</p>
)}
<p className="text-sm text-gray-500 dark:text-gray-400">
{description}
</p>
</div>
</div>