123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <!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/style.css"/>
- <link rel="stylesheet" href="../../css/projeck.css">
- <style>
- body{
- background: #fff;
- }
- .nav_title{
- padding: 0 5px;
- background: #f3f6fa;
- }
- .nav_title li{
- text-align: center;
- font-size: 14px;
- padding: 12px 0 ;
- }
- .row_content{
- padding: 0 5px;
- }
- .row_content li{
- text-align: center;
- font-size: 13px;
- padding: 12px 0;
- align-items: center;
- }
- </style>
- </head>
- <body>
- <div class="api_layout">
- <header class="header-login">
- <img class="backBtn" src="../../image/btn_back.png" alt="" onclick="backIndex()">
- <p class="api_text"></p>
- </header>
- <nav>
- <ul class="nav_title flex-wrap">
- <li class="flex-con">序号</li>
- <li class="flex-con">安装地点</li>
- <li class="flex-con">数值/状态</li>
- </ul>
- </nav>
- </div>
- <script src="../../script/api.js"></script>
- <!-- <script src="../../script/fastclick.min.js"></script> -->
- <script src="../../script/doT.min.js"></script>
- <script src="../../script/config.js"></script>
- <script>
- apiready = function () {
- $api.fixStatusBar($api.dom('header') );
- $api.html($api.dom('.api_text'), api.pageParam.title);
- openFrame(api.pageParam.statusType,api.pageParam.title,api.pageParam.type);
- };
- function openFrame(type,name,types) {
- api.openFrame({
- name: 'statusList',
- url: 'statusList.html',
- rect: {
- x: 0,
- y: $api.dom('.api_layout').offsetHeight ,
- w: 'auto',
- h: 'auto'
- },
- pageParam: {
- statusType:type,
- title:name,
- type:types
- },
- bounces: true,
- bgColor: '#fff',
- vScrollBarEnabled: true,
- hScrollBarEnabled: true
- });
- }
- function backIndex() {
- api.closeWin();
- }
- // 监听物理返回键
- function keybackFun() {
- api.addEventListener({
- name: 'keyback'
- }, function(ret, err){
- api.closeWin();
- });
- }
- </script>
- </body>
- </html>
|