From eefdcf3282cc4cf5b155b40818862e0fc33a42b0 Mon Sep 17 00:00:00 2001 From: syk1209wwz0306 <3228195956@qq.com> Date: Mon, 3 Jun 2024 23:55:44 +0800 Subject: [PATCH] commit0603 --- .../templates/movie/recommend.html | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 MoviesRecommend/templates/movie/recommend.html diff --git a/MoviesRecommend/templates/movie/recommend.html b/MoviesRecommend/templates/movie/recommend.html new file mode 100644 index 0000000..faaf6d1 --- /dev/null +++ b/MoviesRecommend/templates/movie/recommend.html @@ -0,0 +1,87 @@ +{% extends 'movie/base.html' %} +{% block content %} + +
+ {% for message in messages %} + {% if message.tags == 'info' %} + + {% endif %} + {% endfor %} + +
+ + {% for movie in movies %} + +
+ {#
#} + +
+

+ 电影名: + {{ movie.name }} +

+ + {% for foo in movie.get_score_int_range %} + ❤ + {% endfor %} + + {{ movie.get_score }} +

+ 简介: + {{ movie.intro }} +

+

+ 类型: + {% for genre in movie.get_genre %} + {{ genre }} + {% if not forloop.last %} + | + {% endif %} + {% endfor %} +

+

导演:{{ movie.director }}

+

主演:{{ movie.actors }}

+

时长:{{ movie.time }}

+

发行时间:{{ movie.release_time }}

+
+ {#
#} +
+
+
+
+ + {% endfor %} +{% endblock %} \ No newline at end of file