#
luxiaotao1123
2021-03-26 b2fc5258724d5ab65ff7854df7e11261da039e0b
src/main/webapp/views/safeSto/safeSto.html
@@ -75,7 +75,15 @@
      <div class="layui-progress-bar layui-bg-blue" lay-percent= {{ d.progress }}></div>
    </div>
</script>
<script type="text/html" id="statusTpl">
    {{#  if(d.status == 1){ }}
    <button class="layui-btn layui-btn-normal layui-btn-xs">满仓</button>
    {{#  } else if(d.status == 2){ }}
    <button class="layui-btn layui-btn-primary layui-btn-xs">安全</button>
    {{#  } else{ }}
    <button class="layui-btn layui-btn-warm layui-btn-xs">危险</button>
    {{#  } }}
</script>
<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>