"

线上买球

"
IE版本小于9,为了不影响您的浏览效果,请升级IE版本! x
首页  >  政务动态  >  视频新闻

贯彻习近平生态文明思想 碳碳有话说:办公节电

来源:天津市生态环境局 发布时间:2022-03-22
"; //执行隐藏打印区域不需要打印的内容 //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=''; var iconUrl='http://www.csharpinterviewquestions.com/ZWXX808/SPXW9224/202203/W020220322371674826627.png'; 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 = "http://jyhpt.tj.gov.cn/masvod/public/2022/03/22/20220322_17faf6a48b8_r1_600k.mp4," var strArr = videoUrls.split(',') console.log(videoUrls) if(strArr!=''){ $('#zoom'). prepend(function (index) { return '
'; }) } }