feat(PluginCard): 在插件卡片中添加悬停显示插件版本信息

This commit is contained in:
jxxghp
2024-12-29 20:21:13 +08:00
parent c6eb744257
commit 994c52f6aa
+3 -1
View File
@@ -416,7 +416,9 @@ watch(
<VCardTitle class="text-white text-lg px-2 text-shadow whitespace-nowrap overflow-hidden text-ellipsis"> <VCardTitle class="text-white text-lg px-2 text-shadow whitespace-nowrap overflow-hidden text-ellipsis">
<VBadge v-if="props.plugin?.state" dot inline color="success" /> <VBadge v-if="props.plugin?.state" dot inline color="success" />
{{ props.plugin?.plugin_name }} {{ props.plugin?.plugin_name }}
<span class="text-sm mt-1 text-gray-200">v{{ props.plugin?.plugin_version }}</span> <span v-show="hover.isHovering" class="text-sm mt-1 text-gray-200">
v{{ props.plugin?.plugin_version }}
</span>
</VCardTitle> </VCardTitle>
<VSlideYTransition> <VSlideYTransition>
<VCardText <VCardText