diff --git a/src/templates/user/search.html b/src/templates/user/search.html index 4b52c27..3c1a0d7 100644 --- a/src/templates/user/search.html +++ b/src/templates/user/search.html @@ -46,6 +46,84 @@
搜索图书
+
+
+ + {% if queryval%} + + {% else %} + + {% endif %} + +
+ +
+
+ {% for book in queryresult%} +
+ +
+ 作者: {{book['book_author']}} + 语言: {{book['book_lang']}} + 出版社: {{book['book_publisher']}} +
+
+ + {% endfor %} +
+
+ +