记录一下uniapp上拉加载更多功能的实现
1、导入load-more插件 链接:https://ext.dcloud.net.cn/plugin?id=29
可以直接导入插件
2、主要代码
<template>
<view class="container">
<view v-for="(item,index) in videoList" :key="index">...</view> //渲染的列表处
<view v-show="isLoadMore"> //loading加载提示处
<uni-load-more :status="loadStatus" ></uni-load-more>
</view>
</view>
</template>
<script>
export default {
data() {
return {
videoList:[],