{% load staticfiles %}
{% if expert|length %} 
    {% for msg in expert %}
    <div class="expertGatherItem">
        <img src="{% static '/imgs/cornerIcon.png' %}" alt="">
        <div class="expertInner">
            <div class="expertImg">
                <img src="http://112.49.38.63:8011/{{msg.pic}}" alt="">
            </div>
            <div class="expertTxt">
                <h1>{{msg.name}}</h1>
                <p>简介：</p>
                <div class="desc">
                    {{msg.desc}}</div>
                <div class="ctrlBtn">
                    <a href="tencent://message/?uin={{msg.relation}}&Site=sc.chinaz.com&Menu=yes">视频电话</a>
                    {% if role ==  '1' %} 
                    <a href="JavaScript:;" style="background-color: red;" onclick="del('{{msg.id}}')">删除</a>
                    {% endif %}
                </div>
            </div>
        </div>
    </div>
    {% endfor %}
{% else %}
    <div style="text-align:center;line-height: 200px;flex: 1;">暂无数据</div>
{% endif %}
<input type="hidden" value="{{nums}}" id="totalPage">
