mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: add img tag with loading attribute for lazy loading
This commit is contained in:
parent
107bf53a39
commit
fab099c6fb
17 changed files with 46 additions and 23 deletions
|
|
@ -7,7 +7,7 @@
|
|||
@mouseleave="hoverVideoID = 0"
|
||||
@click="goToMv(getID(mv))"
|
||||
>
|
||||
<img :src="getUrl(mv)" />
|
||||
<img :src="getUrl(mv)" loading="lazy" />
|
||||
<transition name="fade">
|
||||
<div
|
||||
v-show="hoverVideoID === getID(mv)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue