input 输入框
基础用法
基础样式
<template>
<lii-input></lii-input>
</template>
禁止状态
不可用
<template>
<lii-input placeholder="请输入内容..." disabled />
</template>
尺寸
三种尺寸
<template>
<lii-input placeholder="请输入内容..." size="big" />
<lii-input placeholder="请输入内容..." size="mid" />
<lii-input placeholder="请输入内容..." size="small" />
</template>
属性
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
| size | 输入框大小 | String | big/mid/small | mid |
| disabled | 单选框按行排列 | 输入框是否禁用 | true/false | false |
| placeholder | 输入框内默认内容 | String | -1~options.length | 请输入… |
事件
| 事件名称 | 说明 | 回调参数 | 示例 |
| input | 输入框内输入内容时触发 | (event: Value) | focus=(e)=>{console.log(e)} |
