Commit 366ba858 by zujiaozhang

'下拉禁止body拖动'

parent a2e7e2b1
......@@ -43,13 +43,9 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
chat.talkRelation();
chat.getWechatTicket();
chat.getAttention();
var content = document.querySelector('#content')
document.body.addEventListener('touchmove', function (e) {
e.preventDefault();
}, {passive: false});
content.addEventListener('touchmove', function (e) {
e.preventDefault();
}, {passive: false});
//1.获取到列表的dom,刷新显示部分的dom,列表父容器的dom
let container = document.querySelector('.chat_list');
let refreshText = document.querySelector('.refreshText');
......
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