content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
vant.van-popup {
transform: none;
}
.pay_password {
background: #FAFAFA;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: 63%;
}
.password_input {
position: fixed;
left: 0;
bottom: 250px;
width: 100%;
}
支付
:value="value"
/>
:show="show"
@blur="show = false"
@input="onInput"
@delete="onDelete"
/>
new Vue({
el: "#app",
data: {
value: '123',
showKeyboard: true,
show: true
},
methods: {
onInput(key) {
this.value = (this.value + key).slice(0, 6);
},
onDelete() {
this.value = this.value.slice(0, this.value.length - 1);
}
}
})