|
@@ -347,14 +347,22 @@ var Feng = {
|
|
|
showImg: function(context) { //传一个<img>对像
|
|
|
var pic = $(context);
|
|
|
var src = pic.attr("src");
|
|
|
- var sbp = window.top.$("#showBigPic");
|
|
|
+ layer.open({
|
|
|
+ type:2,
|
|
|
+ title:"图片预览",
|
|
|
+ fixed:false,
|
|
|
+ area: ['80%', '80%'],
|
|
|
+ content:src,
|
|
|
+ maxmin:true
|
|
|
+ })
|
|
|
+ /*var sbp = window.top.$("#showBigPic");
|
|
|
sbp.empty();
|
|
|
sbp.append("<img id=\"_pic0001\" src=\""+src+"\" style=\"width:1px; height:1px; margin:0px;padding:0px;\"/>");
|
|
|
window.top.$("#_pic0001").viewer({
|
|
|
toolbar:true,
|
|
|
fullscreen:false
|
|
|
});
|
|
|
- window.top.$("#_pic0001").click();
|
|
|
+ window.top.$("#_pic0001").click();*/
|
|
|
},
|
|
|
findChildDictBatch : function (data) {
|
|
|
var ajax = new $ax(Feng.ctxPath + "/common/tool/findChildDictBatch", function (res) {
|