diff --git a/pkg_common/views/message.vue b/pkg_common/views/message.vue index b092519..366bf97 100644 --- a/pkg_common/views/message.vue +++ b/pkg_common/views/message.vue @@ -71,10 +71,11 @@ - + { + if (res.height) { + this.onKeyboardShow(res.height) + } else { + this.onKeyboardHide() + } + }) + }, onShow() { this.fetchList() }, methods: { + + onKeyboardShow(height) { + this.inputBoxBottom = height + }, + onKeyboardHide() { + // 处理键盘收起逻辑 + this.inputBoxBottom = 0 + }, toInfo(comment) { if(!comment.contentAvailable) { // 该内容已删除