mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +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
|
|
@ -1,9 +1,11 @@
|
|||
<template>
|
||||
<div v-show="show" ref="library">
|
||||
<h1>
|
||||
<img class="avatar" :src="data.user.avatarUrl | resizeImage" />{{
|
||||
data.user.nickname
|
||||
}}{{ $t('library.sLibrary') }}
|
||||
<img
|
||||
class="avatar"
|
||||
:src="data.user.avatarUrl | resizeImage"
|
||||
loading="lazy"
|
||||
/>{{ data.user.nickname }}{{ $t('library.sLibrary') }}
|
||||
</h1>
|
||||
<div class="section-one">
|
||||
<div class="liked-songs" @click="goToLikedSongsList">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue