是顶部tab的问题,你拖动顶部tab上拉就可以加载下一页了,包括下拉刷新也要拖动顶部tab
swiper-item,如何解决onReachBottom只会触发一次的问题swiper,swiper-item开发tab滑动效果。为什么onReachBottom只能执行一次,再往下滑动就执行不了。 贴代码: [代码]<[代码][代码]swiper[代码] [代码]class[代码][代码]=[代码][代码]"swiper-box"[代码] [代码]current[代码][代码]=[代码][代码]"{{currentTab}}"[代码] [代码]duration[代码][代码]=[代码][代码]"300"[代码] [代码]bindchange[代码][代码]=[代码][代码]"swichTab"[代码] [代码]style[代码][代码]=[代码][代码]"height:{{clientHeight?clientHeight+'px':'auto'}}"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]swiper-item[代码] [代码]class[代码][代码]=[代码][代码]"swiper-item"[代码][代码]>[代码][代码] [代码] [代码] [代码][代码]<[代码][代码]block[代码] [代码]wx:for[代码][代码]=[代码][代码]"{{projectList}}"[代码] [代码]wx:key[代码][代码]=[代码][代码]"*this"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]data-pid[代码][代码]=[代码][代码]"{{item.id}}"[代码] [代码]class[代码][代码]=[代码][代码]"project-list"[代码] [代码]bindtap[代码][代码]=[代码][代码]'newsClick'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'project-info'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'name'[代码][代码]>{{item.name}}</[代码][代码]view[代码][代码]>[代码] [代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'info'[代码][代码]>发布单位:{{item.pname}} </[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'info'[代码][代码]>发布时间:{{item.publishtime}} </[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'project-img'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]image[代码] [代码]class[代码][代码]=[代码][代码]'img'[代码] [代码]src[代码][代码]=[代码][代码]'{{item.url}}'[代码] [代码]mode[代码][代码]=[代码][代码]"scaleToFill"[代码] [代码]lazy-load[代码][代码]=[代码][代码]"true"[代码][代码]></[代码][代码]image[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]block[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-loadmore"[代码] [代码]hidden[代码][代码]=[代码][代码]"{{isHideLoadMore}}"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-loading"[代码][代码]></[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-loadmore__tips"[代码][代码]>正在加载</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码] [代码] [代码][代码]</[代码][代码]swiper-item[代码][代码]>[代码][代码]</[代码][代码]swiper[代码][代码]>[代码]
2021-03-15