diff --git a/src/app/detail/page.tsx b/src/app/detail/page.tsx
index 8002a82..09dd4d0 100644
--- a/src/app/detail/page.tsx
+++ b/src/app/detail/page.tsx
@@ -205,11 +205,9 @@ function DetailPageClient() {
@@ -219,11 +217,11 @@ function DetailPageClient() {
@@ -236,11 +234,11 @@ function DetailPageClient() {
@@ -313,11 +311,9 @@ function DetailPageClient() {
key={idx}
href={`/play?source=${searchParams.get(
'source'
- )}&id=${searchParams.get('id')}&index=${idx + 1}${
- fallbackTitle
- ? `&title=${encodeURIComponent(fallbackTitle)}`
- : ''
- }`}
+ )}&id=${searchParams.get('id')}&index=${
+ idx + 1
+ }&title=${encodeURIComponent(detail.videoInfo.title)}`}
className='bg-gray-500/80 hover:bg-green-500 text-white px-5 py-2 rounded-lg transition-colors text-base font-medium w-24 text-center'
>
第{idx + 1}集
diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx
index af78cd8..12b404a 100644
--- a/src/app/play/page.tsx
+++ b/src/app/play/page.tsx
@@ -717,7 +717,9 @@ function PlayPageClient() {
// 处理返回按钮点击
const handleBack = () => {
- window.location.href = `/detail?source=${currentSource}&id=${currentId}`;
+ window.location.href = `/detail?source=${currentSource}&id=${currentId}&title=${encodeURIComponent(
+ videoTitle
+ )}`;
};
// 处理上一集