{% extends base.html %} {% block body_left %} {% init hot_logs = [] %}
搜索历史
搜索设置 {% include common/button/back_button.html %}
{% if len(recent) == 0 %} {% include common/text/empty_text.html %} {% end %} {% if len(hot_logs) > 0 %}

最近常搜

{% for value, count in hot_logs %} {{value}} {{count}} {% end %} {% end %} {% if len(recent) > 0 %}

最近搜索

{% for value in recent %} {{value}} {% end %} {% end %} {% if len(recent) > 0 %} 清空历史记录 {% end %}
{% end %} {% block body_right %} {% include search/component/search_sidebar.html %} {% end %}