index.wxml 1.1 KB
<scroll-view scroll-y class="content" class="content" refresher-enabled bindrefresherrefresh="activityRefresh" bindscrolltolower="scrollonReachBottom" 	bindscroll="scrollIng"  refresher-triggered="{{activeTrigger}}" style="{{!listData.length ? 'padding-top: 16rpx;' : ''}}{{'height: calc(100% - 112rpx);'}}">
    <block wx:if="{{!noResult}}">
        <view class="content-box">
            <block wx:for="{{listData}}" wx:key="index">
                <block wx:if="{{item.activityStatus!=3}}">
                    <activity-ing tabType="{{entranceType}}" bind:refreshList="toFresh" index="{{index}}" activeList="{{listData}}" item="{{item}}" activeDateIndex="{{activeDateIndex}}"></activity-ing>
                </block>
                <block wx:else>
                    <activity-end tabType="{{entranceType}}" bind:refreshList="toFresh" index="{{index}}" activeList="{{listData}}" item="{{item}}"></activity-end>
                </block>
            </block>
        </view>
    </block>
    <block wx:else>
        <nothing-data description="请前往嘀加企微管家后台创建"></nothing-data>
    </block>
</scroll-view>