waterfall 组件是HBuilderX那个版本支持??
我看了,用了很多Demo 发现都只有一列,
<template>
<waterfall column-count="2" column-width="auto">
<cell v-for='(num,index) in ["A","B","C","D","A","B","C","D","A","B","C","D",8,1,1,1,1]' :key="index">
<text class="test" >{{num}}</text>
</cell>
</waterfall>
</template>
.test{
background-color: #328FFE;
margin: 20rpx;
width: 200rpx;
height: 150rpx;
display: block;
}
1 个回复
小枫叶 - 外包接单加v:wlmk1234567 注明来意
文档上有一个swiper-list的瀑布流示例,可以看一下