From 7e633083c901af7e4f33ccd7a3ebdf3317806eae Mon Sep 17 00:00:00 2001 From: Hakadao Date: Tue, 17 Oct 2023 12:02:54 +0800 Subject: [PATCH] style: adjust ranking number style --- src/components/LongCoverCard/LongCoverCard.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/LongCoverCard/LongCoverCard.vue b/src/components/LongCoverCard/LongCoverCard.vue index 40355b8e..3a744ddd 100644 --- a/src/components/LongCoverCard/LongCoverCard.vue +++ b/src/components/LongCoverCard/LongCoverCard.vue @@ -33,10 +33,13 @@ defineProps<{ v-if="rank" w-full pos="absolute bottom-0" z-1 - text="white 7xl shadow-xl" + text="white 7xl shadow" p-2 fw-bold h-150px flex items-end bg="gradient-to-b gradient-from-transparent gradient-to-[rgba(0,0,0,.6)]" rounded-b="$bew-radius" + :style="{ + '--un-text-shadow': rank <= 3 ? '4px 4px 0 var(--bew-theme-color), 6px 6px 0 var(--bew-theme-color-60)' : '', + }" > {{ rank }}