From a89fe32c353040bbb95d7519cf7bafc4b5934f10 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期三, 06 九月 2023 09:54:14 +0800
Subject: [PATCH] 小程序

---
 minipro_standard/pages/index/index.vue |   40 ++++++++++++++++------------------------
 1 files changed, 16 insertions(+), 24 deletions(-)

diff --git a/minipro_standard/pages/index/index.vue b/minipro_standard/pages/index/index.vue
index 2c7dd0c..97d5592 100644
--- a/minipro_standard/pages/index/index.vue
+++ b/minipro_standard/pages/index/index.vue
@@ -21,10 +21,9 @@
 				</view>
 			</view>
 		</u-sticky>
-		<scroll-view v-if="projectList.length" :style="windowHeight - (statusbarHeight + navHeight + 120) + 'px'"
-			scroll-y="true" refresher-enabled="true" :refresher-triggered="triggered" :refresher-threshold="100"
-			refresher-background="lightgreen" @refresherpulling="scrolltolower" @refresherrefresh="scrolltoupper"
-			@refresherrestore="onRestore" @refresherabort="onAbort">
+		<scroll-view v-if="projectList.length" scroll-y="true" refresher-enabled="true" :refresher-triggered="triggered"
+			:refresher-threshold="100" @refresherpulling="scrolltolower" @refresherrefresh="scrolltoupper"
+		>
 			<view v-for="(item, index) in projectList" :key="index">
 				<view class="box_list">
 					<view class="box_list_item" @click="jump(item)">
@@ -182,13 +181,6 @@
 
 					})
 			},
-			onRestore() {
-				this.triggered = 'restore'; // 闇�瑕侀噸缃�
-				console.log("onRestore");
-			},
-			onAbort() {
-				console.log("onAbort");
-			},
 			scrolltolower() {
 				this.page.page = 1
 				this.loadData()
@@ -203,15 +195,15 @@
 				this.scrolltolower()
 			},
 			jump(item) {
-				if ((item.type === 0 || item.type === 2 || item.type === 5) && item.status === 0) { // 璺宠浆鍑哄簱(杞簱鍗�)
-				  uni.navigateTo({
-				  	url: 'pages/OutOperation/OutOperation',
+				if ((item.type === 0 || item.type === 2 || item.type === 5) && item.status === 0) { // 璺宠浆鍑哄簱(杞簱鍗�)
+					uni.navigateTo({
+						url: 'pages/OutOperation/OutOperation',
 						query: {
 							id: item.objId,
 							dbid: item.id,
 							type: 7
-						}
-				  })
+						}
+					})
 					// router.push({
 					// 	name: 'issueOperation',
 					// 	query: {
@@ -243,14 +235,14 @@
 						// 	}
 						// })
 						return
-					}
-					uni.navigateTo({
-						url: '/pages/InOperation/InOperation',
-						query: {
-							id: item.objId,
-							dbid: item.id,
-							type: 7
-						}
+					}
+					uni.navigateTo({
+						url: '/pages/InOperation/InOperation',
+						query: {
+							id: item.objId,
+							dbid: item.id,
+							type: 7
+						}
 					})
 					// router.push({
 					// 	name: 'warehousing',

--
Gitblit v1.9.3