diff --git a/pages/component/list-view/list-view.uvue b/pages/component/list-view/list-view.uvue index 804e04c9b8f6cd98453f2284ef3f478363d04d85..6595109f3b9fc3dffa04d21a571b18e9192598e7 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; }