This commit is contained in:
jxxghp
2023-07-02 19:25:47 +08:00
parent 90587608f8
commit a1ee522b83
4 changed files with 11 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ const deleteDownload = () => {
<template>
<VCard :key="props.info?.hash" v-if="cardState">
<div class="d-flex justify-space-between flex-nowrap flex-row">
<div class="d-flex justify-space-between flex-wrap flex-row">
<div class="ma-auto pa-5 pe-0" v-if="props.info?.media.image">
<VImg
aspect-ratio="2/3"
@@ -61,10 +61,11 @@ const deleteDownload = () => {
<div class="w-full">
<VCardItem>
<VCardTitle>{{ props.info?.media.title || props.info?.name }}</VCardTitle>
<VCardTitle>{{ props.info?.media.title || props.info?.name }} {{ props.info?.season_episode }}</VCardTitle>
</VCardItem>
<VCardText
v-if="!props.info?.media.image"
class="break-all whitespace-normal line-clamp-2 overflow-hidden text-ellipsis ..."
>
{{ props.info?.title }}

View File

@@ -26,7 +26,12 @@ onMounted(() => {
</script>
<template>
<VCard :height="props.height" :width="props.width" :flat="!props.site?.is_active">
<VCard :height="props.height" :width="props.width" :flat="!props.site?.is_active" class="overflow-hidden">
<template #image>
<VAvatar class="absolute right-2 bottom-2" variant="flat" rounded="0">
<VImg :src="siteIcon" />
</VAvatar>
</template>
<VCardItem>
<VCardTitle>{{ props.site?.name }}</VCardTitle>
<VCardSubtitle>{{ props.site?.url }}</VCardSubtitle>
@@ -40,10 +45,6 @@ onMounted(() => {
>
</VIcon>
<VAvatar class="absolute right-5 bottom-5" variant="flat" rounded="0">
<VImg :src="siteIcon"></VImg>
</VAvatar>
<VCardText class="py-2">
<VTooltip text="浏览器仿真" v-if="props.site?.render">
<template #activator="{ props }">