index.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  7. <link rel="icon" href="favicon.ico" type="image/x-icon">
  8. <title>DataRoom大屏设计器</title>
  9. <!-- 使用CDN的JS文件 -->
  10. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
  11. <script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
  12. <% } %>
  13. <style>
  14. html,
  15. body,
  16. #app {
  17. height: 100%;
  18. margin: 0px;
  19. padding: 0px;
  20. }
  21. #loader-wrapper {
  22. position: fixed;
  23. top: 0;
  24. left: 0;
  25. width: 100%;
  26. height: 100%;
  27. z-index: 99999;
  28. background-color: #151a26;
  29. }
  30. #loader-wrapper .loader-box {
  31. position: fixed;
  32. left: calc(50% - 250px);
  33. top: calc(50% - 100px);
  34. margin: 0 auto;
  35. width: 500px;
  36. height: 200px;
  37. text-align: center;
  38. vertical-align: center;
  39. font-weight: bold;
  40. color: #87888E;
  41. font-size: 35px;
  42. }
  43. #loader-wrapper .loader-box>span {
  44. opacity: 0.4;
  45. display: inline-block;
  46. animation: bouncingLoader 1s infinite alternate;
  47. }
  48. #loader-wrapper .loader-box>span:nth-child(2) {
  49. animation-delay: 0.1s;
  50. }
  51. #loader-wrapper .loader-box>span:nth-child(3) {
  52. animation-delay: 0.2s;
  53. }
  54. #loader-wrapper .loader-box>span:nth-child(4) {
  55. animation-delay: 0.3s;
  56. }
  57. #loader-wrapper .loader-box>span:nth-child(5) {
  58. animation-delay: 0.4s;
  59. }
  60. #loader-wrapper .loader-box>span:nth-child(6) {
  61. animation-delay: 0.5s;
  62. }
  63. #loader-wrapper .loader-box>span:nth-child(7) {
  64. animation-delay: 0.6s;
  65. }
  66. @keyframes bouncingLoader {
  67. 0% {
  68. transform: translateY(0);
  69. }
  70. 50% {
  71. transform: translateY(25px);
  72. }
  73. 100% {
  74. transform: translateY(0);
  75. }
  76. }
  77. #loader-wrapper .load_title {
  78. font-weight: bold;
  79. z-index: 1002;
  80. position: absolute;
  81. top: 50%;
  82. margin-top: 15px;
  83. color: #87888E;
  84. font-size: 18px;
  85. width: 100%;
  86. height: 30px;
  87. text-align: center;
  88. opacity: 0.4;
  89. line-height: 30px;
  90. }
  91. .CodeMirror-hints {
  92. z-index: 9999 !important
  93. }
  94. .CodeMirror-lint-tooltip {
  95. z-index: 9999 !important
  96. }
  97. </style>
  98. <script
  99. src='<%= process.env.VUE_APP_HISTORY === "y" ? process.env.VUE_APP_BASE +"/config/starter.js" : "config/starter.js" %>'>
  100. </script>
  101. <script
  102. src='<%= process.env.VUE_APP_HISTORY === "y" ? process.env.VUE_APP_BASE +"/config/index-" + process.env.NODE_ENV + ".js" : "config/index-" + process.env.NODE_ENV + ".js" %>'>
  103. </script>
  104. </head>
  105. <body>
  106. <noscript>
  107. <strong>We're sorry but <%= webpackConfig.name %> doesn't work properly without JavaScript enabled. Please enable it
  108. to continue.</strong>
  109. </noscript>
  110. <div id="loader-wrapper">
  111. <div class="loader-box">
  112. <span>DataRoom</span>
  113. <span>大</span>
  114. <span>屏</span>
  115. <span>设</span>
  116. <span>计</span>
  117. <span>器</span>
  118. </div>
  119. <div class="load_title">加载中…</div>
  120. </div>
  121. <div id="app" >
  122. </div>
  123. <!-- built files will be auto injected -->
  124. </body>
  125. </html>