index.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <meta name="renderer" content="webkit">
  7. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  8. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  9. <title><%= webpackConfig.name %></title>
  10. <script src="./jquery-1.7.1.min.js"></script>
  11. <script src="./jsVideoPlugin-1.0.0.min.js"></script>
  12. <script src="./webVideoCtrl.js"></script>
  13. <script src="./static/webrtcstreamer.js" charset="utf-8"></script>
  14. <script src="./static/adapter.min.js" charset="utf-8"></script>
  15. <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  16. <style>
  17. html,
  18. body,
  19. #app {
  20. height: 100%;
  21. margin: 0px;
  22. padding: 0px;
  23. }
  24. .chromeframe {
  25. margin: 0.2em 0;
  26. background: #ccc;
  27. color: #000;
  28. padding: 0.2em 0;
  29. }
  30. #loader-wrapper {
  31. position: fixed;
  32. top: 0;
  33. left: 0;
  34. width: 100%;
  35. height: 100%;
  36. z-index: 999999;
  37. }
  38. #loader {
  39. display: block;
  40. position: relative;
  41. left: 50%;
  42. top: 50%;
  43. width: 180px;
  44. height: 180px;
  45. margin: -75px 0 0 -75px;
  46. border-radius: 50%;
  47. border: 3px solid transparent;
  48. border-top-color: #FFF;
  49. -webkit-animation: spin 2s linear infinite;
  50. -ms-animation: spin 2s linear infinite;
  51. -moz-animation: spin 2s linear infinite;
  52. -o-animation: spin 2s linear infinite;
  53. animation: spin 2s linear infinite;
  54. z-index: 1001;
  55. }
  56. #loader:before {
  57. content: "";
  58. position: absolute;
  59. top: 5px;
  60. left: 5px;
  61. right: 5px;
  62. bottom: 5px;
  63. border-radius: 50%;
  64. border: 3px solid transparent;
  65. border-top-color: #FFF;
  66. -webkit-animation: spin 3s linear infinite;
  67. -moz-animation: spin 3s linear infinite;
  68. -o-animation: spin 3s linear infinite;
  69. -ms-animation: spin 3s linear infinite;
  70. animation: spin 3s linear infinite;
  71. }
  72. #loader:after {
  73. content: "";
  74. position: absolute;
  75. top: 15px;
  76. left: 15px;
  77. right: 15px;
  78. bottom: 15px;
  79. border-radius: 50%;
  80. border: 3px solid transparent;
  81. border-top-color: #FFF;
  82. -moz-animation: spin 1.5s linear infinite;
  83. -o-animation: spin 1.5s linear infinite;
  84. -ms-animation: spin 1.5s linear infinite;
  85. -webkit-animation: spin 1.5s linear infinite;
  86. animation: spin 1.5s linear infinite;
  87. }
  88. @-webkit-keyframes spin {
  89. 0% {
  90. -webkit-transform: rotate(0deg);
  91. -ms-transform: rotate(0deg);
  92. transform: rotate(0deg);
  93. }
  94. 100% {
  95. -webkit-transform: rotate(360deg);
  96. -ms-transform: rotate(360deg);
  97. transform: rotate(360deg);
  98. }
  99. }
  100. @keyframes spin {
  101. 0% {
  102. -webkit-transform: rotate(0deg);
  103. -ms-transform: rotate(0deg);
  104. transform: rotate(0deg);
  105. }
  106. 100% {
  107. -webkit-transform: rotate(360deg);
  108. -ms-transform: rotate(360deg);
  109. transform: rotate(360deg);
  110. }
  111. }
  112. #loader-wrapper .loader-section {
  113. position: fixed;
  114. top: 0;
  115. width: 51%;
  116. height: 100%;
  117. /* background: #7171C6; */
  118. background: linear-gradient(to top,#c7f2b9,#aadae6);
  119. z-index: 1000;
  120. -webkit-transform: translateX(0);
  121. -ms-transform: translateX(0);
  122. transform: translateX(0);
  123. }
  124. #loader-wrapper .loader-section.section-left {
  125. left: 0;
  126. }
  127. #loader-wrapper .loader-section.section-right {
  128. right: 0;
  129. }
  130. .loaded #loader-wrapper .loader-section.section-left {
  131. -webkit-transform: translateX(-100%);
  132. -ms-transform: translateX(-100%);
  133. transform: translateX(-100%);
  134. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  135. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  136. }
  137. .loaded #loader-wrapper .loader-section.section-right {
  138. -webkit-transform: translateX(100%);
  139. -ms-transform: translateX(100%);
  140. transform: translateX(100%);
  141. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  142. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  143. }
  144. .loaded #loader {
  145. opacity: 0;
  146. -webkit-transition: all 0.3s ease-out;
  147. transition: all 0.3s ease-out;
  148. }
  149. .loaded #loader-wrapper {
  150. visibility: hidden;
  151. -webkit-transform: translateY(-100%);
  152. -ms-transform: translateY(-100%);
  153. transform: translateY(-100%);
  154. -webkit-transition: all 0.3s 1s ease-out;
  155. transition: all 0.3s 1s ease-out;
  156. }
  157. .no-js #loader-wrapper {
  158. display: none;
  159. }
  160. .no-js h1 {
  161. color: #222222;
  162. }
  163. #loader-wrapper .load_title {
  164. font-family: 'Open Sans';
  165. color: #72b88d ;
  166. font-size: 19px;
  167. width: 100%;
  168. text-align: center;
  169. z-index: 9999999999999;
  170. position: absolute;
  171. top: 70%;
  172. opacity: 1;
  173. line-height: 30px;
  174. }
  175. #loader-wrapper .load_title span {
  176. font-weight: normal;
  177. font-style: italic;
  178. font-size: 13px;
  179. color: #FFF;
  180. opacity: 0.5;
  181. }
  182. .loading {
  183. width: 100px;
  184. height: 100px;
  185. z-index: 1001;
  186. border-radius: 50%;
  187. position: relative;
  188. position: relative;
  189. left: 48%;
  190. top: 45%;
  191. }
  192. .loading .item {
  193. width: 100%;
  194. height: 100%;
  195. border-radius: 50%;
  196. position: absolute;
  197. }
  198. .loading .item:nth-child(1) {
  199. border-bottom: 7px solid #b2db9a;
  200. transform: rotateX(15deg) rotateY(-45deg);
  201. animation: rotate_one 1s linear infinite -0.8s;
  202. }
  203. .loading .item:nth-child(2) {
  204. border-bottom: 7px solid #e1f5b1;
  205. transform: rotateX(50deg) rotateY(10deg);
  206. animation: rotate_two 1s linear infinite -0.4s;
  207. }
  208. .loading .item:nth-child(3) {
  209. border-bottom: 7px solid #e2ffd9;
  210. transform: rotateX(35deg) rotateY(55deg);
  211. animation: rotate_three 1s linear infinite;
  212. }
  213. @keyframes rotate_one {
  214. to {
  215. transform: rotateX(15deg) rotateY(-45deg) rotateZ(360deg);
  216. }
  217. }
  218. @keyframes rotate_two {
  219. to {
  220. transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  221. }
  222. }
  223. @keyframes rotate_three {
  224. to {
  225. transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  226. }
  227. }
  228. </style>
  229. </head>
  230. <body>
  231. <div id="app">
  232. <div id="loader-wrapper">
  233. <!-- <div id="loader"></div> -->
  234. <div class="loading">
  235. <div class="item"></div>
  236. <div class="item"></div>
  237. <div class="item"></div>
  238. </div>
  239. <div class="loader-section section-left"></div>
  240. <div class="loader-section section-right"></div>
  241. <div class="load_title">加载中,请耐心等待...</div>
  242. </div>
  243. </div>
  244. </body>
  245. </html>