//检查img缺少alt,放入全站公共JS内,缺少的会用红框标记. 
//2019年3月15更新  kaiqi
//2019年4月19更新  alzy-src
//2019年4月24更新  all_1
var kaiqi=0
// 0关闭 1开启 
if(kaiqi==1){
var test =window.location.search;
if(test==""){
$('body').append("<link type='text/css' href='HTTP://451.300.cn/lzq/_zj/_1.css' rel='stylesheet' />"); 
$("body").append('<div class="dayin" style="position:fixed; bottom:0px;left:0px;width:200px; z-index: 300;overflow-y: scroll;overflow-x: hidden;height: 600px;background: rgba(0,0,0,0.8);">缺失图片</br></div>')
$("body").append('<div class="jixian" style="position:fixed; bottom:0px;left:200px;width:200px; z-index: 300;overflow-y: scroll;overflow-x: hidden;height: 100px;background: rgba(250,250,250,0.8);">极限用语(组件背景标记红色)</br></div>')
$("body").append('<div class="hover_img" style="position:fixed;width:100%;height:100%;top:0px;left:0px;background: rgba(0,0,0,0.7);display:none;z-index: 200; text-align:center;"><img alt="测试" title="测试 src="" style="margin-top:400px;"><span style="display:block;font-size:20px;color:#fff; line-height:3;"></span></div>')
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('<li> <img src="'+src+'" style="height:50px;width:auto;border:1px #f00 solid;margin-bottom:2px;"></li>')
			}else{
				$(".dayin").append('<li> <img src="'+$(this).attr("lazy-src")+'" style="height:50px;width:auto;border:1px #f00 solid;margin-bottom:2px;"></li>')
	}}
	$(".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('<div>最</div>')
	}
	if(all_1.indexOf("第一")!=-1){
	$(this).css("background","#f00")
	$(".jixian").append('<div>第一</div>')
	}
	})

}