zrin
zrin
  • 发布:2022-01-14 11:33
  • 更新:2022-01-14 22:21
  • 阅读:301

关于waterfall 组件

分类:uni-app

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;  
    }
2022-01-14 11:33 负责人:无 分享
已邀请:
小枫叶

小枫叶 - 外包接单加v:wlmk1234567 注明来意

文档上有一个swiper-list的瀑布流示例,可以看一下

该问题目前已经被锁定, 无法添加新回复