{% if art|length %} {% for msg in art %}
<tr>
    <td>{{ msg.title }}</td>
    <td>{{ msg.intro }}</td>
    <!-- <td>{{ msg.content|safe }}</td> -->
    <td>{{ msg.writer }}</td>
    <td>{{ msg.upl_time }}</td>
    <td>
        {% if msg.hidden == 0%}
        <a href="JavaScript:;" class="editBtn" onclick="editFun('{{msg.id}}')">编辑</a>
        |
        <a href="JavaScript:;" class="passBtn"  onclick="passFun('{{msg.id}}')">通过</a>
        |
        {% endif %} 
        <a href="JavaScript:;" class="delBtn" onclick="delFun('{{msg.id}}')">删除</a>
        |
        <a href="JavaScript:;" class="lokBtn" onclick="lokFun('{{msg.id}}')">查看</a>
    </td>
</tr>
{% endfor %} {% else %}
<tr>
    <td colspan="5" style="text-align:center;">暂无数据</td>
</tr>
{% endif %}
<input type="hidden" value="{{nums}}" id="totalPage">