ccjgmwz 3 år sedan
förälder
incheckning
20a66929c8

+ 7 - 0
pageB/contract/collectLook.vue

@@ -115,6 +115,13 @@
 		onShow() {
 			this.loaddata()
 		},
+		//下拉刷新
+		onPullDownRefresh() {
+			this.loaddata()
+			setTimeout(function () {
+				uni.stopPullDownRefresh();
+			}, 1000);
+		},
 		onLoad(option) {
 			this.goods.goodsName = option.goodsName
 			this.goods.customer = option.contracter

+ 3 - 1
pageB/contract/contract.vue

@@ -175,7 +175,9 @@
 		},
 		onPullDownRefresh() {
 			this.getList()
-			uni.stopPullDownRefresh()
+			setTimeout(function () {
+				uni.stopPullDownRefresh();
+			}, 1000);
 		},
 		methods: {
 			amendprice() {

+ 7 - 0
pageB/contract/look.vue

@@ -137,6 +137,13 @@
 		onShow() {
 			this.loaddata()
 		},
+		//下拉刷新
+		onPullDownRefresh() {
+			this.loaddata()
+			setTimeout(function () {
+				uni.stopPullDownRefresh();
+			}, 1000);
+		},
 		onLoad(option) {
 			this.goods.goodsName = option.goodsName
 			this.goods.contracter = option.contracter

+ 3 - 0
pageB/news/news.vue

@@ -63,6 +63,9 @@
 			this.isLoadMore = false
 			this.loadStatus = 'loading'
 			this.loadData()
+			setTimeout(function () {
+				uni.stopPullDownRefresh();
+			}, 1000);
 		},
 		onReachBottom(){  //上拉触底函数
 		  if(!this.isLoadMore){  //此处判断,上锁,防止重复请求

+ 3 - 3
pages.json

@@ -351,7 +351,7 @@
 			"path": "pages/business/business",
 			"style": {
 				"navigationBarTitleText": "交易",
-				"enablePullDownRefresh": false
+				"enablePullDownRefresh": true
 			}
 
 		}, {
@@ -797,7 +797,7 @@
 					"path": "news/news_detail",
 					"style": {
 						"navigationBarTitleText": "新闻",
-						"enablePullDownRefresh": true
+						"enablePullDownRefresh": false
 					}
 				},
 				{
@@ -1064,7 +1064,7 @@
 			"pages": [{
 					"path": "search/search",
 					"style": {
-						"enablePullDownRefresh": true,
+						"enablePullDownRefresh": false,
 						"navigationBarTitleText": "",
 						"navigationStyle": "custom",
 						"app-plus": {

+ 3 - 1
pages/attestation/indexThree.vue

@@ -115,7 +115,9 @@
 		},
 		onPullDownRefresh() {
 			this.getList()
-			uni.stopPullDownRefresh()
+			setTimeout(function () {
+				uni.stopPullDownRefresh();
+			}, 1000);
 		},
 		methods: {
 			resend() {

+ 3 - 1
pages/attestation/indexTwo.vue

@@ -116,7 +116,9 @@
 		},
 		onPullDownRefresh() {
 			this.getList()
-			uni.stopPullDownRefresh()
+			setTimeout(function () {
+				uni.stopPullDownRefresh();
+			}, 1000);
 		},
 		methods: {
 			resend() {

+ 3 - 0
pages/business/business.vue

@@ -175,6 +175,9 @@
 			this.isLoadMore = false
 			this.loadStatus = 'loading'
 			this.loadData()
+			setTimeout(function () {
+				uni.stopPullDownRefresh();
+			}, 1000);
 		},
 		onReachBottom() { //上拉触底函数
 			if (!this.isLoadMore) { //此处判断,上锁,防止重复请求

+ 3 - 0
pages/sale/information.vue

@@ -249,6 +249,9 @@
 			this.isLoadMore = false
 			this.loadStatus = 'loading'
 			this.loadData()
+			setTimeout(function () {
+				uni.stopPullDownRefresh();
+			}, 1000);
 		},
 		computed: {
 			...mapState(['hasLogin', 'userInfo'])

+ 3 - 0
pages/sale/newsinfo.vue

@@ -120,6 +120,9 @@
 				this.isLoadMore = false
 				this.loadStatus = 'loading'
 				this.loadData()
+				setTimeout(function () {
+					uni.stopPullDownRefresh();
+				}, 1000);
 			},
 			computed: {
 				...mapState(['hasLogin', 'userInfo'])

+ 3 - 0
pages/sale/plant.vue

@@ -133,6 +133,9 @@
 				this.isLoadMore = false
 				this.loadStatus = 'loading'
 				this.loadData()
+				setTimeout(function () {
+					uni.stopPullDownRefresh();
+				}, 1000);
 			},
 			computed: {
 				...mapState(['hasLogin', 'userInfo'])

+ 3 - 0
pages/sale/portprice.vue

@@ -137,6 +137,9 @@
 				this.isLoadMore = false
 				this.loadStatus = 'loading'
 				this.loadData()
+				setTimeout(function () {
+					uni.stopPullDownRefresh();
+				}, 1000);
 			},
 			computed: {
 				...mapState(['hasLogin', 'userInfo'])