UNPKG

@insaic/neon

Version:

A Mobile UI Components built on Vue

25 lines (23 loc) 968 B
### CarLicense - 车牌录入键盘 --- #### 按需引入 ```js import { Carlicense } from '@insaic/neon' Vue.use(Carlicense) ``` #### 例子 [demo源码](https://github.com/insaic/neon/blob/dev/examples/routers/carlicense.vue) ```html <sq-carlicense :province-name.sync="provName" :car-number.sync="carNumber" placeholder="请输入车牌号" /> ``` --- #### Props 参数 | 类型 | 说明 | 默认值 | 可选值 :-------------------- |:--------- |:------------------- |:------ |:----- province-name | `String` | 车牌所在地[省份缩写],支持sync(2.3+) | -- | car-number | `String` | 车牌号[英文和数字],支持sync(2.3+) | -- | has-default-province | `Boolean` | 设置默认省份[京] | false | true placeholder | `String` | 占位内容 | -- |