mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix ui
This commit is contained in:
@@ -460,14 +460,14 @@ const getImgUrl: Ref<string> = computed(() => {
|
|||||||
</VCard>
|
</VCard>
|
||||||
</template>
|
</template>
|
||||||
</VHover>
|
</VHover>
|
||||||
<VDialog
|
<!-- 订阅季弹窗 -->
|
||||||
|
<VBottomSheet
|
||||||
v-model="subscribeSeasonDialog"
|
v-model="subscribeSeasonDialog"
|
||||||
max-width="50rem"
|
inset
|
||||||
content-class="whitespace-nowrap"
|
|
||||||
scrollable
|
scrollable
|
||||||
>
|
>
|
||||||
<!-- Dialog Content -->
|
|
||||||
<VCard title="选择订阅季">
|
<VCard title="选择订阅季">
|
||||||
|
<DialogCloseBtn @click="subscribeSeasonDialog = false" />
|
||||||
<VCardText style="padding: 0;">
|
<VCardText style="padding: 0;">
|
||||||
<VDataTable
|
<VDataTable
|
||||||
v-model="seasonsSelected"
|
v-model="seasonsSelected"
|
||||||
@@ -478,17 +478,15 @@ const getImgUrl: Ref<string> = computed(() => {
|
|||||||
fixed-header
|
fixed-header
|
||||||
show-select
|
show-select
|
||||||
:items-per-page="100"
|
:items-per-page="100"
|
||||||
density="compact"
|
|
||||||
height="auto"
|
height="auto"
|
||||||
>
|
>
|
||||||
<template #item.title="{ item }">
|
<template #item.title="{ item }">
|
||||||
<span class="d-block whitespace-nowrap">第 {{ item.raw.season_number }} 季
|
<span class="d-block whitespace-nowrap text-high-emphasis">第 {{ item.raw.season_number }} 季
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #item.episodes="{ item }">
|
<template #item.episodes="{ item }">
|
||||||
<VChip
|
<VChip
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
size="small"
|
|
||||||
>
|
>
|
||||||
{{ item.raw.episode_count }}
|
{{ item.raw.episode_count }}
|
||||||
</VChip>
|
</VChip>
|
||||||
@@ -500,8 +498,6 @@ const getImgUrl: Ref<string> = computed(() => {
|
|||||||
<VChip
|
<VChip
|
||||||
v-if="seasonsNotExisted"
|
v-if="seasonsNotExisted"
|
||||||
:color="getExistColor(item.raw.season_number)"
|
:color="getExistColor(item.raw.season_number)"
|
||||||
flat
|
|
||||||
size="small"
|
|
||||||
>
|
>
|
||||||
{{ getExistText(item.raw.season_number) }}
|
{{ getExistText(item.raw.season_number) }}
|
||||||
</VChip>
|
</VChip>
|
||||||
@@ -512,20 +508,18 @@ const getImgUrl: Ref<string> = computed(() => {
|
|||||||
<template #bottom />
|
<template #bottom />
|
||||||
</VDataTable>
|
</VDataTable>
|
||||||
</VCardText>
|
</VCardText>
|
||||||
<VCardActions>
|
<div class="my-2 text-center">
|
||||||
<VBtn @click="subscribeSeasonDialog = false">
|
|
||||||
取消
|
|
||||||
</VBtn>
|
|
||||||
<VSpacer />
|
|
||||||
<VBtn
|
<VBtn
|
||||||
|
:disabled="seasonsSelected.length === 0"
|
||||||
|
width="30%"
|
||||||
@click="subscribeSeasons"
|
@click="subscribeSeasons"
|
||||||
@keydown.enter="subscribeSeasons"
|
@keydown.enter="subscribeSeasons"
|
||||||
>
|
>
|
||||||
确定
|
提交订阅
|
||||||
</VBtn>
|
</VBtn>
|
||||||
</VCardActions>
|
</div>
|
||||||
</VCard>
|
</VCard>
|
||||||
</VDialog>
|
</VBottomSheet>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|||||||
Reference in New Issue
Block a user