# uni-steps ## Instructions 组件名:uni-steps 代码块: uSteps 点击下载&安装 ### Syntax - 使用 ``(或 ``,当需要包裹子节点时)。 - 遇到平台差异时,建议使用条件编译(`#ifdef / #endif`)显式处理。 #### Properties | 属性名 | 类型 | 可选值 | 默认值 | 说明 | | --- | --- | --- | --- | --- | | active | Number | - | 0 | 当前步骤 | | direction | String | row/column | row | 排列方向 | | active-color | String | - | #1aad19 | 选中状态的颜色 | | options | Array | - | - | 数据源,格式为:[{title:'xxx',desc:'xxx'},{title:'xxx',desc:'xxx'}] | #### Events See official docs for full events list: `https://uniapp.dcloud.net.cn/component/uniui/uni-steps.html` #### Platform Compatibility See official docs for platform support table: `https://uniapp.dcloud.net.cn/component/uniui/uni-steps.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-steps.html) - [Plugin Marketplace](https://ext.dcloud.net.cn/plugin?name=steps) - [Local Example](examples/uni-ui/uni-steps.vue)