选择时间时禁止软键盘弹出

This commit is contained in:
xuxingjun
2024-11-19 16:05:25 +08:00
parent cd913a749e
commit 1b9b979b56
2 changed files with 3 additions and 1 deletions

View File

@@ -430,6 +430,8 @@ export default {
// }
},
openTime(flag) {
//禁止软键盘弹出
document.activeElement.blur();
this.TimeFlag = flag
// this.dialogForm.dateFlag = ''
this.timeShow = true

View File

@@ -238,7 +238,7 @@ img {
}
/deep/ .van-button {
border-radius: 12px;
width: 49%;
width: 42%;
}
/deep/ .van-button--danger {
background: linear-gradient(to right, #f26e43, #ac0209) !important;