04-03.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <!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. <!-- <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css"> -->
  11. <script src="__PUBLIC__/wxapp/js/jquery-1.8.3/jquery.min.js"></script>
  12. <script src="__PUBLIC__/wxapp/js/echarts.min.js"></script>
  13. <script src="__PUBLIC__/html/video/ezuikit.js"></script>
  14. <link rel="stylesheet" href="__PUBLIC__/wxapp/css/jdxf.css">
  15. <title>设备详情</title>
  16. <style>
  17. .bjbox {
  18. margin: 15px 0;
  19. }
  20. .mar {
  21. margin: 0 30px;
  22. }
  23. .bjbox-c {
  24. font-size: 14px;
  25. color: #646464;
  26. }
  27. .box {
  28. height: 20px;
  29. background-color: #F5F5F5;
  30. }
  31. .mar-words {
  32. float: right;
  33. font-size: 18px;
  34. }
  35. .height1dcdcdc {
  36. display: block;
  37. height: 1px;
  38. margin-top: 2px;
  39. margin-bottom: 20px;
  40. background: #DCDCDC;
  41. }
  42. td {
  43. text-align: center;
  44. }
  45. </style>
  46. </head>
  47. <body>
  48. <!-- 头部 -->
  49. <div class="hand">
  50. <span class="hand-i"><!-- <i class="fa fa-angle-down"></i> -->
  51. <a href="__MODULE__/Dmanger/index{$tokenurl}/companyid/{$companyid}">
  52. <img style="height: 16px;" src="__PUBLIC__/wxapp/images/jd_07.png" alt="">
  53. </a>
  54. </span>
  55. 设备详情
  56. </div>
  57. <!-- 内容块 -->
  58. <div class="bjbox">
  59. <!-- <div class="bjbox-c mar">
  60. <span>2018/02/20 10:25</span>
  61. <span style="float: right;">离线</span>
  62. </div> -->
  63. <div class="mar">
  64. <span class="ownername">{$list.owner_name}</span>
  65. <span class="mar-words" style="color: #646464;">{$list.zs_status}</span>
  66. </div>
  67. </div>
  68. <div class="box"></div>
  69. <div class="bjbox">
  70. <div class="bjbox-c mar">基本信息</div>
  71. <div class="height1dcdcdc"></div>
  72. <div class="mar">设备类型:{$list.dwtypes} <br>
  73. 设备编号:{$list.deviceid} <br>
  74. 物联网卡号:{$list.sim}<br>
  75. 安装位置:{$list.azwz}<br>
  76. 添加时间:{$list.install_time}
  77. </div>
  78. </div>
  79. <div class="box"></div>
  80. <div class="bjbox">
  81. <div class="bjbox-c mar">基本信息</div>
  82. <div class="height1dcdcdc"></div>
  83. <div class="mar">
  84. {$list.owner_address}
  85. </div>
  86. </div>
  87. <div class="box"></div>
  88. <!--<div class="bjbox">-->
  89. <!-- <div class="bjbox-c mar">视频</div>-->
  90. <!-- <div class="height1dcdcdc" style=" margin-bottom: 0;"></div>-->
  91. <!-- <div class="br-video-body">-->
  92. <!-- <video id="video123" style="width: 100%; height: 200px" poster="" controls playsInline webkit-playsinline-->
  93. <!-- autoplay>-->
  94. <!-- &lt;!&ndash;<source src="rtmp://rtmp.open.ys7.com/openlive/f01018a141094b7fa138b9d0b856507b" type="" />&ndash;&gt;-->
  95. <!-- &lt;!&ndash;<source src="http://hls.open.ys7.com/openlive/f01018a141094b7fa138b9d0b856507b.m3u8" type="application/x-mpegURL" />&ndash;&gt;-->
  96. <!-- <source src="{$list.rtmp}" type=""/>-->
  97. <!-- <source src="{$list.hls}" type="application/x-mpegURL"/>-->
  98. <!-- </video>-->
  99. <script>
  100. var player = new EZUIPlayer('video123');
  101. player.on('error', function () {
  102. console.log('error');
  103. });
  104. player.on('play', function () {
  105. console.log('play');
  106. });
  107. player.on('pause', function () {
  108. console.log('pause');
  109. });
  110. </script>
  111. <!-- </div>-->
  112. <!-- &lt;!&ndash;<div class="mar" style="margin: 0">-->
  113. <!-- {$list.h5}-->
  114. <!-- </div>&ndash;&gt;-->
  115. <!--</div>-->
  116. <!--<div class="box"></div>-->
  117. <div class="bjbox">
  118. <div class="bjbox-c mar">图表</div>
  119. <div class="height1dcdcdc" style=" margin-bottom: 0;"></div>
  120. <div class="mar" style="margin: 0;width: 100%;overflow-x: auto;">
  121. <table style="width: 140%;font-size: 14px;">
  122. <tr>
  123. <th>名称</th>
  124. <th>类型</th>
  125. <th>端口</th>
  126. <th>最后上传值</th>
  127. <th>最后上传时间</th>
  128. </tr>
  129. <volist name="rtu" id="vo">
  130. <tr>
  131. <td>{$vo.data4}</td>
  132. <td>{$vo.types}</td>
  133. <td>{$vo.ncmd}</td>
  134. <!-- <if condition="$vo.data2 eq '正常'">
  135. <td ><span style="color: green;">{$vo.data2}</span></td>
  136. <else /> <td ><span style="color: red;">{$vo.data2}</span></td>
  137. </if> -->
  138. <if condition="$vo.types eq '开关量'">
  139. <td>{$vo.data2}</td>
  140. <else/>
  141. <td>{$vo.data1}</td>
  142. </if>
  143. <!-- <td ><span>{$vo.data2}</span></td> -->
  144. <td>{$vo.time}</td>
  145. </tr>
  146. </volist>
  147. </table>
  148. </div>
  149. </div>
  150. </body>
  151. </html>