<!--components/aid/index.wxml-->
<Banner park="{{park.id}}" type="{{bannerType}}" />
<div class="title">行业精英</div>
<view wx:if="{{list.length}}">
    <view wx:for="{{list}}" wx:key="id" >
        <view class="userInfoItem" bind:tap="jumpToDetail" data-id="{{item.id}}">
            <view class="content">
                <van-image
                    width="200rpx"
                    height="200rpx"
                    lazy-load
                    src="{{item.avatar}}"
                />
                <view class="userInfo">
                    <view style="display: flex;font-size: 30rpx;">
                        <view class="userName"> {{ item.name }} </view>
                        <view class="userLevel"> {{ item.level }} </view>
                    </view>
                    <view class="synopsis"> {{item.synopsis}}{{item.synopsis}} {{item.synopsis}}  </view>
                    <view class="connect" >
                        <view style="display: flex; align-items: center;" catch:tap="consult" data-id="{{item.id}}">
                            <van-icon name="service-o" color="#1989fa" />
                            <view style="margin-left: 10rpx;color: #1989fa;"> 在线咨询 </view>
                        </view>
                    </view>
                </view>
            </view>
        </view>
    </view>
    <pagination 
        currentIndex="{{page}}" 
        totalPage="{{totalPage}}" 
        bind:pagingChange="onChangePage"  
    />
</view>
<empty wx:else bind:refresh="onRefresh" />