list.html加入以下红色代码
// 加载成功后执行事件
ajaxSuccess: function(data){
$("#gbox_dataGrid img").click(function (e) {
var img=$(e.target).attr("src");
js.layer.open({
type: 1,
area: ['auto'],
title: '图片预览',
resize: false,
scrollbar: true,
content:'<img style="width:400px;height:400px;" border="1" src="'+ img +'" />'
});
});
}