<a href="javascript:void(0)" class="downMore"></a>
$('.downMore').on('click',function() {
let triggerDelay = 100;
let removeDelay = 1000;
let url_arr=['','',''];
url_arr.forEach(function(item,index){
_createIFrame(item, index * triggerDelay, removeDelay);
})
function _createIFrame(url, triggerDelay, removeDelay) {
//动态添加iframe,设置src,然后删除
setTimeout(function() {
var frame = $('<iframe style="display: none;" class="multi-download"></iframe>');
frame.attr('src', url);
$(document.body).after(frame);
setTimeout(function() {
frame.remove();
}, removeDelay);
}, triggerDelay);
}
})