P20.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title></title>
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta http-equiv="pragma" content="no-cache">
  9. <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
  10. <meta http-equiv="expires" content="0">
  11. <meta name="viewport"
  12. content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  13. <!--引入 element-ui 的样式,-->
  14. <link rel="stylesheet" href="../css/iconfont.css">
  15. <link rel="stylesheet" href="../css/style.css">
  16. <link rel="stylesheet" href="../css/comm.css">
  17. <script src="../js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
  18. <script type="text/javascript">
  19. document.write('<script src="../assets/init.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
  20. </script>
  21. <script>
  22. checkLogin();
  23. </script>
  24. </head>
  25. <style type="text/css">
  26. *{
  27. margin: 0;
  28. padding: 0;
  29. box-sizing: border-box;
  30. }
  31. body{
  32. height: 100vh;
  33. color:#000;
  34. overflow: hidden;
  35. }
  36. .yz_aside li{
  37. list-style: none;
  38. cursor: pointer;
  39. padding: 7px 0;
  40. }
  41. .yz_aside li .act{
  42. color: #20a6ff !important;
  43. }
  44. .yz_main #_View{
  45. position: relative;
  46. overflow: hidden;
  47. border: 1px solid #00adad;
  48. }
  49. #_View .noBg{
  50. position: relative;
  51. height: 100%;
  52. width: 100%;
  53. background-color: #00131b;
  54. }
  55. #_View .noBg img{
  56. position: absolute;
  57. top:50%;
  58. left:50%;
  59. transform: translate(-50%,-50%);
  60. width: 50%;
  61. }
  62. @-webkit-keyframes rotation{
  63. from { -webkit-transform: rotate(0deg);}
  64. to { -webkit-transform: rotate(360deg); }
  65. }
  66. #_View .loadImg{
  67. position: absolute;
  68. top: calc(50% - 20px);
  69. left: calc(50% - 20px);
  70. width: 40px;
  71. height:40px;
  72. z-index: 4444;
  73. margin-bottom: 20px;
  74. -webkit- transform: rotate (360deg);
  75. animation: rotation 2s linear infinite;
  76. - moz -animation: rotation 2s linear infinite;
  77. -webkit - animation: rotation 2s linear infinite ;
  78. -o-animation: rotation 2s linear infinite;
  79. }
  80. ._helme{
  81. position: absolute;
  82. left: 0;
  83. top: 0;
  84. height: calc(100% - 2px);
  85. width: calc(100% - 2px);
  86. margin: 1px;
  87. display: none;
  88. background-color:#000;
  89. }
  90. #helmeVi{
  91. height:100%;
  92. width:100%;
  93. }
  94. .tool{
  95. display: flex;
  96. align-items: center;
  97. justify-content: space-between;
  98. height: 40px;
  99. margin: 5px;
  100. color: #fff;
  101. background-color: #06162d;
  102. }
  103. .tool .iconfont{
  104. cursor: pointer;
  105. font-size:24px;
  106. padding: 0 10px;
  107. }
  108. .tool>div{
  109. display: flex;
  110. align-items: center;
  111. }
  112. .tool .playStop{
  113. display: none;
  114. }
  115. .text-rgb{
  116. color: rgba(255,255,255,0.6);
  117. }
  118. ._Call{
  119. position: absolute;
  120. left: 80px;
  121. bottom: 100px;
  122. width: 200px;
  123. display: none;
  124. background-color: #fff;
  125. }
  126. </style>
  127. <body>
  128. <div class="yz_aside">
  129. <div class="padding-sm" style="height: 100%;">
  130. <div class="padding-bottom-sm text-bold" style="color: #5793f3;">安全帽列表</div>
  131. <ul id="html_view" style="height: calc(100% - 40px);overflow-y: auto;">
  132. </ul>
  133. </div>
  134. </div>
  135. <div class="yz_main">
  136. <div style="height: calc(100% - 45px);position: relative;">
  137. <div style="height: 100%;" id="_View">
  138. <div class="noBg"><img src="../img/maozi.png" ></div>
  139. </div>
  140. <div class="_helme">
  141. <video id="helmeVi" controls></video>
  142. </div>
  143. </div>
  144. <div class="tool">
  145. <div>
  146. <span class="iconfont icon-mic-on-full" style="color: #55aaff;font-size: 28px;"></span>
  147. <img src="../img/screen.svg" style="width: 28px;cursor: pointer;" title="截图" onclick="handleScreen()"/>
  148. </div>
  149. <div>
  150. <div class="iconfont icon-zhuxiaoguanji text-red"></div>
  151. <div class="iconfont icon-quanping"></div>
  152. </div>
  153. </div>
  154. </div>
  155. <div class="_Call text-sm">
  156. <div class="flex justify-between padding-lr-sm padding-tb-xs align-center bg-gray">
  157. <div>语音对讲</div>
  158. <div class="iconfont icon-cha yz_cursor"></div>
  159. </div>
  160. <div class="padding-sm text-center">
  161. <img src="../img/voice.yz4975.png" style="width: 100px;cursor: pointer;">
  162. <div class="margin-top-sm">未连接</div>
  163. <div class="text-lg text-bold">00:00:00</div>
  164. </div>
  165. </div>
  166. </body>
  167. <script src="../js/hel/TcPlayer-2.3.1.js" type="text/javascript" charset="utf-8"></script>
  168. <script src="../js/hel/jswebrtc_v1.js" type="text/javascript" charset="utf-8"></script>
  169. <script src="../js/hel/ZLMRTCClient.js" type="text/javascript" charset="utf-8"></script>
  170. <script src="../js/hel/sip-0.13.6.min.js" type="text/javascript" charset="utf-8"></script>
  171. <script type="text/javascript">
  172. document.write('<script src="../assets/helmetLive.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
  173. </script>
  174. </html>