mirror of
https://github.com/koel/koel
synced 2024-12-30 14:33:06 +00:00
13 lines
338 B
Vue
13 lines
338 B
Vue
<template>
|
|
<article
|
|
class="skeleton pulse flex rounded-md overflow-hidden h-[1.2rem] m-1 p-4 flex-shrink-0"
|
|
:style="{ width: `${width}px` }"
|
|
>
|
|
<span class="flex-1" />
|
|
<span class="aspect-[1.2/1] rounded-full pulse" />
|
|
</article>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
const width = Math.random() * 100 + 80
|
|
</script>
|