From 2e2bf064d405ffbfda085dec210478ab85ec1506 Mon Sep 17 00:00:00 2001 From: x1ao4 Date: Tue, 16 Sep 2025 02:28:38 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B5=B7=E6=8A=A5?= =?UTF-8?q?=E6=87=92=E5=8A=A0=E8=BD=BD=E4=B8=8E=E5=BC=82=E6=AD=A5=E8=A7=A3?= =?UTF-8?q?=E7=A0=81=EF=BC=8C=E6=8F=90=E5=8D=87=E9=A6=96=E6=AC=A1=E6=89=93?= =?UTF-8?q?=E5=BC=80=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/templates/index.html b/app/templates/index.html index b5c9edd..eef118f 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1243,6 +1243,10 @@ :alt="(getCalendarTaskByName(task.taskname) && getCalendarTaskByName(task.taskname).matched_show_name) ? getCalendarTaskByName(task.taskname).matched_show_name : task.taskname" referrerpolicy="no-referrer" crossorigin="anonymous" + loading="lazy" + decoding="async" + fetchpriority="low" + width="400" height="600" @error="handleImageError($event)"> @@ -2003,6 +2007,10 @@ :alt="task.show_name || task.task_name" referrerpolicy="no-referrer" crossorigin="anonymous" + loading="lazy" + decoding="async" + fetchpriority="low" + width="400" height="600" @error="handleImageError($event)"> @@ -2089,6 +2097,10 @@ class="calendar-poster-image" crossorigin="anonymous" referrerpolicy="no-referrer" + loading="lazy" + decoding="async" + fetchpriority="low" + width="400" height="600" @error="handleCalendarImageError"> From 3fd496cf2e4b84080ca4439ce20062f4dc3c611e Mon Sep 17 00:00:00 2001 From: x1ao4 Date: Tue, 16 Sep 2025 03:08:02 +0800 Subject: [PATCH 2/3] =?UTF-8?q?Revert=20"=E6=96=B0=E5=A2=9E=E6=B5=B7?= =?UTF-8?q?=E6=8A=A5=E6=87=92=E5=8A=A0=E8=BD=BD=E4=B8=8E=E5=BC=82=E6=AD=A5?= =?UTF-8?q?=E8=A7=A3=E7=A0=81=EF=BC=8C=E6=8F=90=E5=8D=87=E9=A6=96=E6=AC=A1?= =?UTF-8?q?=E6=89=93=E5=BC=80=E6=80=A7=E8=83=BD"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 2e2bf064d405ffbfda085dec210478ab85ec1506. --- app/templates/index.html | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index eef118f..b5c9edd 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1243,10 +1243,6 @@ :alt="(getCalendarTaskByName(task.taskname) && getCalendarTaskByName(task.taskname).matched_show_name) ? getCalendarTaskByName(task.taskname).matched_show_name : task.taskname" referrerpolicy="no-referrer" crossorigin="anonymous" - loading="lazy" - decoding="async" - fetchpriority="low" - width="400" height="600" @error="handleImageError($event)"> @@ -2007,10 +2003,6 @@ :alt="task.show_name || task.task_name" referrerpolicy="no-referrer" crossorigin="anonymous" - loading="lazy" - decoding="async" - fetchpriority="low" - width="400" height="600" @error="handleImageError($event)"> @@ -2097,10 +2089,6 @@ class="calendar-poster-image" crossorigin="anonymous" referrerpolicy="no-referrer" - loading="lazy" - decoding="async" - fetchpriority="low" - width="400" height="600" @error="handleCalendarImageError"> From 1aa0f44041368031b521207bb8e28535d51e0579 Mon Sep 17 00:00:00 2001 From: x1ao4 Date: Tue, 16 Sep 2025 18:09:29 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=B1=E8=A7=86?= =?UTF-8?q?=E5=8F=91=E7=8E=B0=E9=A1=B5=E9=9D=A2=E7=9A=84=20=E2=80=9C?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BB=BB=E5=8A=A1=E2=80=9D=20=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=94=99=E8=AF=AF=E8=A7=A6=E5=8F=91=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E8=80=8C=E9=9D=9E=E5=88=9B=E5=BB=BA=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 重置 `createTaskFromDiscovery` 为创建模式,初始化表单,修复标题与底部按钮显示为创建态 --- app/templates/index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/templates/index.html b/app/templates/index.html index b5c9edd..3fbafc9 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -11783,6 +11783,13 @@ createTaskFromDiscovery(item) { // 从影视发现页面创建任务 try { + // 强制切换为创建模式并重置表单 + this.createTask.isEditMode = false; + this.createTask.editTaskIndex = null; + this.createTask.error = null; + // 使用 newTask 的完整结构初始化,再由智能填充覆盖 + this.createTask.taskData = { ...this.newTask }; + // 存储影视作品数据,并提取年份信息 const movieData = { ...item }; // 如果没有year字段,尝试从card_subtitle中提取