index.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. <% if (process.env.NODE_ENV === 'production') { %>
  14. <!-- 自动将HTTP请求升级成安全的HTTPS请求 -->
  15. <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
  16. <% } %>
  17. <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核,否则强制本机支持的最高版本IE内核,作用于IE浏览器 -->
  18. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  19. <link rel="manifest" href="<%= BASE_URL %>/manifest.json" />
  20. <!-- <link rel="icon" href="<%= BASE_URL %>/logo.ico"> -->
  21. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV]) { %>
  22. <link href="<%= htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV][i] %>" rel="stylesheet">
  23. <% } %>
  24. <title>易粮易运</title>
  25. <link rel="icon" href="<%= BASE_URL %>/logo.ico">
  26. <% if (process.env.NODE_ENV === 'production') { %>
  27. <!-- <script>
  28. !(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");
  29. </script> -->
  30. <% } %>
  31. <style>
  32. html,
  33. body,
  34. #app {
  35. height: 100%;
  36. margin: 0;
  37. padding: 0;
  38. }
  39. .winseaview-home {
  40. background-color: #303133;
  41. height: 100%;
  42. display: flex;
  43. flex-direction: column;
  44. }
  45. .winseaview-home__main {
  46. user-select: none;
  47. width: 100%;
  48. flex-grow: 1;
  49. display: flex;
  50. justify-content: center;
  51. align-items: center;
  52. flex-direction: column;
  53. }
  54. .winseaview-home__footer {
  55. width: 100%;
  56. flex-grow: 0;
  57. text-align: center;
  58. padding: 1em 0;
  59. }
  60. .winseaview-home__footer > a {
  61. font-size: 12px;
  62. color: #ababab;
  63. text-decoration: none;
  64. }
  65. .winseaview-home__loading {
  66. height: 32px;
  67. width: 32px;
  68. margin-bottom: 20px;
  69. }
  70. .winseaview-home__title {
  71. color: #fff;
  72. font-size: 14px;
  73. margin-bottom: 10px;
  74. }
  75. .winseaview-home__sub-title {
  76. color: #ababab;
  77. font-size: 12px;
  78. }
  79. </style>
  80. </head>
  81. <body>
  82. <noscript>
  83. <strong>We're sorry but t1 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  84. </noscript>
  85. <div id="app">
  86. <div class="winseaview-home">
  87. <div class="winseaview-home__main">
  88. <img
  89. class="winseaview-home__loading"
  90. src="./img/loading-spin.svg"
  91. alt="loading"
  92. />
  93. <div class="winseaview-home__title">
  94. 正在加载资源
  95. </div>
  96. <div class="winseaview-home__sub-title d">
  97. 初次加载资源可能需要较多时间 请耐心等待
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. <!-- built files will be auto injected -->
  103. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV]) { %>
  104. <script src="<%= htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV][i] %>" charset="utf-8"></script>
  105. <% } %>
  106. </body>
  107. </html>