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