index.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <link rel="icon" href="<%= BASE_URL %>/logo.ico">
  22. <% if (process.env.NODE_ENV === 'production') { %>
  23. <script>
  24. !(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");
  25. </script>
  26. <% } %>
  27. <style>
  28. html,
  29. body,
  30. #app {
  31. height: 100%;
  32. margin: 0;
  33. padding: 0;
  34. }
  35. .winseaview-home {
  36. background-color: #303133;
  37. height: 100%;
  38. display: flex;
  39. flex-direction: column;
  40. }
  41. .winseaview-home__main {
  42. user-select: none;
  43. width: 100%;
  44. flex-grow: 1;
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. flex-direction: column;
  49. }
  50. .winseaview-home__footer {
  51. width: 100%;
  52. flex-grow: 0;
  53. text-align: center;
  54. padding: 1em 0;
  55. }
  56. .winseaview-home__footer > a {
  57. font-size: 12px;
  58. color: #ababab;
  59. text-decoration: none;
  60. }
  61. .winseaview-home__loading {
  62. height: 32px;
  63. width: 32px;
  64. margin-bottom: 20px;
  65. }
  66. .winseaview-home__title {
  67. color: #fff;
  68. font-size: 14px;
  69. margin-bottom: 10px;
  70. }
  71. .winseaview-home__sub-title {
  72. color: #ababab;
  73. font-size: 12px;
  74. }
  75. </style>
  76. </head>
  77. <body>
  78. <noscript>
  79. <strong>We're sorry but t1 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  80. </noscript>
  81. <div id="app">
  82. <div class="winseaview-home">
  83. <div class="winseaview-home__main">
  84. <img
  85. class="winseaview-home__loading"
  86. src="./img/loading-spin.svg"
  87. alt="loading"
  88. />
  89. <div class="winseaview-home__title">
  90. 正在加载资源
  91. </div>
  92. <div class="winseaview-home__sub-title d">
  93. 初次加载资源可能需要较多时间 请耐心等待
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. <!-- built files will be auto injected -->
  99. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV]) { %>
  100. <script src="<%= htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV][i] %>" charset="utf-8"></script>
  101. <% } %>
  102. </body>
  103. </html>