From 875e072b3ea8dff270cb2214f94b95e03fa210db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=A6=82=E6=91=B8=E9=B1=BC=E5=8E=BB?= <1780903673@qq.com> Date: Sun, 18 May 2025 22:06:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8DNumberK?= =?UTF-8?q?eyboard=E7=BB=84=E4=BB=B6=E4=BD=BF=E7=94=A8=20title=20=E6=8F=92?= =?UTF-8?q?=E6=A7=BD=E6=9C=AA=E4=BC=A0=E5=85=A5=E5=85=B3=E9=97=AD=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=97=B6=E4=B8=8D=E5=B1=95=E7=A4=BA=E5=A4=B4=E9=83=A8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#1060)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: #760 --- docs/component/number-keyboard.md | 4 ++++ docs/en-US/component/number-keyboard.md | 4 ++++ .../components/wd-keyboard/wd-keyboard.vue | 13 +++++++++---- .../wd-number-keyboard/wd-number-keyboard.vue | 14 +++++++++----- 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/docs/component/number-keyboard.md b/docs/component/number-keyboard.md index aa3a7d1a..00d344d9 100644 --- a/docs/component/number-keyboard.md +++ b/docs/component/number-keyboard.md @@ -2,6 +2,10 @@ 虚拟数字键盘,用于输入数字、密码或身份证等场景。 +:::danger 注意⚠️ +虚拟数字键盘功能已移动至[KeyBoard](./keyboard)组件中,请及时迁移,本组件于`1.10`版本废弃。 +::: + ## 基本用法 可以通过 `v-model:visible` 控制键盘是否展示。 diff --git a/docs/en-US/component/number-keyboard.md b/docs/en-US/component/number-keyboard.md index 49b97b0d..6f96dc45 100644 --- a/docs/en-US/component/number-keyboard.md +++ b/docs/en-US/component/number-keyboard.md @@ -2,6 +2,10 @@ Virtual numeric keyboard, used for inputting numbers, passwords, or ID cards and other scenarios. +:::danger Warning⚠️ +The virtual numeric keyboard functionality has been moved to the [KeyBoard](./keyboard) component. Please migrate as soon as possible. This component will be deprecated in version `1.10`. +::: + ## Basic Usage You can control whether the keyboard is displayed through `v-model:visible`. diff --git a/src/uni_modules/wot-design-uni/components/wd-keyboard/wd-keyboard.vue b/src/uni_modules/wot-design-uni/components/wd-keyboard/wd-keyboard.vue index 875fb13c..24eca4db 100644 --- a/src/uni_modules/wot-design-uni/components/wd-keyboard/wd-keyboard.vue +++ b/src/uni_modules/wot-design-uni/components/wd-keyboard/wd-keyboard.vue @@ -10,8 +10,8 @@ @click-modal="handleClose" > - - + + {{ title }} @@ -51,7 +51,7 @@ export default {