# list

列表视图容器,仅支持<list-item>子组件,支持通用属性,支持通用样式

# 属性

名称 类型 默认值 必填 描述
scrollbar <boolean> false 是否启用滚动条

# 事件

名称 参数 描述
scrollbottom - 列表滑动到底部
scrolltop - 列表滑动到顶部

# 方法

名称 参数 描述
scrollTo Object list 滚动到指定 item 位置

# scrollTo 的参数说明:

名称 类型 是否必选 默认值 备注
index number 0 list 滚动的目标 item 位置
behavior smooth | instant | auto auto 是否平滑滑动,支持参数 smooth (平滑滚动),instant (瞬间滚动),默认值 auto,效果等同于 instant
list列表视图容器
list组件主要用于长列表或者屏幕滚动等效果时用来做页面布局。
列表加载更多
```html ```
复制代码
图标 图标
图标 图标
图标
设计尺寸:750X750
基本用法
```html ```
复制代码
图标 图标
图标 图标
图标
设计尺寸:750X750