mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-12 02:21:06 +08:00
feat 洗版设置
This commit is contained in:
@@ -13,7 +13,11 @@ export interface Subscribe {
|
||||
|
||||
// 搜索关键字
|
||||
keyword?: string
|
||||
|
||||
// TMDB ID
|
||||
tmdbid: number
|
||||
|
||||
// 豆瓣ID
|
||||
doubanid?: string
|
||||
|
||||
// 季号
|
||||
@@ -63,6 +67,12 @@ export interface Subscribe {
|
||||
|
||||
// 订阅站点
|
||||
sites: number[]
|
||||
|
||||
// 是否洗版
|
||||
best_version: number
|
||||
|
||||
// 当前优先级
|
||||
current_priority: number
|
||||
}
|
||||
|
||||
// 历史记录
|
||||
|
||||
@@ -53,6 +53,10 @@ const subscribeForm = reactive({
|
||||
|
||||
// 订阅站点
|
||||
sites: props.media?.sites,
|
||||
|
||||
// 是否洗版
|
||||
best_version: !!props.media?.best_version,
|
||||
|
||||
})
|
||||
|
||||
// 上一次更新时间
|
||||
@@ -218,6 +222,7 @@ const dropdownItems = ref([
|
||||
<VCard
|
||||
v-if="cardState"
|
||||
:key="props.media?.id"
|
||||
:class="`${props.media?.best_version ? 'outline-dotted' : ''}`"
|
||||
@click="editSubscribeDialog"
|
||||
>
|
||||
<template #image>
|
||||
@@ -413,6 +418,14 @@ const dropdownItems = ref([
|
||||
/>
|
||||
</VCol>
|
||||
</VRow>
|
||||
<VRow>
|
||||
<VCol cols="12">
|
||||
<VSwitch
|
||||
v-model="subscribeForm.best_version"
|
||||
label="洗版"
|
||||
/>
|
||||
</VCol>
|
||||
</VRow>
|
||||
</VForm>
|
||||
</VCardText>
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ const filteredDataList = computed(() => {
|
||||
>
|
||||
<div
|
||||
v-if="filteredDataList.length > 0"
|
||||
class="grid gap-3 grid-subscribe-card"
|
||||
class="grid gap-3 grid-subscribe-card p-1"
|
||||
>
|
||||
<SubscribeCard
|
||||
v-for="data in filteredDataList"
|
||||
|
||||
Reference in New Issue
Block a user