From 352d337c355f60909d9dd24bd613c12ea92f8015 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 14 九月 2023 17:47:50 +0800
Subject: [PATCH] 组织bug

---
 minipro_standard/pages/index/index.vue |   32 +++++++++++++++++++++++++-------
 1 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/minipro_standard/pages/index/index.vue b/minipro_standard/pages/index/index.vue
index 53d34c1..f8df598 100644
--- a/minipro_standard/pages/index/index.vue
+++ b/minipro_standard/pages/index/index.vue
@@ -4,7 +4,7 @@
 		<!-- {{$store.state.statusbarHeight}} -->
 		
 		<u-sticky>
-			<view class="plr30 pb30 nav-style">
+			<view class="plr30 pb30 nav-style bg_w">
 				<view
 					:style="{background: '#fff', zIndex: '999', paddingTop: `${statusbarHeight}px`, height: `${navHeight}px`, lineHeight:`${navHeight}px`, textAlign: 'center'}">
 					寰呭姙</view>
@@ -16,8 +16,9 @@
 					<LabelSelection :TagList="tagList" :isShow="true" @change="clickTag"></LabelSelection>
 				</div>
 			</view>
-		</u-sticky>
-		<scroll-view v-if="projectList.length" scroll-y refresher-enabled="true" :refresher-triggered="triggered" @scrolltolower="loadMore"
+		</u-sticky>
+		
+		<scroll-view :style="{height: height}" v-if="projectList.length" scroll-y refresher-enabled="true" :refresher-triggered="triggered" @scrolltolower="loadMore"
 			@refresherrefresh="refresh"
 		>
 			<view v-for="(item, index) in projectList" :key="index">
@@ -79,7 +80,9 @@
 			LabelSelection
 		},
 		data() {
-			return {
+			return {
+				height: '',
+				top: '',
 				code: '',
 				windowHeight: '',
 				show: false,
@@ -154,6 +157,21 @@
 			await this.$store.dispatch('getUpcomingNum')
 			this.tagList[0].num = this.$store.state.upcomingNum.d
 			this.tagList[1].num = this.$store.state.upcomingNum.y
+		},
+		onReady() {
+			var that = this
+			
+			this.$nextTick(() => {
+				uni.createSelectorQuery()
+					.in(this)
+					.select('.content_search')
+					.boundingClientRect((rect) => {
+						console.log('-----',rect);
+						that.height = `calc(100vh - ${rect.height + 80}px)`
+						that.top = `${rect.height}px`
+					})
+					.exec()
+			})
 		},
 		onLoad() {
 			uni.getSystemInfo({
@@ -219,7 +237,7 @@
 					case 0: case 2: case 5: {
 						if (item.status === 0) {
 							uni.navigateTo({
-								url: `/pages/OutOperation/OutOperation?id=${item.objId}&dbid=${item.id}&type=7`
+								url: `/pages_inspect/pages/OutOperation/OutOperation?id=${item.objId}&dbid=${item.id}&type=7`
 							})
 						} else {
 							uni.navigateTo({
@@ -244,7 +262,7 @@
 					case 1: case 6: {
 						if (item.status === 0) {
 							uni.navigateTo({
-								url: `/pages/InOperation/InOperation?id=${item.objId}&dbid=${item.id}&type=7`
+								url: `/pages_inspect/pages/InOperation/InOperation?id=${item.objId}&dbid=${item.id}&type=7`
 							})
 						} else {
 							uni.navigateTo({
@@ -256,7 +274,7 @@
 					case 9: {
 						if (item.status === 0) {
 							uni.navigateTo({
-								url: `/pages/InOperation/InOperation?id=${item.objId}&dbid=${item.id}&type=9`
+								url: `/pages_inspect/pages/InOperation/InOperation?id=${item.objId}&dbid=${item.id}&type=9`
 							})
 						} else{
 							uni.navigateTo({

--
Gitblit v1.9.3