# uni-load-more ## Instructions 组件名:uni-load-more 代码块: uLoadMore 点击下载&安装 ### Syntax - 使用 ``(或 ``,当需要包裹子节点时)。 - 遇到平台差异时,建议使用条件编译(`#ifdef / #endif`)显式处理。 #### Properties | 属性名 | 类型 | 可选值 | 默认值 | 说明 | | --- | --- | --- | --- | --- | | iconSize | Number | - | 24 | 指定图标大小 | | status | String | more/loading/noMore | more | loading 的状态 | | showIcon | Boolean | - | true | 是否显示 loading 图标 | | showText | Boolean | - | true | **[1.3.3新增]**是否显示文本 | | iconType | String | snow/circle/auto | auto | 指定图标样式 | | color | String | - | #777777 | 图标和文字颜色 | | contentText | Object | - | {contentdown: "上拉显示更多",contentrefresh: "正在加载...",contentnomore: "没有更多数据了"} | 各状态文字说明 | #### Events | 事件名 | 说明 | 返回值 | | --- | --- | --- | | clickLoadMore | 点击加载更多时触发 | e.detail={status:'loading'} | #### Platform Compatibility See official docs for platform support table: `https://uniapp.dcloud.net.cn/component/uniui/uni-load-more.html` ### Examples ### Example (Example 1) ```vue ``` ### Example (Example 2) ```html ``` ### Example (Example 3) ```vue ``` ### Example (Example 4) ```html ``` ### Example (Example 5) ```html ``` ### Example (Example 6) ```html ``` Reference: - [Official Documentation](https://uniapp.dcloud.net.cn/component/uniui/uni-load-more.html) - [Plugin Marketplace](https://ext.dcloud.net.cn/plugin?name=load-more) - [Local Example](examples/uni-ui/uni-load-more.vue)