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)