Commit 14fd421d by 杨树贤

修改状态的样式显示

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