Commit 14fd421d by 杨树贤

修改状态的样式显示

parent 13c5c6da
......@@ -50,13 +50,12 @@
@{{# } }}
</script>
<script type="text/html" id="status">
@{{# if(d.status == '使用中'){ }}
<span class="layui-badge-dot layui-bg-blue"></span>
@{{# } else { }}
<span class="layui-badge-dot layui-bg-gray"></span>
@{{# } }}
@{{d.status}}
<script type="text/html" id="status" style="pointer-events: none;">
@{{# if(d.status == '使用中'){ }}
<a class="btn btn-xs btn-outline btn-primary"><strong>使用中</strong></a>
@{{# }else{ }}
<a class="btn btn-xs btn-outline btn-danger"><strong>被禁用</strong></a>
@{{# } }}
</script>
<script type="text/html" id="type">
......
......@@ -49,13 +49,12 @@
@{{# } }}
</script>
<script type="text/html" id="status">
@{{# if(d.status == '使用中'){ }}
<span class="layui-badge-dot layui-bg-blue"></span>
@{{# } else { }}
<span class="layui-badge-dot layui-bg-gray"></span>
@{{# } }}
@{{d.status}}
<script type="text/html" id="status" style="pointer-events: none;">
@{{# if(d.status == '正常'){ }}
<a class="btn btn-xs btn-outline btn-primary"><strong>使用中</strong></a>
@{{# }else{ }}
<a class="btn btn-xs btn-outline btn-danger"><strong>被禁用</strong></a>
@{{# } }}
</script>
<script type="text/html" id="toolbarLeft">
......
......@@ -40,13 +40,12 @@
<a class="btn btn-xs btn-outline btn-primary" lay-event="bills">明细</a>
</script>
<script type="text/html" id="status">
@{{# if(d.status == '正常'){ }}
<span class="layui-badge-dot layui-bg-blue"></span>
@{{# } else { }}
<span class="layui-badge-dot layui-bg-gray"></span>
@{{# } }}
@{{d.status}}
<script type="text/html" id="status" style="pointer-events: none;">
@{{# if(d.status == '正常'){ }}
<a class="btn btn-xs btn-outline btn-primary"><strong>正常</strong></a>
@{{# }else{ }}
<a class="btn btn-xs btn-outline btn-danger"><strong>禁用</strong></a>
@{{# } }}
</script>
<script type="text/html" id="toolbarLeft">
......
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 sign in to comment