From 94c2bacdcc1b190c07f23aa4739022da841205df Mon Sep 17 00:00:00 2001 From: shutao-dc Date: Wed, 30 Aug 2023 19:30:46 +0800 Subject: [PATCH] Update list-view.uvue --- pages/component/list-view/list-view.uvue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pages/component/list-view/list-view.uvue b/pages/component/list-view/list-view.uvue index 804e04c9..6595109f 100644 --- a/pages/component/list-view/list-view.uvue +++ b/pages/component/list-view/list-view.uvue @@ -40,13 +40,13 @@ export default { list_view_scrolltoupper() { console.log("滚动到顶部/左边,会触发 scrolltoupper 事件") }, list_view_scrolltolower() { console.log("滚动到底部/右边,会触发 scrolltolower 事件") }, list_view_scroll() { console.log("滚动时触发,event.detail = {scrollLeft, scrollTop, scrollHeight, scrollWidth, deltaX, deltaY}") }, - list_item_click() { console.log("组件被点击时触发") }, - list_item_touchstart() { console.log("手指触摸动作开始") }, - list_item_touchmove() { console.log("手指触摸后移动") }, - list_item_touchcancel() { console.log("手指触摸动作被打断,如来电提醒,弹窗") }, - list_item_touchend() { console.log("手指触摸动作结束") }, - list_item_tap() { console.log("手指触摸后马上离开") }, - list_item_longpress() { console.log("如果一个组件被绑定了 longpress 事件,那么当用户长按这个组件时,该事件将会被触发。") }, + list_item_click() { console.log("list-item组件被点击时触发") }, + list_item_touchstart() { console.log("手指触摸list-item组件动作开始") }, + list_item_touchmove() { console.log("手指触摸list-item组件后移动") }, + list_item_touchcancel() { console.log("手指触摸list-item组件动作被打断,如来电提醒,弹窗") }, + list_item_touchend() { console.log("手指触摸list-item组件动作结束") }, + list_item_tap() { console.log("手指触摸list-item组件后马上离开") }, + list_item_longpress() { console.log("list-item组件被绑定了 longpress 事件,那么当用户长按这个组件时,该事件将会被触发。") }, change_refresher_triggered_boolean(checked : boolean) { this.refresher_triggered_boolean = checked }, change_refresher_enabled_boolean(checked : boolean) { this.refresher_enabled_boolean = checked }, change_scroll_with_animation_boolean(checked : boolean) { this.scroll_with_animation_boolean = checked }, @@ -101,10 +101,11 @@ export default { .main .list-item { width: 750px; - height: 500rpx; + height: 480rpx; border: 1px solid #666; background-color:#66ccff; align-items: center; + justify-content: center; } -- GitLab