From 5857dfa10b70a061b8e4711dd8f18b585ac6fc23 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 25 二月 2025 17:43:37 +0800
Subject: [PATCH] ll

---
 h5/pages/staff/task/vDangetAppr.vue |   47 +++++++++++++++++++++++++++--------------------
 1 files changed, 27 insertions(+), 20 deletions(-)

diff --git a/h5/pages/staff/task/vDangetAppr.vue b/h5/pages/staff/task/vDangetAppr.vue
index 572fc9c..5a7619c 100644
--- a/h5/pages/staff/task/vDangetAppr.vue
+++ b/h5/pages/staff/task/vDangetAppr.vue
@@ -1,5 +1,5 @@
 <template>
-	<view class="main_app">
+	<view class="main_app" :style="{height: windowHeight  + 'px'}">
 		<view class="status_wrap">
 			<view class="name">{{ info.categoryName }}</view>
 			<view v-if="info.status == '0'" class="status">{{ statusMap[info.status] }}</view>
@@ -113,6 +113,7 @@
 				</view>
 			</view>
 		</view>
+		<view v-if="info.status == 0 && info.checkUserId == userInfo.memberId" style="height: 90rpx;border: 1px solid red;"></view>
 		<view class="emyty"></view>
 		<view class="main_footer" v-if="info.status == 0 && info.checkUserId == userInfo.memberId">
 			<view v-if="info.status == 0 && info.checkUserId == userInfo.memberId" class="btn" @click="handleBack">閫�鍥�</view>
@@ -254,15 +255,16 @@
 		</u-popup>
 		<!-- 杞氦 -->
 		<u-popup :show="isShowTransfer" :round="10" safeAreaInsetBottom mode="bottom" @close="isShowTransfer = false">
-			<view class="appr_modal">
+			<view class="appr_modal tran_modal">
 				<view class="title">閫夋嫨鍛樺伐</view>
 				<view class="search_inp df_ac">
 					<image class="mr12 search" src="@/static/ic_search@2x.png" mode="widthFix"></image>
-					<input v-model="transferModel.queryParam" @confirm="getMemList()" type="text" placeholder="鎼滅储浜哄憳濮撳悕"
+					<input v-model="transferModel.queryParam" @focus="showKeyboard = true" @blur="showKeyboard = false" @confirm="getMemList()" type="text" placeholder="鎼滅储浜哄憳濮撳悕"
 						placeholder-style="color: #999999;" />
 				</view>
+				<view class="mt24 placeholder6">鍏眥{ memberList.length }}鏉℃暟鎹�</view>
 				<view class="member_list">
-					<view class="mt24 placeholder6">鍏眥{ memberList.length }}鏉℃暟鎹�</view>
+					
 					<view v-for="item in memberList" :key="item.id" class="line">
 						<image v-if="item.faceImg" :src="item.faceImg" class="avatar"></image>
 						<span v-else class="img_name">{{ item.realname && item.realname.slice(0, 1) }}</span>
@@ -280,7 +282,7 @@
 					</view>
 					<view class="empty"></view>
 				</view>
-				<view class="Transfer_footer">
+				<view v-if="!showKeyboard" class="Transfer_footer">
 					<view class="btn" @click="isShowTransfer = fales">鍙栨秷</view>
 					<view class="btn active" @click="enterTransfer">纭杞氦</view>
 				</view>
@@ -323,7 +325,8 @@
 			flowList: [],
 
 			id: '',
-			type: '',
+			type: '',
+			windowHeight: '',
 			cateList: [{
 				name: '璁垮鐢宠',
 				id: 0
@@ -374,13 +377,17 @@
 
 			videoPlay: false,
 			videoContext: null,
-			videoUrl: ''
+			videoUrl: '',
+			showKeyboard: false,
 		}
 	},
-	onLoad(op) {
+	onLoad(op) {
+		const result = uni.getWindowInfo()
+		this.windowHeight = result.windowHeight
 		uni.setStorageSync('ywinfo', {})
 		this.id = op.id
-		this.getDetail()
+		this.getDetail()
+		// this.handleTransfer()
 	},
 	methods: {
 		priviewImage(url) {
@@ -432,7 +439,7 @@
 			findListFlowDanger({
 				hiddenDangerId: id
 			}).then(res => {
-				this.flowList = res.data
+				this.flowList = res.data || []
 			})
 		},
 		onSubmit() {
@@ -481,7 +488,7 @@
 					icon: 'none'
 				})
 			transferHiddenDanger({
-				checkUserId: transferParam.id,
+				checkUserId: transferParam.memberId,
 				id
 			}).then(res => {
 				if (res.code === 200) {
@@ -829,7 +836,7 @@
 .main_app {
 	background-color: #fff;
 	padding-bottom: 0;
-
+	position: relative;
 	.flow_title {
 		font-weight: 600;
 		font-size: 32rpx;
@@ -838,14 +845,13 @@
 	}
 
 	.flow_wrap {
-		padding: 30rpx 0 90rpx;
-
+		padding: 30rpx 0 30rpx;
+		background-color: #fff;
 		.list {
 			.item {
 				display: flex;
 				margin-bottom: 48rpx;
 				position: relative;
-
 				.separate {
 					position: absolute;
 					width: 4rpx;
@@ -1073,7 +1079,6 @@
 			display: flex;
 			margin-bottom: 20rpx;
 			flex-wrap: wrap;
-
 			.img_wrap {
 				margin-top: 24rpx;
 				width: 156rpx;
@@ -1156,7 +1161,7 @@
 		width: 100%;
 		z-index: 9999;
 		left: 0;
-		padding: 30rpx 10rpx 60rpx;
+		padding: 10rpx 10rpx 30rpx;
 		display: flex;
 		justify-content: space-between;
 		background: #ffffff;
@@ -1290,7 +1295,9 @@
 			}
 		}
 	}
-
+	.tran_modal{
+		height: 1260rpx;
+	}
 	.emyty {
 		width: 750rpx;
 		height: 20rpx;
@@ -1329,9 +1336,9 @@
 }
 
 .member_list {
-	height: 920rpx;
+	height: 900rpx;
 	overflow: auto;
-
+	// border: 1px solid;
 	.line {
 		display: flex;
 		align-items: center;

--
Gitblit v1.9.3