From 7623faebd2912a406bcbb80f56020b9509d7f3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 5 Jan 2026 17:59:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9app-nvue=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E6=AC=A1=E8=BF=9B=E5=85=A5=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../live/pull/components/live-content/live-content.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/plugins/live/pull/components/live-content/live-content.vue b/pages/plugins/live/pull/components/live-content/live-content.vue index 588bc537..4dbf3047 100644 --- a/pages/plugins/live/pull/components/live-content/live-content.vue +++ b/pages/plugins/live/pull/components/live-content/live-content.vue @@ -451,6 +451,12 @@ */ scroll_event(e) { this.is_scroll_to_lower = false; + //#ifdef APP-NVUE + if (this.is_first_scroll) { + this.is_first_scroll = false; + this.scroll_to_lower_event(e); + } + //#endif //#ifndef APP-NVUE // 第一次滚动的时候不会触发滚动到底部事件,需要手动触发一下 if (e.detail.scrollTop > 0 && this.is_first_scroll) { @@ -464,7 +470,6 @@ * @param {Event} e - 滚动事件对象 */ scroll_to_lower_event(e) { - console.log(e, '滚动到底部事件'); // 滑动到底部的时候,清除历史存储的消息数据 this.message_num = 0; this.is_scroll_to_lower = true;