From 000dd462abff412534e400a6925c6e15c81a6813 Mon Sep 17 00:00:00 2001 From: Dftre <3066417822@qq.com> Date: Tue, 28 May 2024 02:20:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E9=94=AE=E7=9B=98?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E7=9A=84=E5=9B=9E=E9=80=80=E6=8A=98=E4=B8=AD?= =?UTF-8?q?=E6=96=B9=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages_template/pages/keyboardPay/index.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/pages_template/pages/keyboardPay/index.vue b/src/pages_template/pages/keyboardPay/index.vue index 2dbfce8..cfc72ad 100644 --- a/src/pages_template/pages/keyboardPay/index.vue +++ b/src/pages_template/pages/keyboardPay/index.vue @@ -17,8 +17,8 @@ - + 支付键盘 @@ -35,7 +35,6 @@ export default { } }, onLoad() { - }, methods: { onChange(val) { @@ -69,6 +68,15 @@ export default { showPop(flag = true) { this.password = ''; this.show = flag; + // #ifdef H5 || WEB + setTimeout(() => { + const btn = document.querySelector('.u-keyboard__button-wrapper__button.u-keyboard__button-wrapper__button--gray'); + if (!!btn) { + console.log(btn); + btn.onclick = this.onBackspace + } + }, 500) + // #endif }, finish() { console.log(11111)