滚动问题

pull/23/head
630892807@qq.com 5 years ago
parent 3503a6d806
commit 900a349774

@ -247,9 +247,11 @@ new Vue({
},
//滚动到底部
scrollBottom:function(){
var _this=this;
this.$nextTick(function(){
//debugger;
if(_this.msgList.length>=3){
$('body').scrollTop($("body")[0].scrollHeight);
}
});
},
//获取日期
@ -360,6 +362,7 @@ new Vue({
$('.faceBox').hide();
});
window.onfocus = function () {
_this.scrollBottom();
clearFlashTitle();
window.parent.postMessage({type:"focus"},"*");
if(_this.socketClosed){

Loading…
Cancel
Save