Commit 8e946569 authored by xinyuandu's avatar xinyuandu

商铺图库

parent 726b76c2
This diff is collapsed.
<script id="picture_add_template_tpl" type="text/template">
[% if(it != '') { %]
[% for(var item in it){ %]
<tr class="text-center">
<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'] %]' class="diagram-image J_preview" data-bimg='[%= it[item]['img_file_path'] %]'>
</td>
[% if ( it[item]['img_type'] == 2 ){ %]
<td>人群图</td>
<td>-</td>
[% } else if ( it[item]['img_type'] == 1 ) { %]
<td>室内图</td>
<td>[%= it[item]['label'] %] </td>
[% } else if ( it[item]['img_type'] == 0) { %]
<td>室外图</td>
<td>[%= it[item]['label'] %] </td>
[% }else { %]
<td>-</td>
<td>-</td>
[% } %]
<td>
<a class="btn1 btn-success is_show" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-target="#modal-show">查看</a>
<a class="btn1 btn-danger announcement-del" href="#modal-delete" data-toggle="modal" data-id='[%= it[item]["id"] %]'>删除</a>
</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="8" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
\ No newline at end of file
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