index.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. <script src="https://static.fuxicarbon.com/hs-cti/socket.io.min.js"></script>
  9. <script src="https://static.fuxicarbon.com/hs-cti/SIP.min.js"></script>
  10. <link rel="icon" href="/favicon.ico">
  11. <title>佳木斯智能语音客服</title>
  12. <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  13. <style>
  14. html,
  15. body,
  16. #app {
  17. height: 100%;
  18. margin: 0px;
  19. padding: 0px;
  20. }
  21. .chromeframe {
  22. margin: 0.2em 0;
  23. background: #ccc;
  24. color: #000;
  25. padding: 0.2em 0;
  26. }
  27. #loader-wrapper {
  28. position: fixed;
  29. top: 0;
  30. left: 0;
  31. width: 100%;
  32. height: 100%;
  33. z-index: 999999;
  34. }
  35. #loader {
  36. display: block;
  37. position: relative;
  38. left: 50%;
  39. top: 50%;
  40. width: 150px;
  41. height: 150px;
  42. margin: -75px 0 0 -75px;
  43. border-radius: 50%;
  44. border: 3px solid transparent;
  45. border-top-color: #FFF;
  46. -webkit-animation: spin 2s linear infinite;
  47. -ms-animation: spin 2s linear infinite;
  48. -moz-animation: spin 2s linear infinite;
  49. -o-animation: spin 2s linear infinite;
  50. animation: spin 2s linear infinite;
  51. z-index: 1001;
  52. }
  53. #loader:before {
  54. content: "";
  55. position: absolute;
  56. top: 5px;
  57. left: 5px;
  58. right: 5px;
  59. bottom: 5px;
  60. border-radius: 50%;
  61. border: 3px solid transparent;
  62. border-top-color: #FFF;
  63. -webkit-animation: spin 3s linear infinite;
  64. -moz-animation: spin 3s linear infinite;
  65. -o-animation: spin 3s linear infinite;
  66. -ms-animation: spin 3s linear infinite;
  67. animation: spin 3s linear infinite;
  68. }
  69. #loader:after {
  70. content: "";
  71. position: absolute;
  72. top: 15px;
  73. left: 15px;
  74. right: 15px;
  75. bottom: 15px;
  76. border-radius: 50%;
  77. border: 3px solid transparent;
  78. border-top-color: #FFF;
  79. -moz-animation: spin 1.5s linear infinite;
  80. -o-animation: spin 1.5s linear infinite;
  81. -ms-animation: spin 1.5s linear infinite;
  82. -webkit-animation: spin 1.5s linear infinite;
  83. animation: spin 1.5s linear infinite;
  84. }
  85. @-webkit-keyframes spin {
  86. 0% {
  87. -webkit-transform: rotate(0deg);
  88. -ms-transform: rotate(0deg);
  89. transform: rotate(0deg);
  90. }
  91. 100% {
  92. -webkit-transform: rotate(360deg);
  93. -ms-transform: rotate(360deg);
  94. transform: rotate(360deg);
  95. }
  96. }
  97. @keyframes spin {
  98. 0% {
  99. -webkit-transform: rotate(0deg);
  100. -ms-transform: rotate(0deg);
  101. transform: rotate(0deg);
  102. }
  103. 100% {
  104. -webkit-transform: rotate(360deg);
  105. -ms-transform: rotate(360deg);
  106. transform: rotate(360deg);
  107. }
  108. }
  109. #loader-wrapper .loader-section {
  110. position: fixed;
  111. top: 0;
  112. width: 51%;
  113. height: 100%;
  114. background: #7171C6;
  115. z-index: 1000;
  116. -webkit-transform: translateX(0);
  117. -ms-transform: translateX(0);
  118. transform: translateX(0);
  119. }
  120. #loader-wrapper .loader-section.section-left {
  121. left: 0;
  122. }
  123. #loader-wrapper .loader-section.section-right {
  124. right: 0;
  125. }
  126. .loaded #loader-wrapper .loader-section.section-left {
  127. -webkit-transform: translateX(-100%);
  128. -ms-transform: translateX(-100%);
  129. transform: translateX(-100%);
  130. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  131. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  132. }
  133. .loaded #loader-wrapper .loader-section.section-right {
  134. -webkit-transform: translateX(100%);
  135. -ms-transform: translateX(100%);
  136. transform: translateX(100%);
  137. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  138. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  139. }
  140. .loaded #loader {
  141. opacity: 0;
  142. -webkit-transition: all 0.3s ease-out;
  143. transition: all 0.3s ease-out;
  144. }
  145. .loaded #loader-wrapper {
  146. visibility: hidden;
  147. -webkit-transform: translateY(-100%);
  148. -ms-transform: translateY(-100%);
  149. transform: translateY(-100%);
  150. -webkit-transition: all 0.3s 1s ease-out;
  151. transition: all 0.3s 1s ease-out;
  152. }
  153. .no-js #loader-wrapper {
  154. display: none;
  155. }
  156. .no-js h1 {
  157. color: #222222;
  158. }
  159. #loader-wrapper .load_title {
  160. font-family: 'Open Sans';
  161. color: #FFF;
  162. font-size: 19px;
  163. width: 100%;
  164. text-align: center;
  165. z-index: 9999999999999;
  166. position: absolute;
  167. top: 60%;
  168. opacity: 1;
  169. line-height: 30px;
  170. }
  171. #loader-wrapper .load_title span {
  172. font-weight: normal;
  173. font-style: italic;
  174. font-size: 13px;
  175. color: #FFF;
  176. opacity: 0.5;
  177. }
  178. </style>
  179. </head>
  180. <body>
  181. <div id="app">
  182. <div id="loader-wrapper">
  183. <div id="loader"></div>
  184. <div class="loader-section section-left"></div>
  185. <div class="loader-section section-right"></div>
  186. <div class="load_title">正在加载系统资源,请耐心等待</div>
  187. </div>
  188. </div>
  189. <script type="module" src="/src/main.js"></script>
  190. </body>
  191. </html>