Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit 7b06c3a

Browse files
committed
feat(LicensePlate): 增加键盘插槽
1 parent 921727e commit 7b06c3a

5 files changed

Lines changed: 19 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ toc: hidden
88
`2024-06-11`
99

1010
- Feature
11-
- `Icon`
12-
- `size` 属性增加 `xxs`
13-
- `Toast`
14-
- 内容由展示1行改为最多展示2行
15-
- `InputItem`
16-
- `is-virtual-keyboard` 属性为 `true` 时,支持粘贴内容到输入框
17-
- `Amount`
18-
- 新增 `mask` 属性,为 `true` 时将对数值进行掩码展示
11+
- `Icon`
12+
- `size` 属性增加 `xxs`
13+
- `Toast`
14+
- 内容由展示1行改为最多展示2行
15+
- `InputItem`
16+
- `is-virtual-keyboard` 属性为 `true` 时,支持粘贴内容到输入框
17+
- `Amount`
18+
- 新增 `mask` 属性,为 `true` 时将对数值进行掩码展示
19+
- `LicensePlate`
20+
- 新增插槽能力
21+
- Fix
22+
- `LicensePlate`
23+
- 修复弹窗点击穿透问题
1924
### 2.7.0
2025

2126
`2024-03-12`

components/license-plate/README.en-US.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ hide Pop
3737
##### @confirm()
3838
confirm
3939

40+
### LicensePlate Slots
4041
#### content
41-
slot of content
42+
The content above the keyboard

components/license-plate/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ Vue.component(LicensePlate.name, LicensePlate)
3737
##### @confirm()
3838
键盘确认事件
3939

40+
### LicensePlate Slots
4041
#### content
41-
slot of content
42+
键盘上方内容

components/license-plate/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
class="md-license-plate-keyboard-container division"
1717
:id="keyboardViewId"
1818
>
19+
<slot name="content"></slot>
1920
<md-license-plate-keyboard
2021
:keyboard="dyKeyboard"
2122
@enter="$_onEnter"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mand-mobile",
3-
"version": "2.7.1-beta.3",
3+
"version": "2.7.1-beta.5",
44
"description": "A Vue.js 2.0 Mobile UI Toolkit",
55
"homepage": "https://didi.github.io/mand-mobile",
66
"main": "lib/mand-mobile.umd.js",

0 commit comments

Comments
 (0)