protect_tool.html 2 KB
<!DOCTYPE html>
  <html>
  <head>
      <meta charset="utf-8">
      <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
      <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
      <title>报警底部操作栏</title>
      <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
      <link rel="stylesheet" type="text/css" href="../../css/aui.css"/>
      <style>
          html,
          body{
            background: #FFFFFF;
          }
      </style>
  </head>
  <body>
    <div class="aui-row aui-row-flex" style="height:64px;box-shadow:0px 1px 0px  rgba(0, 0, 0, 0.3) inset;border-bottom:1px solid rgba(217,229,255,1);">
        <!-- <div class="aui-col aui-col-span-12" style="margin-top:23px;height:28px;background-color:red;">
          <div class="aui-row aui-row-flex" style="background-color:red;">
            <div class="aui-col aui-col-span-10">
              <img src="../../image/alarm/icon-unselected.png" id="img_select" style="width:18px;height:18px;"/>
            </div>
            <div class="aui-col aui-col-span-14" style="background-color:red;">
              <span>全部选择</span>
            </div>
          </div>
        </div>
        <div class="aui-col aui-col-span-12" style="margin-top:23px;height:28px;" tapmode onclick="alert(1)">
          <span style="font-size:14px;font-family:PingFang SC;font-weight:500;color:rgba(55,57,78,1);">标记已读</span>
        </div> -->
        <!--不用aui的checkbox-->
    </div>
  </body>
  <script type="text/javascript" src="../../script/api.js"></script>
  <script type="text/javascript">
      var ischooseall = false;
      apiready = function(){
        api.parseTapmode();

      };

      function chooseAll() {
        ischooseall = !ischooseall;

        api.sendEvent({
            name: 'chooseAllProtectInfo',
            extra: {
                chooseAll: ischooseall,
            }
        });

      }
  </script>
  </html>