function amplificationImg(item){
// alert($(this).prop("src"))
var pre = "${@Global.getConfig('imgurl')}"
var url = pre+item
// 创建对象
var img = new Image()
// 改变图片的src
img.src = url
// 打印
// 判断是否有缓存
if(img.complete){
// 打印
imgMax(url,img.width,img.height)
}else{
// 加载完成执行
img.onload = function(){
// 打印
imgMax(url,img.width,img.height)
}
}
}
function imgMax(url,width,height){
top.layer.open({
type: 1,
title: false,
closeBtn: 0,
shadeClose: true,
area: [width + 'px', height + 'px'], //宽高
content: "<img src=" + url + " />"
});
}