mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-13 15:50:45 +08:00
新增海报懒加载与异步解码,提升首次打开性能
This commit is contained in:
parent
6e72dee20d
commit
2e2bf064d4
@ -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">
|
||||
|
||||
<!-- 刷新元数据按钮(左上角,悬停显示) -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user