Commit cf8763b5 by 郑云飞

小程序查询不展示团购商品分类

parent adf6ad8d
...@@ -55,7 +55,13 @@ ...@@ -55,7 +55,13 @@
</div> </div>
</div> </div>
<script type="text/html" id="sshortpic">
{{#if (d.sshortpic !=null && d.sshortpic !='') { }}
<img src="{{d.sshortpic }}">
{{# }else if(d.sshortpic ==null || d.sshortpic ==''){ }}
<span></span>
{{# } }}
</script>
<!--<script type="text/javascript" th:src="@{/js/upload_img/js/updateimg.js}"></script>--> <!--<script type="text/javascript" th:src="@{/js/upload_img/js/updateimg.js}"></script>-->
...@@ -114,7 +120,7 @@ ...@@ -114,7 +120,7 @@
[ [
{type: 'checkbox', field: 'id'}, {type: 'checkbox', field: 'id'},
{field: 'id', title: '编码'}, {field: 'id', title: '编码'},
{field: 'sshortpic', title: '头图'}, {field: 'sshortpic', title: '头图', toolbar: '#sshortpic'},
{field: 'sname', title: '名称'}, {field: 'sname', title: '名称'},
{field: 'catalogName', title: '分类'}, {field: 'catalogName', title: '分类'},
{field: 'doldprice', title: '原价'}, {field: 'doldprice', title: '原价'},
......
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