index.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. <!DOCTYPE html>
  2. <html lang="zh-cmn-Hans">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <title>iTDM试验协同管理平台</title>
  8. <link rel="icon" href="<%= BASE_URL %>logo.png">
  9. <script src="<%= BASE_URL %>cdn/babel-polyfill/polyfill_7_2_5.js"></script>
  10. <!-- <script src="https://code.jquery.com/jquery-3.3.1.min.js?v=5.2.4" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  11. <script src="https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.jquery.js?v=5.2.4"></script>
  12. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.css?v=5.2.4"> -->
  13. <script type="text/javascript" src="<%= VUE_APP_ONLYOFFICE_URL %>/web-apps/apps/api/documents/api.js"></script>
  14. <style>
  15. html,
  16. body,
  17. #app {
  18. height: 100%;
  19. margin: 0px;
  20. padding: 0px;
  21. }
  22. .chromeframe {
  23. margin: 0.2em 0;
  24. background: #ccc;
  25. color: #000;
  26. padding: 0.2em 0;
  27. }
  28. #loader-wrapper {
  29. position: fixed;
  30. top: 0;
  31. left: 0;
  32. width: 100%;
  33. height: 100%;
  34. z-index: 999999;
  35. }
  36. #loader {
  37. display: block;
  38. position: relative;
  39. left: 50%;
  40. top: 50%;
  41. width: 120px;
  42. height: 120px;
  43. margin: -75px 0 0 -75px;
  44. border-radius: 50%;
  45. border: 3px solid transparent;
  46. /* COLOR 1 */
  47. border-top-color: #FFF;
  48. -webkit-animation: spin 2s linear infinite;
  49. /* Chrome, Opera 15+, Safari 5+ */
  50. -ms-animation: spin 2s linear infinite;
  51. /* Chrome, Opera 15+, Safari 5+ */
  52. -moz-animation: spin 2s linear infinite;
  53. /* Chrome, Opera 15+, Safari 5+ */
  54. -o-animation: spin 2s linear infinite;
  55. /* Chrome, Opera 15+, Safari 5+ */
  56. animation: spin 2s linear infinite;
  57. /* Chrome, Firefox 16+, IE 10+, Opera */
  58. z-index: 1001;
  59. }
  60. #loader:before {
  61. content: "";
  62. position: absolute;
  63. top: 5px;
  64. left: 5px;
  65. right: 5px;
  66. bottom: 5px;
  67. border-radius: 50%;
  68. border: 3px solid transparent;
  69. /* COLOR 2 */
  70. border-top-color: #FFF;
  71. -webkit-animation: spin 3s linear infinite;
  72. /* Chrome, Opera 15+, Safari 5+ */
  73. -moz-animation: spin 3s linear infinite;
  74. /* Chrome, Opera 15+, Safari 5+ */
  75. -o-animation: spin 3s linear infinite;
  76. /* Chrome, Opera 15+, Safari 5+ */
  77. -ms-animation: spin 3s linear infinite;
  78. /* Chrome, Opera 15+, Safari 5+ */
  79. animation: spin 3s linear infinite;
  80. /* Chrome, Firefox 16+, IE 10+, Opera */
  81. }
  82. #loader:after {
  83. content: "";
  84. position: absolute;
  85. top: 15px;
  86. left: 15px;
  87. right: 15px;
  88. bottom: 15px;
  89. border-radius: 50%;
  90. border: 3px solid transparent;
  91. border-top-color: #FFF;
  92. /* COLOR 3 */
  93. -moz-animation: spin 1.5s linear infinite;
  94. /* Chrome, Opera 15+, Safari 5+ */
  95. -o-animation: spin 1.5s linear infinite;
  96. /* Chrome, Opera 15+, Safari 5+ */
  97. -ms-animation: spin 1.5s linear infinite;
  98. /* Chrome, Opera 15+, Safari 5+ */
  99. -webkit-animation: spin 1.5s linear infinite;
  100. /* Chrome, Opera 15+, Safari 5+ */
  101. animation: spin 1.5s linear infinite;
  102. /* Chrome, Firefox 16+, IE 10+, Opera */
  103. }
  104. @-webkit-keyframes spin {
  105. 0% {
  106. -webkit-transform: rotate(0deg);
  107. /* Chrome, Opera 15+, Safari 3.1+ */
  108. -ms-transform: rotate(0deg);
  109. /* IE 9 */
  110. transform: rotate(0deg);
  111. /* Firefox 16+, IE 10+, Opera */
  112. }
  113. 100% {
  114. -webkit-transform: rotate(360deg);
  115. /* Chrome, Opera 15+, Safari 3.1+ */
  116. -ms-transform: rotate(360deg);
  117. /* IE 9 */
  118. transform: rotate(360deg);
  119. /* Firefox 16+, IE 10+, Opera */
  120. }
  121. }
  122. @keyframes spin {
  123. 0% {
  124. -webkit-transform: rotate(0deg);
  125. /* Chrome, Opera 15+, Safari 3.1+ */
  126. -ms-transform: rotate(0deg);
  127. /* IE 9 */
  128. transform: rotate(0deg);
  129. /* Firefox 16+, IE 10+, Opera */
  130. }
  131. 100% {
  132. -webkit-transform: rotate(360deg);
  133. /* Chrome, Opera 15+, Safari 3.1+ */
  134. -ms-transform: rotate(360deg);
  135. /* IE 9 */
  136. transform: rotate(360deg);
  137. /* Firefox 16+, IE 10+, Opera */
  138. }
  139. }
  140. #loader-wrapper .loader-section {
  141. position: fixed;
  142. top: 0;
  143. width: 51%;
  144. height: 100%;
  145. background: #49a9ee;
  146. /* Old browsers */
  147. z-index: 1000;
  148. -webkit-transform: translateX(0);
  149. /* Chrome, Opera 15+, Safari 3.1+ */
  150. -ms-transform: translateX(0);
  151. /* IE 9 */
  152. transform: translateX(0);
  153. /* Firefox 16+, IE 10+, Opera */
  154. }
  155. #loader-wrapper .loader-section.section-left {
  156. left: 0;
  157. }
  158. #loader-wrapper .loader-section.section-right {
  159. right: 0;
  160. }
  161. /* Loaded */
  162. .loaded #loader-wrapper .loader-section.section-left {
  163. -webkit-transform: translateX(-100%);
  164. /* Chrome, Opera 15+, Safari 3.1+ */
  165. -ms-transform: translateX(-100%);
  166. /* IE 9 */
  167. transform: translateX(-100%);
  168. /* Firefox 16+, IE 10+, Opera */
  169. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  170. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  171. }
  172. .loaded #loader-wrapper .loader-section.section-right {
  173. -webkit-transform: translateX(100%);
  174. /* Chrome, Opera 15+, Safari 3.1+ */
  175. -ms-transform: translateX(100%);
  176. /* IE 9 */
  177. transform: translateX(100%);
  178. /* Firefox 16+, IE 10+, Opera */
  179. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  180. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  181. }
  182. .loaded #loader {
  183. opacity: 0;
  184. -webkit-transition: all 0.3s ease-out;
  185. transition: all 0.3s ease-out;
  186. }
  187. .loaded #loader-wrapper {
  188. visibility: hidden;
  189. -webkit-transform: translateY(-100%);
  190. /* Chrome, Opera 15+, Safari 3.1+ */
  191. -ms-transform: translateY(-100%);
  192. /* IE 9 */
  193. transform: translateY(-100%);
  194. /* Firefox 16+, IE 10+, Opera */
  195. -webkit-transition: all 0.3s 1s ease-out;
  196. transition: all 0.3s 1s ease-out;
  197. }
  198. /* JavaScript Turned Off */
  199. .no-js #loader-wrapper {
  200. display: none;
  201. }
  202. .no-js h1 {
  203. color: #222222;
  204. }
  205. #loader-wrapper .load_title {
  206. font-family: 'Open Sans';
  207. color: #FFF;
  208. font-size: 14px;
  209. width: 100%;
  210. text-align: center;
  211. z-index: 9999999999999;
  212. position: absolute;
  213. top: 60%;
  214. opacity: 1;
  215. line-height: 30px;
  216. }
  217. #loader-wrapper .load_title span {
  218. font-weight: normal;
  219. font-style: italic;
  220. font-size: 14px;
  221. color: #FFF;
  222. opacity: 0.5;
  223. }
  224. /* 滚动条优化 start */
  225. ::-webkit-scrollbar{
  226. width:8px;
  227. height:8px;
  228. }
  229. ::-webkit-scrollbar-track{
  230. background: #f6f6f6;
  231. border-radius:2px;
  232. }
  233. ::-webkit-scrollbar-thumb{
  234. background: #cdcdcd;
  235. border-radius:2px;
  236. }
  237. ::-webkit-scrollbar-thumb:hover{
  238. background: #747474;
  239. }
  240. ::-webkit-scrollbar-corner {
  241. background: #f6f6f6;
  242. }
  243. /* 滚动条优化 end */
  244. </style>
  245. <!-- 全局配置 -->
  246. <script src="<%= BASE_URL %>static/config.js"></script>
  247. <script type="text/javascript">
  248. console.log('<%= VUE_APP_ONLYOFFICE_URL %>')
  249. </script>
  250. </head>
  251. <body>
  252. <div id="app">
  253. <div id="loader-wrapper">
  254. <div id="loader"></div>
  255. <div class="loader-section section-left"></div>
  256. <div class="loader-section section-right"></div>
  257. <div class="load_title">正在加载 iTDM试验协同管理平台,请耐心等待
  258. </div>
  259. </div>
  260. </div>
  261. </body>
  262. </html>