Commit a19f1df4 authored by xinyuandu's avatar xinyuandu

图片放大

parent c2f909f1
......@@ -4,7 +4,7 @@
* time : 2018/08/30
* about : 商铺图库
*/
define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css','ckfinder','ckfinderStart','pagination','bootstrapJs'], function (doT, template) {
define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css','ckfinder','ckfinderStart','pagination','bootstrapJs', 'blow-up'], function (doT, template) {
picture = {
pageNo: 1, /*第几页*/
pageSize: 10, /*每页显示多少条*/
......@@ -153,6 +153,7 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
/*分页代码*/
add_page(data.data.total,pageNo,picture.pageSize,picture.getList);
$ ('.J_preview').preview ();
}
});
},
......
......@@ -5,8 +5,7 @@
<td>[%= it[item]['create_time'] %]</td>
<!-- <td>[%= it[item]['img_file_path'] %]</td>-->
<td>
<img height="60px" width="100px" src='[%= it[item]['img_file_path'] %]' >
<img height="60px" width="100px" src='[%= it[item]['img_file_path'] %]' class="diagram-image J_preview" data-bimg='[%= it[item]['img_file_path'] %]'>
</td>
[% if ( it[item]['img_type'] == 2 ){ %]
<td>人群图</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