Merge pull request #4 from thofx/lint_fix

修复样式bug
This commit is contained in:
jxxghp
2023-07-22 20:20:53 +08:00
committed by GitHub
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"