keno-lee / vue-virt-list

【持续更新中】⚡️ 一个支持vue2&vue3的高性能虚拟(滚动)列表组件 👉🏻 轻量5KB 百万数据渲染 满帧率滚动 丰富场景支持 📑 [vue虚拟列表] [vue虚拟滚动列表][vue虚拟树] [vue-virtual-list] [vue-virtual-scroll-list] [vue-virtual-scroller] [vue-virt-tree]
https://keno-lee.github.io/vue-virt-list/
MIT License
294 stars 39 forks source link

gride 布局 怎么用 一行两个item的样式 #36

Closed yhyeye closed 4 months ago

yhyeye commented 4 months ago

gride 布局 怎么用? 一行里面有两个item这种布局,应该怎么使用这个虚拟滚动??

keno-lee commented 4 months ago

@yhyeye 这个可以通过操作list内容结构进行设置。比如:const list = [{ 'item1', "item2" }, { 'item3', 'item4' }];

keno-lee commented 4 months ago

@yhyeye 已在开发一个开箱即用的grid组件,可以持续关注下~。开发完毕知会你,感谢建议。

keno-lee commented 4 months ago

@yhyeye 现已发布,code:https://github.com/keno-lee/vue-virt-list/pull/38 ; doc:https://keno-lee.github.io/vue-virt-list/examples/grid/