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(){