{% if art|length %} {% for msg in art %}
<tr>
    <td>{{ msg.name }}</td>
    <td>{{ msg.price }}</td>
    <td>{{ msg.intro }}</td>
    <td>{{ msg.addr }}</td>
    <!-- <td>{{ msg.location }}</td> -->
    <!-- <td>{{ msg.person }}</td> -->
    <!-- <td>{{ msg.hotel_img }}</td> -->
    <td>{{ msg.hotel_tel }}</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>
        <!-- <button type="button" class="layui-btn layui-btn-sm layui-btn-normal">编辑</button>
        <button type="button" class="layui-btn layui-btn-sm ">通过</button>
        <button type="button" class="layui-btn layui-btn-sm ">{{msg.id}}</button> -->
    </td>
</tr>
{% endfor %} {% else %}
<tr>
    <td colspan="6" style="text-align:center;">暂无数据</td>
</tr>
{% endif %}
<input type="hidden" value="{{nums}}" id="totalPage">