动态加载dom元素时,点击下载按钮触发下载,同时给下载量数量加一
for(var i in res.rows){
$(".content-box2 ul").append("<li>"+
"<div class='tit-box'>"+
"<div class='tit'>"+
"<p>"+ res.rows[i].fileName +"</p>"+
"<p>下载量 "+ res.rows[i].downloadCount +"</p>"+
"</div>"+
"<a href='http://111.1.111.111:111111/api/pc/download/downloadFile?fileId="+res.rows[i].fileId+"'>"+
"<div class='download'>"+
"<i style='background-image: url(../../images/download.png);'></i>"+