mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
feat:显示流行度
This commit is contained in:
@@ -460,7 +460,17 @@ function getYear(airDate: string) {
|
|||||||
</p>
|
</p>
|
||||||
<div class="flex align-center justify-between">
|
<div class="flex align-center justify-between">
|
||||||
<IconBtn icon="mdi-magnify" color="white" @click.stop="handleSearch" />
|
<IconBtn icon="mdi-magnify" color="white" @click.stop="handleSearch" />
|
||||||
<IconBtn icon="mdi-heart" :color="isSubscribed ? 'error' : 'white'" @click.stop="handleSubscribe" />
|
<VTooltip v-if="props.media?.popularity" :text="'流行度:' + props.media?.popularity?.toString()">
|
||||||
|
<template #activator="{ props }">
|
||||||
|
<IconBtn
|
||||||
|
v-bind="props"
|
||||||
|
icon="mdi-heart"
|
||||||
|
:color="isSubscribed ? 'error' : 'white'"
|
||||||
|
@click.stop="handleSubscribe"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</VTooltip>
|
||||||
|
<IconBtn v-else icon="mdi-heart" :color="isSubscribed ? 'error' : 'white'" @click.stop="handleSubscribe" />
|
||||||
</div>
|
</div>
|
||||||
</VCardText>
|
</VCardText>
|
||||||
<VAvatar
|
<VAvatar
|
||||||
|
|||||||
Reference in New Issue
Block a user