(function(){ var imageUrl = 'https://xinxindan.com/image/'; var $item = document.getElementById('banner'); if($item){ var u = navigator.userAgent.toLowerCase(); var isMobi = u.indexOf("mobi") > 0 || u.indexOf("android") > 0 || ua.indexOf("linux") > 0 || window.screen.width<=960; if(isMobi){ if (u.indexOf("iphone") > 0 || u.indexOf("ipad") > 0) { } else { $item.innerHTML = '
'; } }else{ //$item.innerHTML = '
'; } } })();