|
|
@ -318,11 +318,12 @@ new Vue({
|
|
|
|
$(window).resize(function(){
|
|
|
|
$(window).resize(function(){
|
|
|
|
var docheight = $(window).height(); /*唤起键盘时当前窗口高度*/
|
|
|
|
var docheight = $(window).height(); /*唤起键盘时当前窗口高度*/
|
|
|
|
console.log(docheight,windheight);
|
|
|
|
console.log(docheight,windheight);
|
|
|
|
if(docheight < windheight){ /*当唤起键盘高度小于未唤起键盘高度时执行*/
|
|
|
|
_this.scrollBottom();
|
|
|
|
$(".chatBoxSend").css("position","static");
|
|
|
|
// if(docheight < windheight){ /*当唤起键盘高度小于未唤起键盘高度时执行*/
|
|
|
|
}else{
|
|
|
|
// $(".chatBoxSend").css("position","static");
|
|
|
|
$(".chatBoxSend").css("position","fixed");
|
|
|
|
// }else{
|
|
|
|
}
|
|
|
|
// $(".chatBoxSend").css("position","fixed");
|
|
|
|
|
|
|
|
// }
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|