bug修改
This commit is contained in:
@@ -847,8 +847,6 @@ export struct ChatP2PPage {
|
||||
|
||||
Column()
|
||||
.height(this.bottomHeight)
|
||||
.backgroundColor(Color.Transparent)
|
||||
.backgroundColor($r('app.color.chat_input_background'))
|
||||
.id("chat_input")
|
||||
.alignRules({
|
||||
left: { anchor: "__container__", align: HorizontalAlign.Start },
|
||||
@@ -942,6 +940,7 @@ export struct ChatP2PPage {
|
||||
})
|
||||
|
||||
.backgroundColor($r('app.color.chat_input_background'))
|
||||
|
||||
} else if (this.showMultiSelect) {
|
||||
ChatMultiSelectView({
|
||||
isEnable: this.multiSelectCount > 0,
|
||||
@@ -1242,7 +1241,7 @@ export struct ChatP2PPage {
|
||||
this.controller.deleteSpans()
|
||||
}
|
||||
this.replyMsg = undefined
|
||||
this.bottomHeight = 105
|
||||
// this.bottomHeight = 105
|
||||
this.computeScrollHeight()
|
||||
}
|
||||
|
||||
|
||||
@@ -405,8 +405,8 @@ export struct imageBuilder {
|
||||
Column() {
|
||||
Image(this.thumbUrl ?? this.url)
|
||||
.objectFit(ImageFit.Cover)
|
||||
.width(getImageWidth(this.message))
|
||||
.height(getImageHeight(this.message))
|
||||
.width(getImageWidth(this.message)*0.7)
|
||||
.height(getImageHeight(this.message)*0.7)
|
||||
.borderRadius(8)
|
||||
.gesture(LongPressGesture().onAction((event: GestureEvent) => {
|
||||
this.onMessageClick?.onItemLongClick?.(event, this.message)
|
||||
@@ -446,7 +446,7 @@ export struct videoBuilder {
|
||||
build() {
|
||||
Stack() {
|
||||
Image(this.videoMessageThumbnail ?? getVideoMessageUrl(this.message)).objectFit(ImageFit.Auto)
|
||||
.width(getImageWidth(this.message)).height(getImageHeight(this.message))
|
||||
.width(getImageWidth(this.message)*0.7).height(getImageHeight(this.message)*0.7)
|
||||
.borderRadius(8)
|
||||
Image($r('app.media.ic_chat_message_video')).objectFit(ImageFit.Auto)
|
||||
.width(60).height(60)
|
||||
|
||||
Reference in New Issue
Block a user