From 5caa8ff0d8accdb15c3101a4bb57bc1d8649a8b3 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Thu, 26 Dec 2024 18:50:51 +0800 Subject: [PATCH] =?UTF-8?q?1.diy=E6=BB=9A=E5=8A=A8=E7=9B=91=E5=90=AC?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/diy.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 47ed8a6d..e8ad61ad 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -567,8 +567,10 @@ // 页面滚动事件 on_scroll_event(e) { + console.log(1); const scroll_num = e.detail.scrollTop; - if (scroll_num <= 10) { + console.log(scroll_num); + if (scroll_num <= 20) { this.head_scroll_top = 0; } else { if (scroll_num / (this.sticky_top + 33) <= 1) {