added placeholder artwork
This commit is contained in:
parent
c1c3a4f200
commit
1f91b51cca
2 changed files with 6 additions and 3 deletions
|
@ -2081,6 +2081,9 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
background-image: url("https://beta.music.apple.com/assets/product/MissingArtworkMusic.svg");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
|
||||||
.animatedartwork-view-box {
|
.animatedartwork-view-box {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
<template v-if="type == 'artists'">
|
<template v-if="type == 'artists'">
|
||||||
<div class="mediaitem-artwork rounded" :key="url" :style="getStyle()">
|
<div class="mediaitem-artwork rounded" :key="url" :style="getStyle()">
|
||||||
<img :src="app.getMediaItemArtwork(url, size)"
|
<img :src="app.getMediaItemArtwork(url, size)"
|
||||||
loading="lazy" decoding="async"
|
decoding="async"
|
||||||
class="mediaitem-artwork--img">
|
class="mediaitem-artwork--img">
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="mediaitem-artwork" :key="url" :style="getStyle()"
|
<div class="mediaitem-artwork" :key="url" :style="getStyle()"
|
||||||
v-observe-visibility="{callback: visibilityChanged}">
|
v-observe-visibility="{callback: visibilityChanged}">
|
||||||
<img :src="app.getMediaItemArtwork(url, size)" v-if="isVisible"
|
<img :src="app.getMediaItemArtwork(url, size)"
|
||||||
loading="lazy" decoding="async"
|
decoding="async"
|
||||||
class="mediaitem-artwork--img">
|
class="mediaitem-artwork--img">
|
||||||
<div v-if="video && isVisible" class="animatedartwork-view-box">
|
<div v-if="video && isVisible" class="animatedartwork-view-box">
|
||||||
<animatedartwork-view :video="video"></animatedartwork-view>
|
<animatedartwork-view :video="video"></animatedartwork-view>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue