提交 94c2bacd 编写于 作者: shutao-dc's avatar shutao-dc

Update list-view.uvue

上级 0f0c955c
...@@ -40,13 +40,13 @@ export default { ...@@ -40,13 +40,13 @@ export default {
list_view_scrolltoupper() { console.log("滚动到顶部/左边,会触发 scrolltoupper 事件") }, list_view_scrolltoupper() { console.log("滚动到顶部/左边,会触发 scrolltoupper 事件") },
list_view_scrolltolower() { console.log("滚动到底部/右边,会触发 scrolltolower 事件") }, list_view_scrolltolower() { console.log("滚动到底部/右边,会触发 scrolltolower 事件") },
list_view_scroll() { console.log("滚动时触发,event.detail = {scrollLeft, scrollTop, scrollHeight, scrollWidth, deltaX, deltaY}") }, list_view_scroll() { console.log("滚动时触发,event.detail = {scrollLeft, scrollTop, scrollHeight, scrollWidth, deltaX, deltaY}") },
list_item_click() { console.log("组件被点击时触发") }, list_item_click() { console.log("list-item组件被点击时触发") },
list_item_touchstart() { console.log("手指触摸动作开始") }, list_item_touchstart() { console.log("手指触摸list-item组件动作开始") },
list_item_touchmove() { console.log("手指触摸后移动") }, list_item_touchmove() { console.log("手指触摸list-item组件后移动") },
list_item_touchcancel() { console.log("手指触摸动作被打断,如来电提醒,弹窗") }, list_item_touchcancel() { console.log("手指触摸list-item组件动作被打断,如来电提醒,弹窗") },
list_item_touchend() { console.log("手指触摸动作结束") }, list_item_touchend() { console.log("手指触摸list-item组件动作结束") },
list_item_tap() { console.log("手指触摸后马上离开") }, list_item_tap() { console.log("手指触摸list-item组件后马上离开") },
list_item_longpress() { console.log("如果一个组件被绑定了 longpress 事件,那么当用户长按这个组件时,该事件将会被触发。") }, list_item_longpress() { console.log("list-item组件被绑定了 longpress 事件,那么当用户长按这个组件时,该事件将会被触发。") },
change_refresher_triggered_boolean(checked : boolean) { this.refresher_triggered_boolean = checked }, change_refresher_triggered_boolean(checked : boolean) { this.refresher_triggered_boolean = checked },
change_refresher_enabled_boolean(checked : boolean) { this.refresher_enabled_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 }, change_scroll_with_animation_boolean(checked : boolean) { this.scroll_with_animation_boolean = checked },
...@@ -101,10 +101,11 @@ export default { ...@@ -101,10 +101,11 @@ export default {
.main .list-item { .main .list-item {
width: 750px; width: 750px;
height: 500rpx; height: 480rpx;
border: 1px solid #666; border: 1px solid #666;
background-color:#66ccff; background-color:#66ccff;
align-items: center; align-items: center;
justify-content: center;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册