Commit 0ba7067c authored by xinyuandu's avatar xinyuandu

商铺图库模板

parent 0a6e4bfe
<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 src='[%= it[item]['img_file_path'] %]' >
</td>
<td>[%= it[item]['img_type'] %]</td>
<td>[%= it[item]['label'] %] </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