{% if art_list|length %} {% for msg in art_list %}
<tr>
    <td>{{ msg.title }}</td>
    {% if msg.art_type == '5' %}
        <td>新闻资讯</td>
    {% elif msg.art_type == '6' %}
        <td>视频资讯</td>
    {% elif msg.art_type == '7' %}
        <td>产品展厅</td>
    {% elif msg.art_type == '8' %}
        <td>四季采摘</td>
    {% elif msg.art_type == '9' %}
        <td>民宿导览</td>
    {% elif msg.art_type == '10' %}
        <td>旅游景点</td>
    {% else %}
        <td>{{msg.art_type}}</td>
    {% endif %} 
    <td>{{ msg.upl_time }}</td>
    <td>
        <a href="JavaScript:;" class="delBtn" onclick="delFun('{{msg.id}}')">删除</a>
        |
        <!-- <a href="JavaScript:;" class="lokBtn" onclick="lokFun('{{msg.id}}')">查看</a> -->
    {% if msg.art_type == '5' %}
        <a href="news_view?id={{msg.id}}" target="_blank" class="lokBtn">查看</a>
    {% elif msg.art_type == '6' %}
        <a href="video_detail?id={{msg.id}}" target="_blank" class="lokBtn">查看</a>
    {% elif msg.art_type == '7' %}
        <a href="equip_show_detail?id={{msg.id}}" target="_blank" class="lokBtn">查看</a>
    {% elif msg.art_type == '8' %}
        <a href="garden_intro?id={{msg.id}}" target="_blank" class="lokBtn">查看</a>
    {% elif msg.art_type == '9' %}
        <a href="dorm_detail?id={{msg.id}}" target="_blank" class="lokBtn">查看</a>
    {% elif msg.art_type == '10' %}
        <a href="tourist?id={{msg.id}}" target="_blank" class="lokBtn">查看</a>
    {% else %}
        <td> </td>
    {% endif %} 
    </td>
</tr>
{% endfor %} {% else %}
<tr>
    <td colspan="4" style="text-align:center;">暂无数据</td>
</tr>
{% endif %}
<input type="hidden" value="{{nums}}" id="totalPage">