|
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p id="img"></p>
|
|
|
|
|
<script>
|
|
|
|
|
function GetImgfromClip()
|
|
|
|
|
{
|
|
|
|
|
@ -68,11 +68,15 @@ document.addEventListener("paste", function () {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
$("body").append('<br>' +'<br>' + '<b>'+'<font size="4">'+"检测图片:"+res.code+'</font> '+"</b>"+'<br>');
|
|
|
|
|
document.body.appendChild(i);//将后端返回的图片加入到页面中
|
|
|
|
|
|
|
|
|
|
$("#img").prepend(i);
|
|
|
|
|
$("#img").prepend('<br>' +'<br>' + '<b>'+'<font size="4">'+"检测图片:"+res.code+'</font> '+"</b>"+'<br>');
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
//var h = $(document).height()-$(window).height();
|
|
|
|
|
// var h = $(document).height();
|
|
|
|
|
// setTimeout(function(){
|
|
|
|
|
// $(document).scrollTop(h);
|
|
|
|
|
// },1000); //由于使用了从前往后的插入,就不需要跳转
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<script>
|
|
|
|
|
@ -108,8 +112,8 @@ layui.use('upload', function(){
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
$("body").append('<br>' +'<br>' + '<b>'+'<font size="4">'+"检测图片:"+res.code+'</font> '+"</b>"+'<br>');
|
|
|
|
|
document.body.appendChild(i);//将后端返回的图片加入到页面中
|
|
|
|
|
$("#img").prepend(i);
|
|
|
|
|
$("#img").prepend('<br>' +'<br>' + '<b>'+'<font size="4">'+"检测图片:"+res.code+'</font> '+"</b>"+'<br>');
|
|
|
|
|
}
|
|
|
|
|
,error: function(){
|
|
|
|
|
//请求异常回调
|
|
|
|
|
|