Commit c37a7d66 authored by xishifeng's avatar xishifeng

补充

parent af731588
...@@ -148,7 +148,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function ...@@ -148,7 +148,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
_doc.on('click', '.J_preview', function(e){ _doc.on('click', '.J_preview', function(e){
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
if($(this).hasClass('no-scroll-page-img')){
}else{
$.openPhotoGallery(this); $.openPhotoGallery(this);
};
}); });
}); });
var ServerHost = location.origin; var ServerHost = location.origin;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<td class="text-center">[%= it[item]["id"] %]</td> <td class="text-center">[%= it[item]["id"] %]</td>
<td class="text-center"> <td class="text-center">
<input type="hidden" value='[%= it[item]["agent_img"] %]'> <input type="hidden" value='[%= it[item]["agent_img"] %]'>
<img src='[%= it[item]["agent_img"] %]' class="diagram-image J_preview" <img src='[%= it[item]["agent_img"] %]' class="diagram-image J_preview no-scroll-page-img"
data-bimg='[%= it[item]["agent_img"] %]'> data-bimg='[%= it[item]["agent_img"] %]'>
</td> </td>
<!--<td>[%= it[item]["level"] %]</td>--> <!--<td>[%= it[item]["level"] %]</td>-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment