webui: change v-bind model. add transition effect in mian page.

This commit is contained in:
EstrellaXD
2023-09-07 01:57:19 +08:00
parent 544dda81c4
commit 9953a76a39
7 changed files with 65 additions and 50 deletions

View File

@@ -79,7 +79,10 @@ def tmdb_parser(title, language) -> TMDBInfo | None:
original_title = info_content.get("original_name")
official_title = info_content.get("name")
year_number = info_content.get("first_air_date").split("-")[0]
poster_link = "https://image.tmdb.org/t/p/w300" + poster_path
if poster_path:
poster_link = "https://image.tmdb.org/t/p/w300" + poster_path
else:
poster_link = None
return TMDBInfo(
id,
official_title,