自定义 icon tabbar
Props
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| defaultValue | 默认 tabkey | string | — | '' |
| type | 选项卡组的类型 | string | 'tabs';'pills';'options';'wrapped';'slider' | 'pills' |
| tabPosition | 选项卡所在的位置 | string | 'top' ;'right' ;'bottom' ;'left' | '' |
| hiddenDashedLine | 隐藏高亮的下划线 | boolean | — | - |
| list | tabbar 数据 | array | — | [] |
Emits
| 方法 | 类型 | 说明 | 返回值 |
|---|---|---|---|
| active-tab-change | function(string/number) | 选项卡切换的回调函数,返回当前激活选项卡的 id | - |