事件委托的封装
function eveEnt(child,cb){
return function(eve){
var e = eve || window.event;
var mubiaoEle = e.target || e.srcElement;
for(var i = 0;i<child.length;i++){
if(child[i]==mubiaoEle){
cb.bind(mubiaoEle)();
}
}
}
}
事件委托的封装
function eveEnt(child,cb){
return function(eve){
let e = eve || window.eveEnt;
let targetEle = e.target || e.srcElement;
for(let i=0;i<child.length;i++){
if(child[i] == targetEle){
cb