This commit is contained in:
jxxghp
2024-05-21 10:51:10 +08:00
parent 422e5858ef
commit deabd7b83c

View File

@@ -118,12 +118,12 @@ onMounted(() => {
<template> <template>
<VRow> <VRow>
<VCol> <VCol>
<VList v-if="dataList.length === 0" lines="three" class="rounded p-0"> <VList v-if="dataList.length === 0" lines="three" class="rounded p-0 shadow-lg">
<VListItem> <VListItem>
<VListItemTitle>没有附合当前过滤条件的资源</VListItemTitle> <VListItemTitle>没有附合当前过滤条件的资源</VListItemTitle>
</VListItem> </VListItem>
</VList> </VList>
<VList v-if="dataList.length !== 0" lines="three" class="rounded p-0 torrent-list-vscroll"> <VList v-if="dataList.length !== 0" lines="three" class="rounded p-0 torrent-list-vscroll shadow-lg">
<VVirtualScroll :items="dataList"> <VVirtualScroll :items="dataList">
<template #default="{ item }"> <template #default="{ item }">
<TorrentItem :torrent="item" :key="`${item.torrent_info.title}_${item.torrent_info.site}`" /> <TorrentItem :torrent="item" :key="`${item.torrent_info.title}_${item.torrent_info.site}`" />
@@ -132,7 +132,7 @@ onMounted(() => {
</VList> </VList>
</VCol> </VCol>
<VCol xl="2" md="3" class="d-none d-md-block"> <VCol xl="2" md="3" class="d-none d-md-block">
<VList lines="one" class="rounded torrent-list-vscroll"> <VList lines="one" class="rounded torrent-list-vscroll shadow-lg">
<VListSubheader> 排序 </VListSubheader> <VListSubheader> 排序 </VListSubheader>
<VListItem> <VListItem>
<VChipGroup column v-model="sortField"> <VChipGroup column v-model="sortField">
@@ -265,7 +265,7 @@ onMounted(() => {
@media (width <= 768px) { @media (width <= 768px) {
.orrent-list-vscroll { .orrent-list-vscroll {
block-size: calc(100vh - 9rem); block-size: calc(100vh - 10rem);
} }
} }
</style> </style>