详细问题描述
<template>
<waterfall class="tab-content" columnCount="2" column-width="auto" column-gap="10" :show-scrollbar="false" left-gap="10"
right-gap="10" ref="waterfall">
<refresh class="refresh" :display="refreshType == 1?'show':'hide'" @refresh="refresh">
<image class="refresh-img" src="../../../static/img/loading.gif"></image>
</refresh>
<header class="filter">
<filter ref="filter" :filters="filters" @sortChanged="filterChanged" :showShape="false" :shapeValue="1"></filter>
</header>
<cell v-for="(item, i) in goodsList" :key="i">
<view class="goods-item" @click="open('/pages/tbk/goods-info/goods-info', 0, item)">
</view>
</cell>
<loading class="loading" @loading="loadMore" :display="loadingType == 1? 'show' : 'hide'">
<loading-indicator class="loading-indicator"></loading-indicator>
<text class="loading-text">加载中</text>
</loading>
</waterfall>
</template>
拉到底了,loadMore事件也不执行
[HBuilder 或 HBuilderX。如果你用其他工具开发uni-app,也需要在此说明]
最新的
[Android版本号]
所有版本
联系方式
[QQ]
462176280
[已删除] (作者)
好的
2020-04-09 15:50
6***@qq.com
waterfall class="waterfall" column-count="2" @loadmore="loadMore">
如果上拉下载几页数据之后,清空列表重新上拉加载,此时leadmore不触发
2020-12-25 15:42