mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-28 03:39:46 +08:00
fix #292
This commit is contained in:
@@ -16,7 +16,7 @@ const filterParams = reactive({
|
||||
release_date: '',
|
||||
})
|
||||
|
||||
// TMDB排序字典
|
||||
// TMDB 电影排序字典
|
||||
const tmdbSortDict = {
|
||||
'popularity.desc': '热度降序',
|
||||
'popularity.asc': '热度升序',
|
||||
@@ -26,6 +26,16 @@ const tmdbSortDict = {
|
||||
'vote_average.asc': '评分升序',
|
||||
}
|
||||
|
||||
// TMDB 电视剧排序字典
|
||||
const tmdbTvSortDict = {
|
||||
'popularity.desc': '热度降序',
|
||||
'popularity.asc': '热度升序',
|
||||
'first_air_date.desc': '首播日期降序',
|
||||
'first_air_date.asc': '首播日期升序',
|
||||
'vote_average.desc': '评分降序',
|
||||
'vote_average.asc': '评分升序',
|
||||
}
|
||||
|
||||
// TMDB风格字典
|
||||
const tmdbGenreDict = {
|
||||
'28': '动作',
|
||||
@@ -102,7 +112,7 @@ watch([type, filterParams], () => {
|
||||
filter
|
||||
tile
|
||||
:value="key"
|
||||
v-for="(value, key) in tmdbSortDict"
|
||||
v-for="(value, key) in type == 'movies' ? tmdbSortDict : tmdbTvSortDict"
|
||||
:key="key"
|
||||
>
|
||||
{{ value }}
|
||||
|
||||
Reference in New Issue
Block a user