Skip to content

Commit

Permalink
feat:更新版本
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyunpeng committed Mar 21, 2019
1 parent b6fe0f9 commit b628414
Show file tree
Hide file tree
Showing 4 changed files with 368 additions and 328 deletions.
8 changes: 7 additions & 1 deletion CHANGE_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,10 @@
1.1.3 / 2019-02-22
==================
* 部分手机兼容处理
* 增加自定义完成按钮可点击时的样式
* 增加自定义完成按钮可点击时的样式

1.2.0 / 2019-03-21
==================
* 支持自定义换肤
* 优化部分逻辑与性能
* 支持在网页中正常使用
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,21 @@

| 名称 | 类型 | 默认值 | 描述 |
| -----------------|--------------- | ------------- | ---------------- |
| show | Boolean | - | 是否显示键盘 |
| title | String | - | 自定义 标题 |
| show | Boolean | false | 是否显示键盘 |
| plateNum | String | false | 实时获取输入的车牌号 |
| province | String | 京津沪冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤川青藏琼宁渝 | 省份简称键帽内容 |
| natural | String | 1234567890 | 0-9自然数键帽内容 |
| base-border | String | #cccccc | 自定义输入格子边框颜色 |
| active-border | String | #ff7149 | 自定义正在输入的格子边框颜色 |
| finishedStyle | String | - | 完成按钮可点击时的样式 |
| extra-key | String | 完成 | 右下角按键内容 |
| inputClass | String | kb-input__li flex-center | 输入内容的展示样式的className,以空格分隔 |
| energyClass | String | kb-input__new-energy | 新能源按钮样式的className |
| keycapClass | String | kb-keyboard__td-theme | 键帽样式的className |
| alphClass | String | kb-keyboard__td-theme | 英文字母键帽样式的className |
| delClass | String | kb-keyboard__del | 删除键帽样式的className |
| delClass | String | kb-keyboard__del | 删除键帽样式的className |
| finishedBaseClass | String | kb-keyboard__finished | 完成按钮默认样式的className |
| finishedClass | String | kb-keyboard__finished | 完成按钮可点击时样式的className |


## Event
Expand All @@ -29,6 +38,8 @@

## 基本使用方法

>[可运行基于uni-app和colorui的基础框架查看详细例子https://github.com/omycli/wuc](https://github.com/omycli/wuc)
* 安装

``` bash
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mpvue-keyboard",
"version": "1.1.3",
"version": "1.2.0",
"description": "一个车牌输入键盘组件,支持新能源车牌号输入",
"main": "src/index.vue",
"scripts": {
Expand Down
Loading

0 comments on commit b628414

Please sign in to comment.