修复样式bug

This commit is contained in:
thofx
2023-07-22 20:12:28 +08:00
parent 0e8e408b07
commit 0cec825895
5 changed files with 53 additions and 44 deletions

View File

@@ -412,21 +412,12 @@ const getImgUrl: Ref<string> = computed(() => {
v-bind="hover.props"
:height="props.height"
:width="props.width"
:loading="!isImageLoaded"
class="outline-none shadow ring-gray-500"
:class="{
'transition transform-cpu duration-300 scale-105 shadow-lg': hover.isHovering,
'ring-1': isImageLoaded,
}"
>
<template #loader="{ isActive }">
<v-progress-linear
:active="isActive"
color="deep-purple"
height="4"
indeterminate
/>
</template>
<VImg
aspect-ratio="2/3"
:src="getImgUrl"