37abdf685158b414f6ce1b91ea904f4721f0459b.svn-base 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  6. <meta http-equiv="description" content="this is my page">
  7. <title>应急综合视频展示</title>
  8. <!--框架必需start 扁平风格-->
  9. <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  10. <link href="/nwyj/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" id="skin" skinPath="/nwyj/scripts/qui/" scrollerY="false" scrollerX="false"/>
  11. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  12. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  13. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  14. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  15. <!--框架必需end-->
  16. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/layout.js"></script>
  17. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/accordion.js"></script>
  18. <link type="text/css" rel="stylesheet" href="/nwyj/css/cockpit/panel.css">
  19. <!-- 模版js和css start-->
  20. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
  21. rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  22. positionTarget="positionContent" selInputHeight="32"
  23. selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
  24. defaultFileInputWidth="200" defaultGridHeaderHeight="34"
  25. defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
  26. defaultFilterItemHeight="32" dialogWidthFix="0"
  27. defaultSelItemHeight="32" defaultFontFamily="宋体" />
  28. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
  29. <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
  30. <link href="/nwyj/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/>
  31. <!-- 模版js和css end-->
  32. <!--树组件start-->
  33. <link rel="stylesheet" type="text/css" href="/nwyj/scripts/qui/libs/js/tree/ztree/ztree.css" />
  34. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
  35. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/selectTree.js"></script>
  36. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/listerTree.js"></script>
  37. <!--树组件end-->
  38. <!-- 扩展工具js -->
  39. <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
  40. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  41. <link rel="stylesheet" type="text/css" href="/nwyj/css/cockpit/emergency.css" />
  42. <script type="text/javascript" src="/nwyj/scripts/cockpit/search/search_util.js"></script>
  43. <script type="text/javascript" src="/nwyj/scripts/cockpit/search/judge_browser.js"></script>
  44. <script type="text/javascript" src="/nwyj/page/cockpit/EmergencyVideoShow/emergency.js"></script>
  45. <script language="javascript" for="ocx" event="OnMessage(lType,lResult,szDescription)">
  46. switch(lType){
  47. case 1:
  48. //$('loginbody').style.display="none";
  49. //$('mpage').style.top="0";
  50. alert(szDescription);
  51. break;
  52. case 0:
  53. //$('loginbody').style.display="block";
  54. //$('mpage').style.top="-10000px";
  55. /* alert(szDescription); */
  56. break;
  57. case 2:
  58. //$('loginbody').style.display="block";
  59. //$('mpage').style.top="-10000px";
  60. alert(szDescription);
  61. break;
  62. }
  63. </script>
  64. <script type="text/javascript">
  65. </script>
  66. <style type="text/css">
  67. .video_table{ width:100%; height:100%;}
  68. .video_left{ width:100%; height:100%; }
  69. .top_bar{ width:100%; height:60%; }
  70. .l-layout-left, .l-layout-right, .l-layout-center, .l-layout-top, .l-layout-bottom{ background:none; border-right:1px solid; border-top:none; border-bottom:none; border-left:none; }
  71. .l-layout-header{ background-color:rgb(52, 143, 226); color:#f1f1f1; }
  72. .l-layout-content{ background:none; padding:0; }
  73. .l-layout-collapse-left, .l-layout-collapse-right{
  74. FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#5d8cae,endColorStr=#12315a);
  75. background: -ms-linear-gradient(top, #5d8cae, #f1f1f1); background:-moz-linear-gradient(top,#5d8cae,#12315a);
  76. background:-webkit-gradient(linear, 0% 0%, 0% 100%,from(#5d8cae), to(#12315a));
  77. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5d8cae), to(#12315a));
  78. background: -webkit-linear-gradient(top, #5d8cae, #12315a);
  79. background: -o-linear-gradient(top, #5d8cae, #12315a);}
  80. .l-layout-header{ border:none; }
  81. .accordition div{ background:none; }
  82. .main_box_tree{ height:auto; }
  83. .layout_content{ overflow:hidden; }
  84. .accordition{ border:none; }
  85. div.selectbox-wrapper{ background-color:#0c61e0!important; }
  86. .selectbox{ color:#0c61e0; }
  87. .splic_select{ display: inline-block; float:left; width: 100px; margin: 5px 0 0 9px; padding:0 7px; }
  88. .textinput, .textinput_hover, .textinput_click{ margin:9px; }
  89. div.selectbox-wrapper ul li.selected{ background-color:#5eabd6; }
  90. .l-layout-left .l-layout-header-toggle{ background:url('/nwyj/scripts/qui/libs/skins/flatBlue/layout/togglebarB.png'); background-position: 0 50%; background-repeat: no-repeat;}
  91. .l-layout-collapse-left-toggle, .l-layout-collapse-right-toggle{ background:url('/nwyj/scripts/qui/libs/skins/flatBlue/layout/togglebarA.png'); background-position: 0 50%; background-repeat: no-repeat;}
  92. </style>
  93. <!-- video_text clear_video_id textinput -->
  94. <!-- video_text clear_video_id textinput -->
  95. </head>
  96. <body id="kj">
  97. <div class="titleBar">变电站视频</div>
  98. <div id="layout1">
  99. <div position="left" panelTitle="菜单">
  100. <div class="layout_content">
  101. <div class="accordition" style="width:400px; height:100%;">
  102. <a>设备树</a>
  103. <div class="main_box_tree">
  104. <div class="tree"><ul id="dept_tree" class="ztree"></ul></div>
  105. </div>
  106. <a>云台控制</a>
  107. <div class="main_box_tree">
  108. <div style="width:100%; height:100%;">
  109. <div class="fx_vc">
  110. <div class="fx_ob" id="f_one" onmouseup="PTZControl(5,1)" onmousedown="PTZControl(5,0)"></div>
  111. <div class="fx_ob" id="f_two" onmouseup="PTZControl(1,1)"onmousedown="PTZControl(1,0)"></div>
  112. <div class="fx_ob" id="f_three" onmouseup="PTZControl(7,1)"onmousedown="PTZControl(7,0)"></div>
  113. <div class="fx_ob" id="f_four" onmouseup="PTZControl(3,1)"onmousedown="PTZControl(3,0)"></div>
  114. <div class="fx_ob" id="f_five" onmouseup="PTZSit"onmousedown="PTZSit()"></div>
  115. <div class="fx_ob" id="f_six" onmouseup="PTZControl(4,1)"onmousedown="PTZControl(4,0)"></div>
  116. <div class="fx_ob" id="f_seven" onmouseup="PTZControl(6,1)"onmousedown="PTZControl(6,0)"></div>
  117. <div class="fx_ob" id="f_eight" onmouseup="PTZControl(2,1)"onmousedown="PTZControl(2,0)"></div>
  118. <div class="fx_ob" id="f_nine" onmouseup="PTZControl(8,1)"onmousedown="PTZControl(8,0)"></div>
  119. </div>
  120. <div class='y_steps'>
  121. <div class="step_text"><span>步长:</span></div>
  122. <div class="step_sel">
  123. <select id="steps" class="fr sel" >
  124. <option value="1">1</option>
  125. <option value="2">2</option>
  126. <option value="3">3</option>
  127. <option value="4">4</option>
  128. <option value="5">5</option>
  129. <option value="6">6</option>
  130. <option value="7">7</option>
  131. <option value="8">8</option>
  132. </select>
  133. </div>
  134. </div>
  135. <div class="yt_bj">
  136. <div class="bj">
  137. <div class="bj_plus v_left"><a class="add" onClick="PTZControl(15,0)"href="javascript:;"></a></div>
  138. <div class="bj_txt v_left">变倍</div>
  139. <div class="bj_mulit v_left"><a class="decrease" onClick="PTZControl(18,0)"href="javascript:;"></a></div>
  140. </div>
  141. <div class="bj">
  142. <div class='bj_plus v_left'><a class="add" onClick="PTZControl(16,0)"href="javascript:;"></a></div>
  143. <div class='bj_txt v_left'>变焦</div>
  144. <div class='bj_mulit v_left'><a class="decrease" onClick="PTZControl(19,0)"href="javascript:;"></a></div>
  145. </div>
  146. <div class="bj">
  147. <div class='bj_plus v_left'><a class="add" onClick="PTZControl(17,0)"href="javascript:;"></a></div>
  148. <div class='bj_txt v_left'>光圈</div>
  149. <div class='bj_mulit v_left'><a class="decrease" onClick="PTZControl(20,0)"href="javascript:;"></a></div>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. <a>高级控制</a>
  155. <div class="main_box_tree">
  156. <div style="width:100%; height:100%; ">
  157. <div class="video_id_box">
  158. <button class="fr spit_btn" style="margin-right:40px; " onclick="openVideo()">打开</button>
  159. <input type="text" id="vid" style="margin:7px 0; width:280px;" class="video_text clear_video_id" watermark="请输入视频ID" value="">
  160. </div>
  161. <div class="tr_btn">
  162. <button class="fr spit_btn" style=" " onclick="splic_video()">切屏</button>
  163. <div class="splic_select">
  164. <select id="steps_split" class="sel" style="margin:0 7px" selWidth="280">
  165. <option value="1">1</option>
  166. <option value="4">4</option>
  167. <option value="6">6</option>
  168. <option value="7">7</option>
  169. <option value="8">8</option>
  170. <option value="9">9</option>
  171. <option value="13">13</option>
  172. <option value="16">16</option>
  173. <option value="20">20</option>
  174. </select>
  175. </div>
  176. </div>
  177. <div class="tr_btn">
  178. <button class="fr spit_btn" style="min-width:89px; " onclick="closeVideo()">关闭</button>
  179. <button class="fr spit_btn" style="min-width:89px; " onclick="capturePicture()">抓图</button>
  180. <button class="fr spit_btn" style="min-width:89px; " onclick="startRecord()">录屏</button>
  181. <button class="fr spit_btn" style="min-width:89px; " onclick="stopRecord()">停止</button>
  182. </div>
  183. <div class="video_id_box">
  184. <input type="text" id="user_input" style="width:357px; margin:7px 0" class="video_text clear_video_id" watermark="请输入用户名" value="">
  185. <input type="password" id="pwd_input" style="width:280px; margin:7px 0" class="video_text clear_video_id" watermark="请输入密码" value="">
  186. <button class="fr spit_btn" style="margin-right:40px" onclick="login()">登录</button>
  187. <!-- <button class="fr spit_btn" style="margin-right:40px" onclick="exit()">退出</button> -->
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. </div>
  193. </div>
  194. <div position="center" style="">
  195. <object id='ocx' z-index='-1' width='100%' height='100%'
  196. classid='CLSID:902BD8F8-AB6F-4102-AA72-CFBB012F71B2'
  197. codebase='http://localhost:8080/nwyj/page/cockpit/ocx/reg.bat#version=1.0.0.0'
  198. onreadystatechange='iniocx()'>
  199. <param name='nWndNum' value="4" >
  200. </object>
  201. </div>
  202. </div>
  203. </body>
  204. </html>