Commit d75f26ef authored by zhangderong's avatar zhangderong

测试键盘禁止弹出

parent f7689d57
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<FormItem label="面试时间" prop="time"> <FormItem label="面试时间" prop="time">
<Input placeholder="请输入" style="width:120px;" v-model="formInline.date" :readonly="true"/> <Input placeholder="请输入" style="width:120px;" v-model="formInline.date" :readonly="true"/>
<!-- <DatePicker type="date" placeholder="请选择日期" style="width: 120px;margin-left:20px" v-model="formInline.date" @on-change="selectDate" :options="options3" ></DatePicker> --> <!-- <DatePicker type="date" placeholder="请选择日期" style="width: 120px;margin-left:20px" v-model="formInline.date" @on-change="selectDate" :options="options3" ></DatePicker> -->
<TimePicker type="time" placeholder="请选择时间" style="width: 127px" v-model="formInline.time" format="HH:mm" @on-change="selectTime" @on-focus="defaultRRRR" placement='bottom'></TimePicker> <TimePicker type="time" placeholder="请选择时间" style="width: 127px" v-model="formInline.time" format="HH:mm" @on-change="selectTime" @on-focus="defaultRRRR" :editable="false"></TimePicker>
</FormItem> </FormItem>
<FormItem label="应聘职位" prop="position"> <FormItem label="应聘职位" prop="position">
<Input placeholder="请输入" style="width:250px;" v-model="formInline.position"/> <Input placeholder="请输入" style="width:250px;" v-model="formInline.position"/>
...@@ -216,6 +216,16 @@ export default { ...@@ -216,6 +216,16 @@ export default {
defaultRRRR(){ defaultRRRR(){
document.activeElement.blur() document.activeElement.blur()
}, },
a(){
var h = document.body.scrollHeight;
window.onresize = function(){
if (document.body.scrollHeight < h) {
document.getElementsByClassName("utbuton").style.display = "none";
}else{
document.getElementsByClassName("utbuton").style.display = "block";
}
};
}
}, },
mounted(){ mounted(){
this.welconme() this.welconme()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment