mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 16:56:40 +08:00
fix subscribe card
This commit is contained in:
@@ -136,10 +136,16 @@ const dropdownItems = ref([
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<VHover>
|
||||||
|
<template #default="hover">
|
||||||
<VCard
|
<VCard
|
||||||
|
v-bind="hover.props"
|
||||||
:key="props.media?.id"
|
:key="props.media?.id"
|
||||||
:class="`${props.media?.best_version ? 'outline-dashed outline-1' : ''}`"
|
|
||||||
class="flex flex-col"
|
class="flex flex-col"
|
||||||
|
:class="{
|
||||||
|
'outline-dashed outline-1': props.media?.best_version,
|
||||||
|
'transition transform-cpu duration-300 scale-105 shadow-lg': hover.isHovering,
|
||||||
|
}"
|
||||||
@click="editSubscribeDialog"
|
@click="editSubscribeDialog"
|
||||||
>
|
>
|
||||||
<template #image>
|
<template #image>
|
||||||
@@ -213,6 +219,8 @@ const dropdownItems = ref([
|
|||||||
</VCardText>
|
</VCardText>
|
||||||
<VProgressLinear v-if="getPercentage() > 0" :model-value="getPercentage()" bg-color="success" color="success" />
|
<VProgressLinear v-if="getPercentage() > 0" :model-value="getPercentage()" bg-color="success" color="success" />
|
||||||
</VCard>
|
</VCard>
|
||||||
|
</template>
|
||||||
|
</VHover>
|
||||||
<!-- 订阅编辑弹窗 -->
|
<!-- 订阅编辑弹窗 -->
|
||||||
<SubscribeEditDialog
|
<SubscribeEditDialog
|
||||||
v-if="subscribeEditDialog"
|
v-if="subscribeEditDialog"
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ const filteredDataList = computed(() => {
|
|||||||
<template>
|
<template>
|
||||||
<LoadingBanner v-if="!isRefreshed" class="mt-12" />
|
<LoadingBanner v-if="!isRefreshed" class="mt-12" />
|
||||||
<PullRefresh v-model="loading" @refresh="onRefresh">
|
<PullRefresh v-model="loading" @refresh="onRefresh">
|
||||||
<div v-if="filteredDataList.length > 0" class="grid gap-3 grid-subscribe-card p-1">
|
<div v-if="filteredDataList.length > 0" class="mx-3 grid gap-4 grid-subscribe-card p-1">
|
||||||
<SubscribeCard
|
<SubscribeCard
|
||||||
v-for="data in filteredDataList"
|
v-for="data in filteredDataList"
|
||||||
:key="data.id"
|
:key="data.id"
|
||||||
|
|||||||
Reference in New Issue
Block a user