{title: '操作', minWidth: 150, toolbar: '#currentTableBar', align: "center"}
<script type="text/html" id="currentTableBar">
<!--如果没有交费,就有两个按钮,交费按钮和删除按钮-->
{{# if(d.status=='0'){ }}
<a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">交费</a>
<a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a>
{{# }else{ }}
<a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a>
{{# } }}
</script>
效果实物图