From 7bb78cc417eb12b09eea05135af0644fa545bf47 Mon Sep 17 00:00:00 2001 From: shutao-dc Date: Thu, 14 Sep 2023 17:43:43 +0800 Subject: [PATCH] Update list-view.uvue --- pages/component/list-view/list-view.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/component/list-view/list-view.uvue b/pages/component/list-view/list-view.uvue index 5777db59..703f84e8 100644 --- a/pages/component/list-view/list-view.uvue +++ b/pages/component/list-view/list-view.uvue @@ -42,8 +42,8 @@ }, list_view_refresherrestore() { console.log("自定义下拉刷新被复位") }, list_view_refresherabort() { console.log("自定义下拉刷新被中止") }, - list_view_scrolltoupper() { console.log("滚动到顶部/左边,会触发 scrolltoupper 事件") }, - list_view_scrolltolower() { console.log("滚动到底部/右边,会触发 scrolltolower 事件") }, + list_view_scrolltoupper(e:ScrollToUpperEvent) { console.log("滚动到顶部/左边,会触发 scrolltoupper 事件 direction="+e.detail.direction) }, + list_view_scrolltolower(e:ScrollToLowerEvent) { console.log("滚动到底部/右边,会触发 scrolltolower 事件 direction="+e.detail.direction) }, list_view_scroll() { console.log("滚动时触发,event.detail = {scrollLeft, scrollTop, scrollHeight, scrollWidth, deltaX, deltaY}") }, list_item_click() { console.log("list-item组件被点击时触发") }, list_item_touchstart() { console.log("手指触摸list-item组件动作开始") }, -- GitLab