Update card cover size in PluginAppCard and PluginCard components

This commit is contained in:
jxxghp
2024-05-05 19:51:36 +08:00
parent bd257554cd
commit 2bcb28d0c0
2 changed files with 4 additions and 4 deletions

View File

@@ -150,7 +150,7 @@ const dropdownItems = ref([
<template>
<VCard :width="props.width" :height="props.height" @click="installPlugin">
<div class="relative pa-4 text-center card-cover-blurred" :style="{ background: `${backgroundColor}` }">
<div class="relative pa-3 text-center card-cover-blurred" :style="{ background: `${backgroundColor}` }">
<div class="me-n3 absolute top-0 right-3">
<IconBtn>
<VIcon icon="mdi-dots-vertical" class="text-white" />
@@ -172,7 +172,7 @@ const dropdownItems = ref([
</VMenu>
</IconBtn>
</div>
<VAvatar size="8rem">
<VAvatar size="6rem">
<VImg
ref="imageRef"
:src="iconPath"

View File

@@ -391,7 +391,7 @@ watch(
<template>
<!-- 插件卡片 -->
<VCard v-if="isVisible" :width="props.width" :height="props.height" @click="openPluginDetail">
<div class="relative pa-4 text-center card-cover-blurred" :style="{ background: `${backgroundColor}` }">
<div class="relative pa-3 text-center card-cover-blurred" :style="{ background: `${backgroundColor}` }">
<div v-if="props.plugin?.has_update" class="me-n3 absolute top-0 left-1">
<VIcon icon="mdi-new-box" class="text-white" />
</div>
@@ -417,7 +417,7 @@ watch(
</VMenu>
</IconBtn>
</div>
<VAvatar size="8rem">
<VAvatar size="6rem">
<VImg
ref="imageRef"
:src="iconPath"