山东黄金集团有限公司大宗物资2024年度7-12月份道轨附件采购项目公告测试再次推送招标公告 | B3701005437000213 | ||
2024-07-09 | 2024-05-22 |
$(".changeSize").on('click', function () { var judge = $(this).html().trim(); var size; if (judge == "大") { size = 20; } else if (judge == "中") { size = 16; } else if (judge == "小") { size = 12; } else { size = 14; } $("#infoContentM").css("font-size", size + "px"); $("#infoContentM").find("p").css("font-size", size + "px"); $("#infoContentM").find("span").css("font-size", size + "px"); $("#infoContentM").find("img").css({ "display": "block", "margin": "0 auto" }); }); function closeFunction() { window.opener = null; window.open('', '_self'); window.close(); } $.each($("#attach").find("a"), function (i, item) { var uriJudge = $(item).attr("href"); if (uriJudge.indexOf("BigFileUpLoadStorage") != -1) { $(item).attr("href", siteInfo.projectName + uriJudge); } }) /* 判断设备 */ var userAgent = navigator.userAgent.toLowerCase(); var platform; var judgeInfo = false; if (userAgent == null || userAgent == '') { platform = 'WEB'; } else { if (userAgent.indexOf("android") != -1) { platform = 'ANDROID'; judgeInfo = true; } else if (userAgent.indexOf("ios") != -1 || userAgent.indexOf("iphone") != -1 || userAgent.indexOf("ipad") != -1) { platform = 'IOS'; judgeInfo = true; } else if (userAgent.indexOf("windows phone") != -1) { platform = 'WP'; judgeInfo = true; } else { platform = 'WEB'; } } if (judgeInfo) { $.each($("#infoContentM").find("img"), function (i, item) { $(item).parent("p").attr("style", "text-indent: 0 !important"); $(item).attr("style", "width: 100% !important; height: 100% !important"); }) }