21f87341496e376b43e36567239f62a6.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  5. <meta charset="utf-8">
  6. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
  7. <meta content="yes" name="apple-mobile-web-app-capable">
  8. <meta content="black" name="apple-mobile-web-app-status-bar-style">
  9. <meta content="telephone=no" name="format-detection">
  10. <title>设备管理</title>
  11. </head>
  12. <link rel="stylesheet" type="text/css" href="/jdxf/Public/wxapp/css/style.css">
  13. <script src="/jdxf/Public/wxapp/js/jquery-1.11.3.min.js"></script>
  14. <body>
  15. <!--头部-->
  16. <!--<div class="header"><a class="comblack" href="/jdxf/wxapp2.php/Home/index/index<?php echo ($tokenurl); ?>/companyid/<?php echo ($companyid); ?>"></a> 设备管理</div>-->
  17. <div class="header"><a class="comblack" href="/jdxf/wxapp2.php/Home/Dmanger/index<?php echo ($tokenurl); ?>/companyid/<?php echo ($company); ?>"></a> 设备管理</div>
  18. <!--内容-->
  19. <div class="content">
  20. <div class="content-bottom" id="content-data" >
  21. <ul>
  22. <?php if(is_array($ResData)): $i = 0; $__LIST__ = $ResData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="content-bottom-li">
  23. <a href="/jdxf/wxapp2.php/Home/Mangerinfo/index<?php echo ($tokenurl); ?>/companyid/<?php echo ($vo["company"]); ?>/deviceid/<?php echo ($vo["owner_code"]); ?>/dwtype/<?php echo ($vo["dwtype"]); ?>">
  24. <p class="span-ffist"><?php echo ($vo["owner_name"]); ?> </p>
  25. <span class="to-right"></span>
  26. <span></span>
  27. </a>
  28. </li><?php endforeach; endif; else: echo "" ;endif; ?>
  29. </ul>
  30. </div>
  31. </div>
  32. <!--底部-->
  33. <div class="footer"></div>
  34. </body>
  35. <style type="text/css">
  36. .title-label { width: 20%; color: #000000;
  37. line-height: 55px; font-size: 16px; display: inline-block; text-align: center;
  38. float: left; cursor: pointer; border-bottom: 4px solid #DCDCDC;}
  39. .select-color { border-bottom: 4px solid #C91E30;}
  40. .fire-content { box-sizing: border-box; padding: 25px;}
  41. .content-bottom-li{ clear: both; text-align: left; font-size: 16px; line-height: 26px; border-bottom: 1px solid #DCDCDC;}
  42. .content-bottom-li a:first-child{ padding-left: 10%; padding-top: 20px; padding-bottom: 20px; display: block; }
  43. .content-bottom ul li span{ font-size: 14px; color:#646464; display: block; float: right; }
  44. .next-list{ color:#DBDBDB; margin-right: 5%; clear: both; }
  45. .span-ffist{ font-size: 16px; clear: both; display: inline-block; width: 78%;}
  46. </style>
  47. <script type="text/javascript">
  48. //点击 tab页 切换tab页
  49. // let tabset=function(tab)
  50. // {
  51. // let companyid='<?php echo ($companyid); ?>';
  52. // if( tab =='fire')
  53. // {
  54. // var type='fire';
  55. // }
  56. // else
  57. // {
  58. // var type=$(tab).attr("name");
  59. // $(tab).siblings().removeClass('select-color');
  60. // $(tab).addClass('select-color');
  61. // }
  62. // //let index=$(".fire-alarm-title span").index(tab);获取点击的是第几个tab页
  63. // $.post('/jdxf/wxapp2.php/Home/Dmanger/change<?php echo ($tokenurl); ?>',{'type':type,'companyid':companyid},function(res)
  64. // {
  65. //
  66. //
  67. // $('#content-data').html(res);
  68. // });
  69. //
  70. // }
  71. // tabset('fire');
  72. </script>
  73. </html>