@@ -169,12 +169,8 @@
tools.showLoading()
this.startNotices()
setTimeout(() => {
- // uni.showToast({
- // title: '加载完成',
- // icon: 'none'
- // })
this.$refs.scroll.onEndPulling()
- }, 1000)
+ }, 200)
console.log("下拉刷新");
},
// 滚动到底部
@@ -118,18 +118,13 @@ import {
// 下拉刷新
onRefresh() {
- // uni.showLoading({
- // title: '数据加载中'
- // setTimeout(() => {
- // this.$refs.scroll.onEndPulling()
- // }, 1000)
- console.log("下拉刷新");
+ setTimeout(() => {
+
+ this.$refs.scroll.onEndPulling()
+ this.startList()
this.startList()
onScrollBottom() {
@@ -81,18 +81,12 @@
- uni.showLoading({
- title: '数据加载中'
- })
- uni.showToast({
- title: '加载完成',
- icon: 'none'
@@ -147,16 +147,11 @@
@@ -160,6 +160,10 @@