威尼斯电玩城游戏下载|首頁-Welcome!

"; var footstr = ""; //执行隐藏打印区域不需要打印的内容 //document.getElementById("otherpho").style.display="none"; var printData = document.getElementById("printdivaa").innerHTML; //获得 div 里的所有 html 数据 var wind = window.open("", "newwin", "toolbar=no,scrollbars=yes,menubar=no"); wind.document.body.innerHTML = headstr + printData + footstr; wind.print(); //打印结束后,放开隐藏内容 //document.getElementById("otherpho").style.display="block"; wind.close(); window.document.body.innerHTML = oldstr; } } function closeWindow() { var userAgent = navigator.userAgent; if (confirm("确定关闭当前页面?")) { if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") != -1) { window.location.href = "about:blank"; window.close(); } else { window.opener = null; window.open("", "_self"); window.close(); } } } // 获取附件中的视频文件 var videoUrl='/ZWFW4519/JSXMHPXX3381/HPSPSLQKGS8355/202109/W020210918573271122700.pdf'; var iconUrl=''; if (videoUrl.indexOf('.mp4')!==-1 || videoUrl.indexOf('.avi')!==-1 || videoUrl.indexOf('.flv')!==-1 || videoUrl.indexOf('.rmvb')!==-1 || videoUrl.indexOf('.wmv')!==-1 || videoUrl.indexOf('.rm')!==-1) { // 附件中有视频 var videoStr= '
'; $('#zoom').prepend(videoStr); }else{ var videoUrls = "" var strArr = videoUrls.split(',') console.log(videoUrls) if(strArr!=''){ $('#zoom'). prepend(function (index) { return '
'; }) } }