节点.style.pointerEvents = 'none'; 可以取消绑定事件·
节点.style.pointerEvents = 'auto'; 获取绑定事件
自适应
resize() {
let times;
window.onresize = function() {
times = setTimeout(() => {
this.cliX = document.documentElement.clientWidth;
this.columns = parseInt(this.cliX / this.imgW);
this.sortImg();
this.lazyImg();
}, 100)
}.bind(this)
}