弹窗样式

This commit is contained in:
2023-11-21 18:33:00 +08:00
parent 8681e068bf
commit d98e51e99b
6 changed files with 68 additions and 23 deletions

View File

@@ -129,15 +129,10 @@ export default {
}
} else if (button === '{clear}') {
this.keyboard.clearInput()
} else {
// let value = $event.target.offsetParent.parentElement.children[0].children[0].value
// // 输入框有默认值时,覆写
// if (value) {
// this.keyboard.setInput(value)
// }
this.$emit('onKeyPress', button)
} else if (button === '{shift}' || button === '{lock}') {
this.handleShift()
}
if (button === '{shift}' || button === '{lock}') this.handleShift()
this.$emit('onKeyPress', button)
},
// 切换shift/默认布局
handleShift () {