# vue-grid-waterfall **Repository Path**: fcli/vue-grid-waterfall ## Basic Information - **Project Name**: vue-grid-waterfall - **Description**: vue3 瀑布流组件 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 1 - **Created**: 2023-09-20 - **Last Updated**: 2025-05-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-grid-waterfall ## VUE3 瀑布流组件,基于Grid布局 ```bash npm install @fcli/vue-grid-waterfall --save-dev 来安装 在项目中使用 import VueGridWaterfall from '@fcli/vue-grid-waterfall'; const app=createApp(App) app.use(VueGridWaterfall); ``` 示例: ```html ``` | 属性 | 属性名称 | 类型 | 可选值 | | ------ | -------- | ------ | ------ | | dataList | 瀑布流列表数据 | Array | [] | | columns | 展示的列数 | number | 2 | | width | 瀑布流宽度 | number | 0 | | height | 瀑布流高度 | number | 0 | | bottom | 滚动到底部触发加载数据的距离 | number | 50 | | loading | 是否加在载数据 | boolean | 加载数据完数据设为false | | #slot-scope | 插槽 | object | slotProps.data| #### slot 例: ``` ```