Commit e1a6151a by hank

fix listVIew

parent e0c1887b
...@@ -85,6 +85,8 @@ class ListView extends Component { ...@@ -85,6 +85,8 @@ class ListView extends Component {
return ( return (
<TaroListView <TaroListView
isEmpty={dataListLength === 0} isEmpty={dataListLength === 0}
lazy
distanceToRefresh={30}
hasMore={dataListLength < count} hasMore={dataListLength < count}
style={{ height: `${height}px` }} style={{ height: `${height}px` }}
onScrollToLower={done => pullingUp(done)} onScrollToLower={done => pullingUp(done)}
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
.group-item { .group-item {
position: relative; position: relative;
padding: 24px 24px; padding: 30px 24px;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
color: #333; color: #333;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment