优化 PluginAppCard 和 PluginCard 组件的背景样式,更新渐变效果以增强视觉层次感。

This commit is contained in:
jxxghp
2025-05-10 22:38:19 +08:00
parent c7a8c68e14
commit 93ac5e1b3b
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ const dropdownItems = ref([
>
<div
class="relative flex flex-row items-start pa-3 justify-between grow"
:style="`background: linear-gradient(${backgroundColor}66 0%, ${backgroundColor}99 100%)`"
:style="`background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(${backgroundColor} 0%, ${backgroundColor} 100%)`"
>
<div class="relative flex-1 min-w-0">
<VCardTitle

View File

@@ -345,7 +345,7 @@ watch(
>
<div
class="relative flex flex-row items-start pa-3 justify-between grow"
:style="`background: linear-gradient(${backgroundColor}66 0%, ${backgroundColor}99 100%)`"
:style="`background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(${backgroundColor} 0%, ${backgroundColor} 100%)`"
>
<div class="relative flex-1 min-w-0">
<VCardTitle class="text-white text-lg px-2 text-shadow whitespace-nowrap overflow-hidden text-ellipsis">