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