From 56fe225f117f404564e153313ffc3a55537bf223 Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Tue, 2 Sep 2025 11:00:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/NEUIKit/pages/Chat/message/message-input.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/root/NEUIKit/pages/Chat/message/message-input.vue b/root/NEUIKit/pages/Chat/message/message-input.vue index ba2a42a..c01c756 100644 --- a/root/NEUIKit/pages/Chat/message/message-input.vue +++ b/root/NEUIKit/pages/Chat/message/message-input.vue @@ -407,7 +407,7 @@ const pushUp = ref(false); const keyHeight = ref(350); const msgKeyHeight = ref("100%"); -const ssff = ref(uni.getWindowInfo().safeArea.top); +const ssff = ref("30"); const handleInputFocus = (e) => { emojiVisible.value = false; @@ -800,6 +800,7 @@ const screenHeight = ref(0); screenHeight.value = uni.getSystemInfoSync().windowHeight; const chooseData = ref({}); onMounted(() => { + ssff.value = uni.getWindowInfo().safeArea.top + 14; if (uni.getStorageSync("im_sendParams")) { chooseData.value = JSON.parse(uni.getStorageSync("im_sendParams")).jobDetail; } @@ -926,6 +927,7 @@ onMounted(() => { emojiVisible.value = false; extVisible.value = false; uni.$emit(events.KeyboardEvent, 0); + uni.$emit("msgKeyHeight", '100%'); // 传递实际可用高度 } }); }