index.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. <!-- 强制Chromium内核,作用于360浏览器、QQ浏览器等国产双核浏览器 -->
  9. <meta name="renderer" content="webkit" />
  10. <link rel="icon" href="<%= BASE_URL %>logo.ico">
  11. <!-- 强制Chromium内核,作用于其他双核浏览器 -->
  12. <meta name="force-rendering" content="webkit" />
  13. <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核,否则强制本机支持的最高版本IE内核,作用于IE浏览器 -->
  14. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  15. <link rel="manifest" href="<%= BASE_URL %>/manifest.json" />
  16. <link rel="icon" href="<%= BASE_URL %>logo.ico">
  17. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV]) { %>
  18. <link href="<%= htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV][i] %>" rel="stylesheet">
  19. <% } %>
  20. <title>易粮易运</title>
  21. <% if (process.env.NODE_ENV === 'production') { %>
  22. <script>
  23. !(function(c,i,e,b){var h = i.createElement("script");var f = i.getElementsByTagName("script")[0];h.type = "text/javascript";h.crossorigin = true;h.onload = function(){try {c[b]||(c[b] = new c.wpkReporter({bid: 'qj3rmxes-10jz7agi',spa: true, plugins: []}));c[b].installAll();} catch (e) {console.error('init wpkReporter fail', e);}};f.parentNode.insertBefore(h, f);h.src = e})(window, document, "https://g.alicdn.com/woodpeckerx/jssdk??wpkReporter.js", "__wpk");
  24. </script>
  25. <% } %>
  26. <style>
  27. html,
  28. body,
  29. #app {
  30. height: 100%;
  31. margin: 0;
  32. padding: 0;
  33. }
  34. .winseaview-home {
  35. background-color: #303133;
  36. height: 100%;
  37. display: flex;
  38. flex-direction: column;
  39. }
  40. .winseaview-home__main {
  41. user-select: none;
  42. width: 100%;
  43. flex-grow: 1;
  44. display: flex;
  45. justify-content: center;
  46. align-items: center;
  47. flex-direction: column;
  48. }
  49. .winseaview-home__footer {
  50. width: 100%;
  51. flex-grow: 0;
  52. text-align: center;
  53. padding: 1em 0;
  54. }
  55. .winseaview-home__footer > a {
  56. font-size: 12px;
  57. color: #ababab;
  58. text-decoration: none;
  59. }
  60. .winseaview-home__loading {
  61. height: 32px;
  62. width: 32px;
  63. margin-bottom: 20px;
  64. }
  65. .winseaview-home__title {
  66. color: #fff;
  67. font-size: 14px;
  68. margin-bottom: 10px;
  69. }
  70. .winseaview-home__sub-title {
  71. color: #ababab;
  72. font-size: 12px;
  73. }
  74. </style>
  75. </head>
  76. <body>
  77. <noscript>
  78. <strong>We're sorry but t1 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  79. </noscript>
  80. <div id="app">
  81. <div class="winseaview-home">
  82. <div class="winseaview-home__main">
  83. <img
  84. class="winseaview-home__loading"
  85. src="./img/loading-spin.svg"
  86. alt="loading"
  87. />
  88. <div class="winseaview-home__title">
  89. 正在加载资源
  90. </div>
  91. <div class="winseaview-home__sub-title d">
  92. 初次加载资源可能需要较多时间 请耐心等待
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. <!-- built files will be auto injected -->
  98. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV]) { %>
  99. <script src="<%= htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV][i] %>" charset="utf-8"></script>
  100. <% } %>
  101. </body>
  102. </html>