# waterfall-layout
微信小程序瀑布流组件
## 用法
**第一步**:下载`waterfall-layout`组件源码到项目目录下;
**第二步**:在json文件中引入`waterfall-layout`组件;
```javascript
{
"navigationBarTitleText": "瀑布流组件",
"usingComponents": {
"waterfall": "../../components/waterfall-layout/waterfall",
"waterfall-item": "../../components/waterfall-layout/waterfall-item"
}
}
```
**第三步**:在`wxml`文件中使用;
```html
<waterfall
custom-class="waterfall-box"
loading="{{updateLoading}}"
isAllLoaded="{{isAllLoaded}}"
>
<waterfall-item
custom-class="product-item-box"
wx:for="{{products}}"
wx:key="index"
>
<view>
业务代码
</view>
</waterfall-item>
</waterfall>
```
没有合适的资源?快使用搜索试试~ 我知道了~
微信小程序瀑布流组件.zip
共31个文件
js:10个
json:8个
wxss:6个
需积分: 1 0 下载量 26 浏览量
2024-01-09
23:01:59
上传
评论
收藏 21KB ZIP 举报
温馨提示
小程序,轻量级设计,无需下载安装,即开即用,释放手机内存压力,轻松应对日常各种需求。无论是购物支付、信息查询,还是休闲娱乐、生活服务,我们都一应俱全,满足您的多元化需求。
资源推荐
资源详情
资源评论
收起资源包目录
微信小程序瀑布流组件.zip (31个子文件)
open_weixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcxxxxxxxxxxxxcxvcvcv
LICENSE 1KB
wx_watefall
sitemap.json 191B
pages
index
index.wxml 512B
index.js 1KB
index.json 27B
index.wxss 268B
waterfall-layout
mock.js 29KB
index.wxml 670B
api.js 672B
index.js 2KB
index.json 214B
index.wxss 478B
logs
logs.json 77B
logs.js 261B
logs.wxml 173B
logs.wxss 106B
app.json 331B
project.config.json 1KB
app.js 1KB
utils
util.js 472B
app.wxss 194B
components
waterfall-layout
waterfall.js 4KB
waterfall-item.js 1KB
waterfall.wxml 560B
waterfall-item.wxml 154B
waterfall.wxss 3KB
waterfall-item.wxss 183B
waterfall-item.json 48B
query-node.js 1KB
waterfall.json 48B
README.md 779B
共 31 条
- 1
资源评论
极致人生-010
- 粉丝: 3397
- 资源: 3074
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功