//妫€鏌mg缂哄皯alt,鏀惧叆鍏ㄧ珯鍏叡JS鍐?缂哄皯鐨勪細鐢ㄧ孩妗嗘爣璁? //2019骞?鏈?5鏇存柊 kaiqi //2019骞?鏈?9鏇存柊 alzy-src //2019骞?鏈?4鏇存柊 all_1 var kaiqi=0 // 0鍏抽棴 1寮€鍚 if(kaiqi==1){ var test =window.location.search; if(test==""){ $('body').append(""); $("body").append('
缂哄け鍥剧墖
') $("body").append('
鏋侀檺鐢ㄨ(缁勪欢鑳屾櫙鏍囪绾㈣壊)
') $("body").append('') var i=0; $("img").each(function(){ var alt=$(this).attr("alt"); var img =$(this).parent().html() if(alt=="" || alt=="杩欐槸鎻忚堪淇℃伅" ||alt==null){ $(this).addClass("jingbao"); i=i+1; var src=$(this).attr("src") if(src!=null){ $(".dayin").append('
  • ') }else{ $(".dayin").append('
  • ') }} $(".dayin li").hover(function(){ var hover_src=$(this).find("img").attr("src") $(".hover_img").fadeIn(0) $(".hover_img img").attr("src",hover_src) $(".hover_img span").html(hover_src) },function(){ $(".hover_img").fadeOut(0) }) }) alert(i+" 澶勬湭娣诲姞"); } //鏋侀檺鐢ㄨ $(".e_box").each(function(){ all_1=$(this).html() if(all_1.indexOf("鏈€")!=-1){ $(this).css("background","#f00") $(".jixian").append('
    鏈€
    ') } if(all_1.indexOf("绗竴")!=-1){ $(this).css("background","#f00") $(".jixian").append('
    绗竴
    ') } }) }