From bf8f2c90e602bf72b7320166ed82570d17729838 Mon Sep 17 00:00:00 2001 From: xiaoxiao Date: Fri, 15 Aug 2025 17:16:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E8=87=AA=E9=80=82=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chatkit_ui/src/main/ets/pages/ChatP2PPage.ets | 4 ++++ chatkit_ui/src/main/ets/pages/ChatTeamPage.ets | 3 +++ features/patient/src/main/ets/views/ApplyViews.ets | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/chatkit_ui/src/main/ets/pages/ChatP2PPage.ets b/chatkit_ui/src/main/ets/pages/ChatP2PPage.ets index 91f5d8d..081da9c 100644 --- a/chatkit_ui/src/main/ets/pages/ChatP2PPage.ets +++ b/chatkit_ui/src/main/ets/pages/ChatP2PPage.ets @@ -931,6 +931,10 @@ export struct ChatP2PPage { this.chatViewModel.sendTextMessage(text, this.replyMsg) this.clearInput(true) }, + onChangeInputHeight:(height:number)=> { + this.bottomHeight = height+10 + this.computeScrollHeight() + }, inputStyle: this.inputStyle }).alignRules({ left: { anchor: "chat_input", align: HorizontalAlign.Start }, diff --git a/chatkit_ui/src/main/ets/pages/ChatTeamPage.ets b/chatkit_ui/src/main/ets/pages/ChatTeamPage.ets index 00ea9d3..1422548 100644 --- a/chatkit_ui/src/main/ets/pages/ChatTeamPage.ets +++ b/chatkit_ui/src/main/ets/pages/ChatTeamPage.ets @@ -851,6 +851,9 @@ export struct ChatTeamPage { this.aitManager.cleanAit() this.builderSpans.splice(0, this.builderSpans.length) }, + onChangeInputHeight:(height:number)=>{ + this.bottomHeight = height + }, inputStyle: this.inputStyle, mute: this.chatViewModel.isMuteModel, teamId: this.chatTeamInfo.team?.teamId, diff --git a/features/patient/src/main/ets/views/ApplyViews.ets b/features/patient/src/main/ets/views/ApplyViews.ets index 0cfb7f5..5f3ce9f 100644 --- a/features/patient/src/main/ets/views/ApplyViews.ets +++ b/features/patient/src/main/ets/views/ApplyViews.ets @@ -14,7 +14,7 @@ export struct ApplyViews { Row() { Column(){ Row({space:10}){ - Image(this.isApply?this.applyItme.photo:BasicConstant.urlImage+this.historyItem.patient_photo) + Image(this.isApply?BasicConstant.urlImage+this.applyItme.photo:BasicConstant.urlImage+this.historyItem.patient_photo) .alt($r('app.media.userPhoto_default')) .width(50).height(50).borderRadius(5) Column(){