<!--components/List/index.wxml-->
<scroll-view class="list {{list.length>0?'':'min-height'}}" scroll-y="{{scrolling}}" bindscrolltolower="loadMore" lower-threshold="80">
    <slot></slot>
    <view class="empty" wx:if="{{!loading && list.length==0}}">
        <image class="image" src="/assets/img/empty.png" mode="aspectFit" lazy-load="false">
        </image>
        <view class="empty-text" wx:if="{{emptyText}}">
            {{emptyText}}
        </view>
    </view>
</scroll-view>