做瀑布流,在scroller-view里的容器这两个属性支持有问题-webkit-column-count: 2;,counter-reset: item-counter;
在开发工具里没有任何问题,iphone6真机测试显示有问题,好像被什么遮罩了,像个蒙版
.box{
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 0;
-moz-column-gap: 0;
column-gap: 0;
counter-reset: item-counter;
}
.item {
box-sizing: border-box;
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
padding: 10px;
counter-increment: item-counter;
}