index.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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>
  10. <%= webpackConfig.name %>
  11. </title>
  12. <!--[if lt IE 11]><script>window.location.href='html/ie.html';</script><![endif]-->
  13. <script>
  14. window.MathJax = {
  15. tex: {
  16. inlineMath: [
  17. ["$", "$"],
  18. ["\\(", "\\)"]
  19. ], //行内公式选择符
  20. displayMath: [
  21. ["$$", "$$"],
  22. ["\\[", "\\]"]
  23. ], //段内公式选择符
  24. autoload: {
  25. color: [],
  26. colorv2: ['color']
  27. },
  28. packages: { '[+]': ['noerrors', 'mathtools', 'ams'] }
  29. },
  30. options: {
  31. skipHtmlTags: ["script", "noscript", "style", "textarea", "pre", "code", "a"], //避开某些标签
  32. ignoreHtmlClass: 'tex2jax_ignore',
  33. processHtmlClass: 'tex2jax_process'
  34. },
  35. loader: {
  36. load: ['input/asciimath', '[tex]/noerrors', '[tex]/mathtools', '[tex]/ams']
  37. }
  38. };
  39. </script>
  40. <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
  41. <script async src="https://mingxuejingbang.oss-cn-beijing.aliyuncs.com/MathJaxFiles/3.2.0/es5/tex-svg-full.js"
  42. id="MathJax-script"></script>
  43. <!-- <script src="//cdn.bootcss.com/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
  44. <link rel="dns-prefetch" href="//cdn.mathjax.org" /> -->
  45. <style>
  46. html,
  47. body,
  48. #app {
  49. height: 100%;
  50. margin: 0px;
  51. padding: 0px;
  52. }
  53. .chromeframe {
  54. margin: 0.2em 0;
  55. background: #ccc;
  56. color: #000;
  57. padding: 0.2em 0;
  58. }
  59. #loader-wrapper {
  60. position: fixed;
  61. top: 0;
  62. left: 0;
  63. width: 100%;
  64. height: 100%;
  65. z-index: 999999;
  66. }
  67. #loader {
  68. display: block;
  69. position: relative;
  70. left: 50%;
  71. top: 50%;
  72. width: 150px;
  73. height: 150px;
  74. margin: -75px 0 0 -75px;
  75. border-radius: 50%;
  76. border: 3px solid transparent;
  77. border-top-color: #FFF;
  78. -webkit-animation: spin 2s linear infinite;
  79. -ms-animation: spin 2s linear infinite;
  80. -moz-animation: spin 2s linear infinite;
  81. -o-animation: spin 2s linear infinite;
  82. animation: spin 2s linear infinite;
  83. z-index: 1001;
  84. }
  85. #loader:before {
  86. content: "";
  87. position: absolute;
  88. top: 5px;
  89. left: 5px;
  90. right: 5px;
  91. bottom: 5px;
  92. border-radius: 50%;
  93. border: 3px solid transparent;
  94. border-top-color: #FFF;
  95. -webkit-animation: spin 3s linear infinite;
  96. -moz-animation: spin 3s linear infinite;
  97. -o-animation: spin 3s linear infinite;
  98. -ms-animation: spin 3s linear infinite;
  99. animation: spin 3s linear infinite;
  100. }
  101. #loader:after {
  102. content: "";
  103. position: absolute;
  104. top: 15px;
  105. left: 15px;
  106. right: 15px;
  107. bottom: 15px;
  108. border-radius: 50%;
  109. border: 3px solid transparent;
  110. border-top-color: #FFF;
  111. -moz-animation: spin 1.5s linear infinite;
  112. -o-animation: spin 1.5s linear infinite;
  113. -ms-animation: spin 1.5s linear infinite;
  114. -webkit-animation: spin 1.5s linear infinite;
  115. animation: spin 1.5s linear infinite;
  116. }
  117. @-webkit-keyframes spin {
  118. 0% {
  119. -webkit-transform: rotate(0deg);
  120. -ms-transform: rotate(0deg);
  121. transform: rotate(0deg);
  122. }
  123. 100% {
  124. -webkit-transform: rotate(360deg);
  125. -ms-transform: rotate(360deg);
  126. transform: rotate(360deg);
  127. }
  128. }
  129. @keyframes spin {
  130. 0% {
  131. -webkit-transform: rotate(0deg);
  132. -ms-transform: rotate(0deg);
  133. transform: rotate(0deg);
  134. }
  135. 100% {
  136. -webkit-transform: rotate(360deg);
  137. -ms-transform: rotate(360deg);
  138. transform: rotate(360deg);
  139. }
  140. }
  141. #loader-wrapper .loader-section {
  142. position: fixed;
  143. top: 0;
  144. width: 51%;
  145. height: 100%;
  146. background: #7171C6;
  147. z-index: 1000;
  148. -webkit-transform: translateX(0);
  149. -ms-transform: translateX(0);
  150. transform: translateX(0);
  151. }
  152. #loader-wrapper .loader-section.section-left {
  153. left: 0;
  154. }
  155. #loader-wrapper .loader-section.section-right {
  156. right: 0;
  157. }
  158. .loaded #loader-wrapper .loader-section.section-left {
  159. -webkit-transform: translateX(-100%);
  160. -ms-transform: translateX(-100%);
  161. transform: translateX(-100%);
  162. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  163. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  164. }
  165. .loaded #loader-wrapper .loader-section.section-right {
  166. -webkit-transform: translateX(100%);
  167. -ms-transform: translateX(100%);
  168. transform: translateX(100%);
  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 {
  173. opacity: 0;
  174. -webkit-transition: all 0.3s ease-out;
  175. transition: all 0.3s ease-out;
  176. }
  177. .loaded #loader-wrapper {
  178. visibility: hidden;
  179. -webkit-transform: translateY(-100%);
  180. -ms-transform: translateY(-100%);
  181. transform: translateY(-100%);
  182. -webkit-transition: all 0.3s 1s ease-out;
  183. transition: all 0.3s 1s ease-out;
  184. }
  185. .no-js #loader-wrapper {
  186. display: none;
  187. }
  188. .no-js h1 {
  189. color: #222222;
  190. }
  191. #loader-wrapper .load_title {
  192. font-family: 'Open Sans';
  193. color: #FFF;
  194. font-size: 19px;
  195. width: 100%;
  196. text-align: center;
  197. z-index: 9999999999999;
  198. position: absolute;
  199. top: 60%;
  200. opacity: 1;
  201. line-height: 30px;
  202. }
  203. #loader-wrapper .load_title span {
  204. font-weight: normal;
  205. font-style: italic;
  206. font-size: 13px;
  207. color: #FFF;
  208. opacity: 0.5;
  209. }
  210. </style>
  211. </head>
  212. <body>
  213. <div id="app">
  214. <!-- <div id="loader-wrapper">-->
  215. <!-- <div id="loader"></div>-->
  216. <!-- <div class="loader-section section-left"></div>-->
  217. <!-- <div class="loader-section section-right"></div>-->
  218. <!-- <div class="load_title">正在进入一铭小状元生涯志愿系统,请稍等</div>-->
  219. <!-- </div>-->
  220. </div>
  221. </body>
  222. </html>